Created
September 12, 2016 17:05
-
-
Save kadel/14fb8e6c5ff334e5a635ccd74e8ed1a0 to your computer and use it in GitHub Desktop.
deploy ingress controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl --namespace=kube-system create -f https://raw.githubusercontent.com/kubernetes/contrib/master/ingress/controllers/nginx/examples/default-backend.yaml | |
| kubectl --namespace=kube-system expose rc default-http-backend --port=80 --target-port=8080 --name=default-http-backend | |
| wget https://gist.githubusercontent.com/kadel/4a6d81395418fc36df9ff0f28be61c4e/raw/df04199181fedd4c3e8f2f981faa03fade84df0e/nginx.tmpl | |
| kubectl --namespace=kube-system create configmap nginx-template --from-file=nginx.tmpl | |
| kubectl --namespace=kube-system create -f https://github.com/kubernetes/contrib/raw/master/ingress/controllers/nginx/examples/custom-template/custom-template.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment