From 8ba5d6d736b888cff2af25b154b8a848d5ffda80 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Mon, 16 Jul 2018 13:32:53 -0700 Subject: [PATCH 1/5] This info isn't shown anymore by kubectl get --- slides/kube/concepts-k8s.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/kube/concepts-k8s.md b/slides/kube/concepts-k8s.md index bcc9ffb3..95a2b7d4 100644 --- a/slides/kube/concepts-k8s.md +++ b/slides/kube/concepts-k8s.md @@ -239,7 +239,7 @@ Yes! - namespace (more-or-less isolated group of things) - secret (bundle of sensitive data to be passed to a container) - And much more! (We can see the full list by running `kubectl get`) + And much more! (We can see the full list by running `kubectl api-resources`) --- From 8e9991a860a31307c9458c45db922b1211865a0e Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Mon, 16 Jul 2018 13:38:28 -0700 Subject: [PATCH 2/5] Switching from `get` to use kubectl api-resources --- slides/kube/kubectlget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/kube/kubectlget.md b/slides/kube/kubectlget.md index f910dfb5..2973ad6b 100644 --- a/slides/kube/kubectlget.md +++ b/slides/kube/kubectlget.md @@ -83,7 +83,7 @@ - `kubectl` has pretty good introspection facilities -- We can list all available resource types by running `kubectl get` +- We can list all available resource types by running `kubectl api-resources` (this used to be `kubectl get`) - We can view details about a resource with: ```bash From 8af5a10407bb7df4f2c3ac5ce0f90e2d9c8ca3e9 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Mon, 16 Jul 2018 13:45:26 -0700 Subject: [PATCH 3/5] coredns instead of kube-dns --- slides/kube/kubectlget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/kube/kubectlget.md b/slides/kube/kubectlget.md index 2973ad6b..8098e788 100644 --- a/slides/kube/kubectlget.md +++ b/slides/kube/kubectlget.md @@ -224,7 +224,7 @@ The `kube-system` namespace is used for the control plane. - `kube-controller-manager` and `kube-scheduler` are other master components -- `kube-dns` is an additional component (not mandatory but super useful, so it's there) +- `coredns` provides DNS-based service discovery ([replacing kube-dns as of 1.11](https://kubernetes.io/blog/2018/07/10/coredns-ga-for-kubernetes-cluster-dns/)) - `kube-proxy` is the (per-node) component managing port mappings and such From 29c1bc47d4d48403032af5338d429feac2d8bc8d Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Mon, 16 Jul 2018 13:53:27 -0700 Subject: [PATCH 4/5] Replace kube-dns with CoreDNS --- slides/kube/kubectlexpose.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slides/kube/kubectlexpose.md b/slides/kube/kubectlexpose.md index 850b678c..7da43220 100644 --- a/slides/kube/kubectlexpose.md +++ b/slides/kube/kubectlexpose.md @@ -6,7 +6,7 @@ - If we want to connect to our pod(s), we need to create a *service* -- Once a service is created, `kube-dns` will allow us to resolve it by name +- Once a service is created, CoreDNS will allow us to resolve it by name (i.e. after creating service `hello`, the name `hello` will resolve to something) @@ -46,7 +46,7 @@ Under the hood: `kube-proxy` is using a userland proxy and a bunch of `iptables` - `ExternalName` - - the DNS entry managed by `kube-dns` will just be a `CNAME` to a provided record + - the DNS entry managed by CoreDNS will just be a `CNAME` to a provided record - no port, no IP address, no nothing else is allocated The `LoadBalancer` type is currently only available on AWS, Azure, and GCE. @@ -179,7 +179,7 @@ class: extra-details - Since there is no virtual IP address, there is no load balancer either -- `kube-dns` will return the pods' IP addresses as multiple `A` records +- CoreDNS will return the pods' IP addresses as multiple `A` records - This gives us an easy way to discover all the replicas for a deployment From 134d24e23b9a9672f3d4c59c8cc2b73d868550f1 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Mon, 16 Jul 2018 15:08:07 -0700 Subject: [PATCH 5/5] AKS name change --- slides/kube/links-bridget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/kube/links-bridget.md b/slides/kube/links-bridget.md index 1c9601da..f01f2011 100644 --- a/slides/kube/links-bridget.md +++ b/slides/kube/links-bridget.md @@ -6,7 +6,7 @@ - [Play With Kubernetes Hands-On Labs](https://medium.com/@marcosnils/introducing-pwk-play-with-k8s-159fcfeb787b) -- [Azure Container Service](https://docs.microsoft.com/azure/aks/) +- [Azure Kubernetes Service](https://docs.microsoft.com/azure/aks/) - [Cloud Developer Advocates](https://developer.microsoft.com/advocates/)