cloudpakforapplications-appmod
workshop-10-01-2020
workshop-10-01-2020
  • Introduction
  • Setup / Pre-work
    • Cloud Workshop + Cloud Shell Setup Instructions
  • Day 1
    • Lab: Kubernetes 101
      • Lab 1 - Deploy Application
      • Lab 2 - Scale Application
      • Lab 3 - Multi-tier Application
    • Lab: Helm 101
      • Setup Helm
      • Lab 1 - Deploy Application
      • Lab 2 - Update Application
      • Lab 3 - Revisions
      • Lab 4 - Helm Repositories
    • Lab: Jenkins and Kubernetes
  • Day 2
    • Lab: Deploy Microservices on IKS
    • Lab: Kubernetes Extensions
      • Access Cognitive Class
      • Setup Tools
      • Custom Resources and Operators
    • Lab: Istio 101
      • Setup Istio
      • Lab 1 - Installing Istio
      • Lab 2 - Deploying Guestbook Application
      • Lab 3 - Expose the Service Mesh with Istio Ingress Gateway
      • Lab 4 - Perform Traffic Management
  • Resources
    • IBM Developer
Powered by GitBook
On this page

Was this helpful?

  1. Day 2
  2. Lab: Istio 101

Lab 1 - Installing Istio

We will be installing Istio using the Istio Operator. The Istio operator will manage the installation for you instead of you manually installing, upgrading, and uninstalling Istio on your cluster.

  1. Download the istioctl CLI and add it to your PATH:

    curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.5.6 sh -
    export PATH=$PWD/istio-1.5.6/bin:$PATH
  2. Deploy the Istio operator:

     istioctl operator init
  3. Install the Istio demo configuration profile using the operator:

    $ kubectl create ns istio-system
    $ kubectl apply -f - <<EOF 
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    metadata:
        namespace: istio-system
        name: example-istiocontrolplane
        spec:
            profile: demo
    EOF
  4. The install will take just a couple minutes. Give the operator a few minutes to start installing the pods in the following command. Verify the installation is complete by checking for the pods in the istio-system namespace.

     $ kubectl get pods -n istio-system
     NAME                                   READY   STATUS    RESTARTS   AGE
     grafana-5cc7f86765-xzrxj               1/1     Running   0          17m
     istio-egressgateway-866795b5d7-s8dlp   1/1     Running   0          17m
     istio-ingressgateway-f476fdd5-pwnrz    1/1     Running   0          17m
     istio-tracing-8584b4d7f9-54rxg         1/1     Running   0          16m
     istiod-6684498666-ptktr                1/1     Running   0          17m
     kiali-696bb665-bcbv8                   1/1     Running   0          16m
     prometheus-b665549dc-h69cd             2/2     Running   0          16m

    Before you continue, make sure all the pods are deployed and either in the Running state.

  5. Check the version of your Istio:

     istioctl version

    Sample output:

     client version: 1.5.6
     control plane version: 1.5.6
     data plane version: 1.5.6 (4 proxies)

    Congratulations! You successfully installed Istio into your cluster.

PreviousSetup IstioNextLab 2 - Deploying Guestbook Application

Last updated 4 years ago

Was this helpful?