Skip to content

Instantly share code, notes, and snippets.

@16892434
Forked from vfarcic/minikube-istio.sh
Created July 27, 2022 06:49
Show Gist options
  • Save 16892434/489c8af042aa499ad518c392cc283e4a to your computer and use it in GitHub Desktop.
Save 16892434/489c8af042aa499ad518c392cc283e4a to your computer and use it in GitHub Desktop.
# 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