Kubernetes Commands#
The following lists some useful commands for getting information and debugging the system. Make sure you understand them before using.
Command |
Description |
---|---|
|
Prints information about the running Kubernetes cluster. |
|
Lists all the components running in the Kubernetes cluster. |
|
Describe a pod or service. |
|
Run an interactive shell inside one of the pods. |
|
Run a container in the cluster with curl installed to inspect the network |
|
Describe a service, including what pods back it. |
|
Enables the Minikube dashboard that displays the health of the deployment. |
|
Displays the log for a pod or service. |
|
Get the services URL from the host. |
See also: