Clarify kube-public; define kube-system

This commit is contained in:
Bridget Kromhout
2018-02-27 16:31:36 -06:00
parent 89ab66335f
commit f61d61223d

View File

@@ -212,6 +212,8 @@ The error that we see is expected: the Kubernetes API requires authentication.
*Ding ding ding ding ding!*
`kube-system`: "The namespace for objects created by the Kubernetes system"
---
## What are all these pods?
@@ -233,3 +235,34 @@ The error that we see is expected: the Kubernetes API requires authentication.
- the pods with a name ending with `-node1` are the master components
<br/>
(they have been specifically "pinned" to the master node)
---
## What about `kube-public`?
.exercise[
- List the pods in the `kube-system` namespace:
```bash
kubectl -n kube-public get pods
```
]
--
* Maybe it doesn't have pods, but what secrets is `kube-public` keeping?
--
.exercise[
- List the secrets in the `kube-public` namespace:
```bash
kubectl -n kube-public get secrets
```
]
--
- `kube-public` is created by kubeadm & [used for security bootstrapping](http://blog.kubernetes.io/2017/01/stronger-foundation-for-creating-and-managing-kubernetes-clusters.html)