OpenShift - List deamon sets using the oc get daemonsets command

If you are not familiar with the oc command, refer to OpenShift - Getting Started with the oc command.

A daemonset is used to run a pod on specific nodes or all nodes.

The oc get daemonset command can be used to list the daemon sets in the currently selected project / namespace. In this example, the daemonset will run the pods in the namespace on 5 nodes.

TIP

The -A or --all-namespaces flag can be used to list the daemonsets  in every project / namespace.

The -n or --namespace flag can be used to list the daemonsets in a certain project / namespace.

~]# oc get daemonsets
NAME            DESIRED  CURRENT  READY  UP-TO-DATE  AVAILABLE  NODE SELECTOR    AGE
my-daemon-set   5        5        5      5           5          <none>           4d15h

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





Please enter 03b6e in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |