Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Last active July 27, 2022 06:49
Show Gist options
  • Save vfarcic/a5870806ae6f21de271bf9214e523b53 to your computer and use it in GitHub Desktop.
Save vfarcic/a5870806ae6f21de271bf9214e523b53 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