Difference between revisions of "Kubectl get hpa"
Jump to navigation
Jump to search
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{{lowercase}} | {{lowercase}} | ||
− | kubectl get [[hpa]] | + | [[kubectl get]] [[hpa]] |
No resources found in default namespace. | No resources found in default namespace. | ||
+ | |||
+ | kubectl get hpa -A | ||
+ | [[No resources found]] | ||
kubectl get hpa -A | kubectl get hpa -A | ||
Line 9: | Line 12: | ||
prod your-app1 Deployment/your-deployment-1 44%/50% 2 20 20 631d | prod your-app1 Deployment/your-deployment-1 44%/50% 2 20 20 631d | ||
staging your-app2 Deployment/your-deployment-2 1%/50% 1 5 1 694d | staging your-app2 Deployment/your-deployment-2 1%/50% 1 5 1 694d | ||
+ | |||
+ | kubectl get hpa -A | ||
+ | NAMESPACE NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE | ||
+ | prod your-app1 Deployment/your-deployment-1 1%/50% 2 20 2 659d | ||
+ | staging your-app2 Deployment/your-deployment-2 <unknown>/50% 1 5 1 722d | ||
+ | |||
== Related == | == Related == | ||
Line 18: | Line 27: | ||
* {{kubectl get}} | * {{kubectl get}} | ||
* {{HPA}} | * {{HPA}} | ||
+ | * {{Kubernetes autoscaling}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 06:35, 29 September 2022
This article is a Draft. Help us to complete it.
kubectl get hpa No resources found in default namespace.
kubectl get hpa -A No resources found
kubectl get hpa -A NAMESPACE NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE prod your-app1 Deployment/your-deployment-1 44%/50% 2 20 20 631d staging your-app2 Deployment/your-deployment-2 1%/50% 1 5 1 694d
kubectl get hpa -A NAMESPACE NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE prod your-app1 Deployment/your-deployment-1 1%/50% 2 20 2 659d staging your-app2 Deployment/your-deployment-2 <unknown>/50% 1 5 1 722d
Related[edit]
See also[edit]
kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- Horizontal Pod Autoscaler (HPA), Horizontal cluster-proportional-autoscaler container, Kubernetes cluster-proportional-vertical-autoscaler, Kubernetes Horizontal cluster-proportional-autoscaler container,
FailedGetResourceMetric
- Kubernetes autoscaling, HPA, VPA, Karpenter, Kubernetes Autoscaler,
kubectl autoscale
, Kubernetes Metrics Server (KMS)
Advertising: