Bootstrap FreeKB - OpenShift - List deamon sets using the oc get daemonsets command
OpenShift - List deamon sets using the oc get daemonsets command

Updated:   |  OpenShift articles

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



Comments


Add a Comment


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