mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Address review comments
This commit is contained in:
@@ -195,7 +195,7 @@ started the Kubernetes pod.
|
|||||||
|
|
||||||
## Launching kube-dns
|
## Launching kube-dns
|
||||||
|
|
||||||
Kube-dns is an addon for Kubernetes which adds service discovery to the cluster. For a detailed explanation see [DNS in Kubernetes][4].
|
Kube-dns is an addon for Kubernetes which adds DNS-based service discovery to the cluster. For a detailed explanation see [DNS in Kubernetes][4].
|
||||||
|
|
||||||
The kube-dns addon runs as a pod inside the cluster. The pod consists of three co-located containers:
|
The kube-dns addon runs as a pod inside the cluster. The pod consists of three co-located containers:
|
||||||
- a local etcd instance
|
- a local etcd instance
|
||||||
@@ -267,7 +267,7 @@ Then start the pod:
|
|||||||
kubectl create -f busybox.yaml
|
kubectl create -f busybox.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
When the pod is up and running, start a lookup:
|
When the pod is up and running, start a lookup for the Kubernetes master service, made available on 10.10.10.1 by default:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl exec busybox -- nslookup kubernetes
|
kubectl exec busybox -- nslookup kubernetes
|
||||||
|
Reference in New Issue
Block a user