add dns add-on lab

This commit is contained in:
Kelsey Hightower
2016-07-09 08:16:09 -07:00
parent ec02cebbc8
commit 0c1f22c556
7 changed files with 20 additions and 2 deletions

16
docs/08-dns-addon.md Normal file
View File

@@ -0,0 +1,16 @@
# Deploying the DNS Add-on
In this lab you will deploy the DNS add-on which is required for every Kubernetes cluster. Without the DNS add-on the following things will not work:
* DNS based service discovery
* DNS lookups from containers running in pods
## Deploy the Cluster DNS Add-on
```
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/skydns-rc.yaml
```