kubectl reference guide

5 min read | by Jordi Prats

Generic kubectl usage:

contexts

Troubleshooting

sorting or filtering

cluster management

object patching

  • kubectl patch file: kubectl patch can be used with a patch file to update an existing kubernetes object
  • kubectl patch: Using kubectl patch we can modify Kubernetes objects in batch mode

Plugins

krew

Deployment management

Pod

events

Secrets


Categories
  • kubectl
  • reference