Difference between revisions of "Cpu:"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
− | resources: | + | [[resources:]] |
− | requests: | + | [[requests:]] |
cpu: "1000m" | cpu: "1000m" | ||
− | memory: "2Gi" | + | [[memory:]] "2Gi" |
limits: | limits: | ||
cpu: "1000m" | cpu: "1000m" | ||
Line 19: | Line 19: | ||
[[kubectl describe nodes]] | grep cpu | [[kubectl describe nodes]] | grep cpu | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[Insufficient cpu]]</code> | ||
+ | * <code>[[cluster_autoscaling]]</code> | ||
+ | * [[CpuShares]] | ||
== See also == | == See also == | ||
+ | * {{FailedScheduling}} | ||
* {{K8s tr}} | * {{K8s tr}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 04:41, 4 June 2024
spec: containers:
resources: requests: cpu: "1000m" memory: "2Gi" limits: cpu: "1000m" memory: "2Gi"
kind: Pod
Insufficient cpu
kubectl describe nodes | grep cpu
Related[edit]
See also[edit]
- FailedScheduling:
Insufficient cpu
,Insufficient memory
,timed out waiting for the condition
,unbound immediate PersistentVolumeClaims
- K8s troubleshooting:
kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,errImagePull, ImagePullBackOff
, Kubelet conditions:MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
Advertising: