mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-24 16:01:23 -03:30
- kubedns moved to playbooks dir - new ansible playbooks added for kubedash and kube-dashboard - examples for k8s deployments and services added
19 lines
320 B
Markdown
19 lines
320 B
Markdown
Nginx example with external IPs
|
|
===============================
|
|
|
|
* Edit `nginx-frontend.yaml` and update `externalIPs` to the list of external IPs of your k8s minions
|
|
|
|
* Deploy:
|
|
|
|
```bash
|
|
kubectl create -f nginx-backends.yaml
|
|
kubectl create -f nginx-frontend.yaml
|
|
```
|
|
|
|
* Check:
|
|
|
|
```bash
|
|
curl $ANY_MINION_EXTERNAL_IP
|
|
```
|
|
|