diff --git a/deploy/istio-v1alpha3/README.md b/deploy/istio-v1alpha3/README.md new file mode 100644 index 0000000..e259e89 --- /dev/null +++ b/deploy/istio-v1alpha3/README.md @@ -0,0 +1,59 @@ +# Istio + +### Install + +Download latest release: + +```bash +curl -L https://git.io/getLatestIstio | sh - +``` + +Add the istioctl client to your PATH: + +```bash +cd istio-0.7.1 +export PATH=$PWD/bin:$PATH +``` + +Install Istio services without enabling mutual TLS authentication: + +```bash +kubectl apply -f install/kubernetes/istio.yaml +``` + +### Setup automatic sidecar injection + +Generate certs: + +```bash +./install/kubernetes/webhook-create-signed-cert.sh \ + --service istio-sidecar-injector \ + --namespace istio-system \ + --secret sidecar-injector-certs +``` + +Install the sidecar injection configmap: + +```bash +kubectl apply -f install/kubernetes/istio-sidecar-injector-configmap-release.yaml +``` + +Set the caBundle in the webhook install YAML that the Kubernetes api-server uses to invoke the webhook: + +```bash +cat install/kubernetes/istio-sidecar-injector.yaml | \ + ./install/kubernetes/webhook-patch-ca-bundle.sh > \ + install/kubernetes/istio-sidecar-injector-with-ca-bundle.yaml +``` + +Install the sidecar injector webhook: + +```bash +kubectl apply -f install/kubernetes/istio-sidecar-injector-with-ca-bundle.yaml +``` + +Label the default namespace with istio-injection=enabled: + +```bash +kubectl label namespace default istio-injection=enabled +```