3. Overview
• What is kubectl
• Installation tips
• Completion
• Explain
• .kube/config
• Context and Namespaces
• Helpers
• Aliases
4. How do we say this anyway?
• kube cuddle ?
• kube control ?
• kewb see tea el ?
• cube or kewb ?
5. Very fast overview
kubectl [command] [TYPE] [NAME] [flags]
command: operation to perform (verb)
TYPE: the resource type to perform the operation on
NAME: Specifies the name of the resource
flags: optional flags
7. Installing kubectl
Packages for most major platforms:
• Homebrew
• Yum/Apt/Snap
• Powershell PSGallery/Chocolatey
If all else fails….curl!
$ curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s
https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl