Description:

  • Doc and Cheatsheet
  • Transform CLI command to and back of kube-apiserver’s api HTTPS call to control clusters
    • to authenticate incoming requests
    • and authorization
    • manage admission control
  • Auth with location and credentials
  • Must be configured to store credentials for each sluster
    • stored in config file in $HOME/.kube/config
  • kubectl help

Synopis:

  • kubectl [command] [TYPE] [NAME] [flags]
    • Types = Resourse types
      • Use kubectl api-resources for a complete list of supported resources.
    • -c argument to specify which container

1. Getting started:

2. App management:

3. Working with apps:

4. Cluster management:

5. Kubectl setting and usage: