Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ReSearchITEng/d81e54b93620966e69f5883661477a6f to your computer and use it in GitHub Desktop.
Save ReSearchITEng/d81e54b93620966e69f5883661477a6f to your computer and use it in GitHub Desktop.
k8s install ingress using helm charts
```shell
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
helm init
helm delete --purge nginx-ingress
helm install --name nginx-ingress --namespace kube-system stable/nginx-ingress --set rbac.create=true --set controller.stats.enabled=true --set controller.service.type=NodePort --set controller.service.nodePorts.http=32080 --set controller.service.nodePorts.https=32443 --set controller.stats.enabled=true --set controller.service.externalTrafficPolicy=Local
```
#--set controller.service.externalIPs=127.0.0.1
stats&metrics: curl http://localhost:8080/nginx_status/format/json
---
`kubectl create -f https://raw.githubusercontent.com/coreos/flannel/v0.10.0/Documentation/kube-flannel.yml`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment