This post provides a comprehensive guide to using kubectl, the CLI tool for communicating with the Kubernetes API. It covers installation, command syntax, useful commands, plugins and tools, troubleshooting, and more.

β€’14m read timeβ€’From medium.com
Post cover image
Table of contents
InstallationLinux (Ubuntu/Debian)MacOS using HomebrewWindows using Chocolateykubectl commands:The syntaxWorking imperativelyUseful flags:Old School vs. New School watching flags:Working with PodsWorking with nodesWorking with Deployments, DaemonSets and StatefulSetsWorking with jobsWorking with secretsShell completionsWorking declarativelyCreate YAML filesApply YAML Files (client-side apply)Server-Side Apply (SSA)Plugins and tooling 🧰Krew the Kubernetes plugin managerContent and Namespace switching πŸ”€Visibility πŸ”­Package management πŸ“¦Networking 🌐RBAC 🫷Linting πŸ“‹Cluster maintenance and Security πŸ›‘οΈTroubleshooting πŸ§‘β€πŸ”§Logging πŸͺ΅Aliases πŸ“‡Kubectl CheatsheetAdditional resources:
3 Comments

Sort: