From 291d2a6c92f59dd42814ab8d5de311be05e084e9 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Mon, 18 Nov 2019 13:30:09 -0600 Subject: [PATCH] Add note about DNS integration --- slides/k8s/kubectlget.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/slides/k8s/kubectlget.md b/slides/k8s/kubectlget.md index 2107a0c0..b4085bbe 100644 --- a/slides/k8s/kubectlget.md +++ b/slides/k8s/kubectlget.md @@ -520,3 +520,17 @@ $ curl -k https://10.96.0.1 - The Kubernetes API is reachable from within the cluster (many apps integrating with Kubernetes will use this) + +--- + +## DNS integration + +- Each service also gets a DNS record + +- The Kubernetes DNS resolver is available *from within pods* + + (and sometimes, from within nodes, depending on configuration) + +- Code running in pods can connect to services using their name + + (e.g. https://kubernetes/...)