From 03d2d0bc5d6ba4ae79a089690de4cb8a34f052ea Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Mon, 18 Nov 2019 16:37:07 -0600 Subject: [PATCH] kubectl is the new SSH --- slides/k8s/kubectlget.md | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/slides/k8s/kubectlget.md b/slides/k8s/kubectlget.md index b4085bbe..7cfbb119 100644 --- a/slides/k8s/kubectlget.md +++ b/slides/k8s/kubectlget.md @@ -20,6 +20,50 @@ --- +class: extra-details + +## `kubectl` is the new SSH + +- We often start managing servers with SSH + + (installing packages, troubleshooting ...) + +- At scale, it becomes tedious, repetitive, error-prone + +- Instead, we use config management, central logging, etc. + +- In many cases, we still need SSH: + + - as the underlying access method (e.g. Ansible) + + - to debug tricky scenarios + + - to inspect and poke at things + +--- + +class: extra-details + +## The parallel with `kubectl` + +- We often start managing Kubernetes clusters with `kubectl` + + (deploying applications, troubleshooting ...) + +- At scale (with many applications or clusters), it becomes tedious, repetitive, error-prone + +- Instead, we use automated pipelines, observability tooling, etc. + +- In many cases, we still need `kubectl`: + + - to debug tricky scenarios + + - to inspect and poke at things + +- The Kubernetes API is always the underlying access method + +--- + ## `kubectl get` - Let's look at our `Node` resources with `kubectl get`!