1 # Scripts to Install Docker, Kubernetes, Helm and Istio on Ubuntu
3 ## Create k8s master node via kubeadmin
4 `1_install_k8s_master.sh`
6 ## Create k8s work node via kubeadmin
7 `2_install_k8s_minion.sh`
9 ## Install Istio via helm
12 ## Lable the namespaces in which you want to enable auto sidecar injection
13 `kubectl label namespace default istio-injection=enabled`
16 Sidecar auto injection is disabled, so the sidecar injector will not inject the sidecar into pods by default. Add the sidecar.istio.io/inject annotation with value true to the pod template spec to enable injection.
18 The following example uses the sidecar.istio.io/inject annotation to enable sidecar injection.
20 apiVersion: extensions/v1beta1
28 sidecar.istio.io/inject: "true"
33 command: ["/bin/sleep","infinity"]
36 You can enable sidecar auto injection by setting the injection policy to 'enabled' at line 835 of istio.yaml.
41 825 name: istio-sidecar-injector
42 826 namespace: istio-system
45 829 chart: istio-0.8.0
46 830 release: RELEASE-NAME
48 832 istio: sidecar-injector
54 838 - name: istio-init
55 839 image: docker.io/istio/proxy_init:0.8.0
58 For more information on Istio integration, refer to:
60 - [Manage ONAP Microservices with Istio Service Mesh](https://wiki.onap.org/display/DW/Manage+ONAP+Microservices+with+Istio+Service+Mesh)