Difference between revisions of "Kubernetes scheduler"
Jump to navigation
Jump to search
(10 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
* https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/ | * https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/ | ||
− | <code>[[/var/log/kube-scheduler.log]]</code> - Scheduler (kube-scheduler), responsible for making scheduling decisions | + | <code>[[/var/log/kube-scheduler.log]]</code> - Scheduler (<code>[[kube-scheduler]]</code>), responsible for making scheduling decisions |
* [[Kubernetes (snap install)|Installation]]: <code> [[snap install]] [[kube-scheduler]]</code> | * [[Kubernetes (snap install)|Installation]]: <code> [[snap install]] [[kube-scheduler]]</code> | ||
Line 9: | Line 9: | ||
* [[CKA v1.18]]: Know how to configure the Kubernetes scheduler | * [[CKA v1.18]]: Know how to configure the Kubernetes scheduler | ||
* [[CKA v1.18: Use label selectors to schedule Pods]]: <code>[[kubectl label nodes]]</code> and <code>[[nodeSelector]]</code> | * [[CKA v1.18: Use label selectors to schedule Pods]]: <code>[[kubectl label nodes]]</code> and <code>[[nodeSelector]]</code> | ||
+ | * Read about Kubernetes scheduler and [[Karpenter]] https://github.com/aws/karpenter/issues/1528 | ||
== Related terms == | == Related terms == | ||
Line 17: | Line 18: | ||
* <code>[[kubectl logs]]</code> | * <code>[[kubectl logs]]</code> | ||
* <code>[[CronJobs]]</code> | * <code>[[CronJobs]]</code> | ||
+ | * <code>[[default-scheduler]]</code> | ||
+ | * <code>[[FailedScheduling]]</code> | ||
+ | * [[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 == | == See also == | ||
+ | * {{FailedScheduling}} | ||
* {{Control Plane}} | * {{Control Plane}} | ||
− | * {{K8s}} | + | * {{Kubernetes scheduler}} |
+ | * {{K8s affinity}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Revision as of 19:01, 1 March 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
- Kubernetes pod affinity and anti affinity, Kubernetes Node Affinity,
default-scheduler, affinity:, NodeAffinity, spec.affinity.podAntiAffinity
Advertising: