Cheat Sheet Kubernetes¶
Kubectl is a command-line tool used to interact with Kubernetes clusters. It allows users to perform various operations such as deploying and managing applications, inspecting cluster resources, and accessing logs and debugging information.
Pods¶
List pods
List pods interactively
Get full pod detail from the cluster store
Formatted multi-line overview of an object
Execute a command inside a pod Open a shell inside a pod-it
makes the session interactive and connects STDIN and STDOUT to your own shell.
Context¶
View current kubectl context
Change context