Lansing DevOps Meetup
March 29th, 2021
As administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
minikube start --kubernetes-version='v1.18.2' --memory='5gb' --disk-size='20gb'
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/cloud/deploy.yaml
k3d cluster create shipa-local --agents 3 --servers 3 --k3s-server-arg '--no-deploy servicelb'
NAMESPACE=shipa-system
kubectl create namespace $NAMESPACE --dry-run=client -o yaml | kubectl apply -f -
helm repo add shipa-charts https://shipa-charts.storage.googleapis.com
helm install shipa shipa-charts/shipa -n $NAMESPACE --timeout=1000s --set 'auth.adminUser=admin@shipa.io' --set 'auth.adminPassword=SuperS3cret!'
It is normal for this to take a couple minutes... it's doing a lot...
shipa app deploy --app crud-api ${WINHOME}/source/repos/brendon-k8s-demo/app/api/
# Optionally: --steps=5 --step-interval=30s --step-weight=20