6.1 Confirming the Kubernetes Cluster is Ready
As per System Requirements for OUDSM on Kubernetes, a Kubernetes cluster
should have already been configured.
- Run the following command on the Kubernetes administrative node to check the cluster
and worker nodes are
running:
The output will look similar to the following:kubectl get nodes,pods -n kube-system
NAME STATUS ROLES AGE VERSION node/worker-node1 Ready <none> 17h 1.30.3+1.el8 node/worker-node2 Ready <none> 17h 1.30.3+1.el8 node/master-node Ready control-plane,master 23h 1.30.3+1.el8 NAME READY STATUS RESTARTS AGE pod/coredns-66bff467f8-fnhbq 1/1 Running 0 23h pod/coredns-66bff467f8-xtc8k 1/1 Running 0 23h pod/etcd-master 1/1 Running 0 21h pod/kube-apiserver-master-node 1/1 Running 0 21h pod/kube-controller-manager-master-node 1/1 Running 0 21h pod/kube-flannel-ds-amd64-lxsfw 1/1 Running 0 17h pod/kube-flannel-ds-amd64-pqrqr 1/1 Running 0 17h pod/kube-flannel-ds-amd64-wj5nh 1/1 Running 0 17h pod/kube-proxy-2kxv2 1/1 Running 0 17h pod/kube-proxy-82vvj 1/1 Running 0 17h pod/kube-proxy-nrgw9 1/1 Running 0 23h pod/kube-scheduler-master 1/1 Running 0 21h