CWPP Worker Nodes
To get the kubernetes node count from your cluster you should use the following command:
kubectl get nodes --no-headers=true | wc -l
To get the kubernetes node count from your cluster you should use the following command:
kubectl get nodes --no-headers=true | wc -l