mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-07-27 22:23:54 +03:00
update kubedns add-on
This commit is contained in:
@@ -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
|
||||
```
|
||||
```
|
||||
|
Reference in New Issue
Block a user