mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-22 14:26:27 +00:00
1) When introducing "kubectl describe", we ask people to look at "kubectl describe node node1", which shows them a bunch of pods. This makes it easier to contrast with the (empty) output of "kubectl get pods" later. 2) Then, instead of going straight to "-n kube-system", we introduce "--all-namespaces" to show pods across all namespaces. Of course we also mention "-n" and we also explain when these flags can be used. 3) Finally, I rewrote the section about kube-public, because it was misleading. It pointed at the Secret in kube-public, but that Secret merely corresponds to the token automatically created for the default ServiceAccount in that namespace. Instead, it's more relevant to look at the ConfigMap cluster-info, which contains a kubeconfig data piece. The last item gives us an opportunity to talk to the API with curl, because that cluster-info ConfigMap is a public resource.