-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: script to install Istio on Kind
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |