[Kebernbates] Commands

Check autoscaler



kubectl api-versions | grep autoscaling

kubectl get hpa -A -o yaml

# option 1
kubectl get --raw /apis/autoscaling/v2beta2/horizontalpodautoscalers

# watch65
kubectl get hpa -A -o custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace,API_VERSION:.apiVersion -w

Last updated

Was this helpful?