Installing Istio using Helm

Let's perform the following steps to install Istio:

  1. Create the Istio CRDs that are required before we can deploy Istio:
$ helm install install/kubernetes/helm/istio-init --name istio-init 
--namespace istio-system
  1. Install Istio with the default configuration. This will deploy the Istio core components, that is, istio-citadel, istio-galley, istio-ingressgateway, istio-pilot, istio-policy, istio-sidecar-injector, and istio-telemetry:
$ helm install install/kubernetes/helm/istio --name istio 
--namespace istio-system
  1. Enable automatic sidecar injection by labeling the namespace where you will run your applications. In this recipe, we will be using the default namespace:
$ kubectl label namespace default istio-injection=enabled

To be able to get Istio functionality for your application, the pods need to run an Istio sidecar proxy. The preceding command will automatically inject the Istio sidecar. As an alternative, you can find the instructions for manually adding Istio sidecars to your pods using the istioctl command in the Installing the Istio sidecar instructions link provided in the See also section. 

    ..................Content has been hidden....................

    You can't read the all page of ebook, please click here login for view all page.
    Reset
    18.221.126.56