Difference between revisions of "Cpu:"
Jump to navigation
Jump to search
(11 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
[[spec:]] | [[spec:]] | ||
[[containers:]] | [[containers:]] | ||
+ | |||
+ | |||
+ | [[resources:]] | ||
+ | [[requests:]] | ||
+ | cpu: "1000m" | ||
+ | [[memory:]] "2Gi" | ||
+ | limits: | ||
+ | cpu: "1000m" | ||
+ | memory: "2Gi" | ||
Line 9: | Line 18: | ||
[[Insufficient cpu]] | [[Insufficient cpu]] | ||
− | {{K8s tr}} | + | [[kubectl describe nodes]] | grep cpu |
+ | |||
+ | == Related == | ||
+ | * <code>[[Insufficient cpu]]</code> | ||
+ | * <code>[[cluster_autoscaling]]</code> | ||
+ | * [[CpuShares]] | ||
+ | |||
+ | == See also == | ||
+ | * {{FailedScheduling}} | ||
+ | * {{K8s tr}} | ||
+ | |||
+ | [[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: