-
-
Save 16892434/489c8af042aa499ad518c392cc283e4a to your computer and use it in GitHub Desktop.
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
# Source: https://gist.github.com/a5870806ae6f21de271bf9214e523b53 | |
################## | |
# Create Cluster # | |
################## | |
minikube start --memory 6g --cpus 4 | |
################# | |
# Install Istio # | |
################# | |
istioctl manifest install \ | |
--skip-confirmation | |
export INGRESS_PORT=$(kubectl \ | |
--namespace istio-system \ | |
get service istio-ingressgateway \ | |
--output jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}') | |
export INGRESS_HOST=$(minikube ip):$INGRESS_PORT | |
echo $INGRESS_HOST | |
################### | |
# Destroy Cluster # | |
################### | |
minikube delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment