update kubedns add-on

This commit is contained in:
Kelsey Hightower
2016-09-11 06:20:02 -07:00
parent fdec4174ba
commit 608b4e5439
3 changed files with 23 additions and 25 deletions

View File

@@ -7,10 +7,10 @@ In this lab you will deploy the DNS add-on which is required for every Kubernete
## Cluster DNS Add-on
### Create the `skydns` service:
### Create the `kubedns` service:
```
kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-the-hard-way/master/skydns-svc.yaml
kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-the-hard-way/master/services/kubedns.yaml
```
#### Verification
@@ -23,10 +23,10 @@ NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns 10.32.0.10 <none> 53/UDP,53/TCP 1m
```
### Create the `skydns` replication controller:
### Create the `kubedns` deployment:
```
kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-the-hard-way/master/skydns-rc.yaml
kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-the-hard-way/master/deployments/kubedns.yaml
```
#### Verification
@@ -38,4 +38,4 @@ kubectl --namespace=kube-system get pods
NAME READY STATUS RESTARTS AGE
kube-dns-v18-79maa 3/3 Running 0 41s
kube-dns-v18-bcs1f 3/3 Running 0 41s
```
```