Files
cloudy/cluster/test/readme.md
T

31 lines
870 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# test stack
```bash
minikube start
k create ns test
kubectl config set-context --current --namespace=test
# kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx --create-namespace
minikube addons enable ingress
k apply -f test
minikube ip
minikube tunnel
# Wait for ingress address
# kubectl get ingress
# NAME CLASS HOSTS ADDRESS PORTS AGE
# example-ingress nginx * <your_ip_here> 80 5m45s
# Note for Docker Desktop Users:
# To get ingress to work youll need to open a new terminal window and run minikube tunnel and in the following step use 127.0.0.1 in place of <ip_from_above>.
minikube delete --all --purge
```