Upgrade to Pro — share decks privately, control downloads, hide ads and more …

kubectl in action, or: how to use your Kubernet...

kubectl in action, or: how to use your Kubernetes remote control

Michael Hausenblas

February 02, 2018
Tweet

More Decks by Michael Hausenblas

Other Decks in Technology

Transcript

  1. How to use your Kubernetes remote control, or: kubectl in

    action Michael Hausenblas, Red Hat
 Developer Advocate & Cloud Native Ambassador
 2018-02-02, Brussels Kubernetes Meetup mhausenblas.info/kubectl-in-action/
  2. Hit me up on Twitter: @mhausenblas 3 First things first:

    pronunciation • kube-CONTROL • kube-kuddle • kube-C T L koobcontrol.com https://www.youtube.com/watch?v=mXDFb62Z9_M
  3. Hit me up on Twitter: @mhausenblas 4 First things first:

    pronunciation https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.9.md#kubectl https://twitter.com/mhausenblas/status/958275660740464640
  4. Hit me up on Twitter: @mhausenblas 6 The basic sentence

    kubectl [command] [type] [name] [flags] VERB TYPE NOUN kubectl get pod abc --output=yaml
  5. Hit me up on Twitter: @mhausenblas 7 Well, that depends

    … context is a tuple:
 [name] [cluster] [user] [namespace]
  6. Hit me up on Twitter: @mhausenblas 8 Note that you

    can also follow along on via Katacoda: https://www.katacoda.com/courses/kubernetes/playground Let’s get our hands dirty! http://mhausenblas.info/kubectl-in-action/
  7. Hit me up on Twitter: @mhausenblas 9 Some example usage

    history Source: https://docs.google.com/spreadsheets/d/e/2PACX-1vSoEWXLXD4UvQFKRAwjWc0OwgNxDTu6WyaWqPT-ITu0bQPGmrk3bwFXVtG9v1rKb5WZistyQE5VLMXu/pubhtml?gid=949955028&single=true