💻 Tech
To get the number of resources, you can use the command below. The example gets the number of pods, but you can use other resources likks rs, deployment, and rc.
kubectl get po --no-headers | wc -l To get the number of resources, you can use the command below. The example gets the number of pods, but you can use other resources likks rs, deployment, and rc.
kubectl get po --no-headers | wc -l