c12s-kubespray/examples/kubernetes/external-nginx
Aleksandr Didenko 39dd4c1aaa New playbooks for k8s service and examples
- kubedns moved to playbooks dir
- new ansible playbooks added for kubedash and kube-dashboard
- examples for k8s deployments and services added
2016-06-22 18:43:39 +02:00
..
nginx-backends.yaml New playbooks for k8s service and examples 2016-06-22 18:43:39 +02:00
nginx-frontend.yaml New playbooks for k8s service and examples 2016-06-22 18:43:39 +02:00
README.md New playbooks for k8s service and examples 2016-06-22 18:43:39 +02:00

Nginx example with external IPs

  • Edit nginx-frontend.yaml and update externalIPs to the list of external IPs of your k8s minions

  • Deploy:

kubectl create -f nginx-backends.yaml
kubectl create -f nginx-frontend.yaml
  • Check:
curl $ANY_MINION_EXTERNAL_IP