From 6514c4a7765e1463566154addc7ca9093b9caa18 Mon Sep 17 00:00:00 2001 From: Sanskarzz Date: Sat, 9 Mar 2024 17:25:15 +0530 Subject: [PATCH] feat: script to install Istio on Kind --- install-istio.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 install-istio.sh diff --git a/install-istio.sh b/install-istio.sh new file mode 100755 index 0000000..6a1b2d1 --- /dev/null +++ b/install-istio.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Create Kind cluster +kind create cluster + +# Add Helm repo +helm repo add istio https://istio-release.storage.googleapis.com/charts +helm repo update + +# Create istio-system namespace +kubectl create namespace istio-system + +# Install Istio components +helm install istio-base istio/base -n istio-system +helm install istiod istio/istiod -n istio-system --wait +helm install istio-ingress istio/gateway -n istio-system + +# Label default namespace to inject sidecar automatically +kubectl label namespace default istio-injection=enabled \ No newline at end of file