Difference between revisions of "Kubernetes scheduler"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
* <code>[[FailedScheduling]]</code> | * <code>[[FailedScheduling]]</code> | ||
* [[Karpenter]] | * [[Karpenter]] | ||
+ | * [[Kubernetes pod affinity and anti affinity]] | ||
0/11 nodes are available: 1 [[Insufficient cpu]], 1 Too many pods, 10 nodes(s) didn't match Pod's node [[affinity]]/selector | 0/11 nodes are available: 1 [[Insufficient cpu]], 1 Too many pods, 10 nodes(s) didn't match Pod's node [[affinity]]/selector |
Revision as of 15:14, 2 January 2023
kube-scheduler
is the default scheduler for Kubernetes and runs as part of the control plane.
/var/log/kube-scheduler.log
- Scheduler (kube-scheduler
), responsible for making scheduling decisions
Activities
- CKA v1.18: Know how to configure the Kubernetes scheduler
- CKA v1.18: Use label selectors to schedule Pods:
kubectl label nodes
andnodeSelector
- Read about Kubernetes scheduler and Karpenter https://github.com/aws/karpenter/issues/1528
Related terms
PodFitsResources
filternodeSelector
Kind: Pod
kubectl get pods -o wide
kubectl logs
CronJobs
default-scheduler
FailedScheduling
- Karpenter
- Kubernetes pod affinity and anti affinity
0/11 nodes are available: 1 Insufficient cpu, 1 Too many pods, 10 nodes(s) didn't match Pod's node affinity/selector 0/2 nodes are available: 1 Too many pods, 1 nodes(s) didn't match Pod's node affinity/selector
See also
- FailedScheduling:
Insufficient cpu
,Insufficient memory
,timed out waiting for the condition
,unbound immediate PersistentVolumeClaims
- Kubernetes control plane,
Kubernetes components
,/etc/kubernetes/manifests/
- Kubernetes scheduler,
default-scheduler, FailedScheduling, kube-scheduler, /var/log/kube-scheduler.log
Advertising: