mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-07-27 22:23:54 +03:00
add dns add-on lab
This commit is contained in:
16
docs/08-dns-addon.md
Normal file
16
docs/08-dns-addon.md
Normal 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
|
||||
```
|
Reference in New Issue
Block a user