How to check DaemonSet status?

076

To check the status of a DaemonSet in Kubernetes, you can use the following command:

kubectl get daemonset <daemonset-name> -n <namespace>

Replace <daemonset-name> with the name of your DaemonSet and <namespace> with the namespace where it is deployed. If you want to check the status of all DaemonSets in a specific namespace, you can omit the DaemonSet name:

kubectl get daemonset -n <namespace>

To get more detailed information about a specific DaemonSet, you can use:

kubectl describe daemonset <daemonset-name> -n <namespace>

This will provide you with detailed information about the DaemonSet, including its current status, number of pods scheduled, and any events related to it.

0 Comments

no data
Be the first to share your comment!