Questions tagged [kube-scheduler]
44 questions
6
votes
2 answers
Kubernetes: Evenly distribute the replicas across the cluster
We can use DaemonSet object to deploy one replica on each node. How can we deploy say 2 replicas or 3 replicas per node? How can we achieve that. please let us know

P Ekambaram
- 15,499
- 7
- 34
- 59
5
votes
2 answers
kube-prometheus-stack issue scraping metrics
General Cluster Information:
Kubernetes version: 1.19.13
Cloud being used: private
Installation method: kubeadm init
Host OS: Ubuntu 20.04.1 LTS
CNI and version: Weave Net: 2.7.0
CRI and version: Docker: 19.3.13
I am trying to get…

skynet1010
- 143
- 4
- 11
5
votes
2 answers
How to deploy pods across all nodes evenly in Kubernetes?
I have a few Kubernetes clusters with different #of nodes in each. And my deployment of config has "replicas: #nodes". There is no specific config set up for scheduling that pod but after deployment, I see strange behavior in terms of the…

CRP08
- 133
- 1
- 2
- 6
4
votes
2 answers
Why would the Kubernetes scheduler always place my Pod replicas on the same node in AKS?
We have an AKS test cluster with four Windows worker nodes and a Deployment with a replica count of two. The corresponding Pod spec does not specify any resource requests and limits (thus, the resulting Pods are in the BestEffort QoS class).
In…

Fabian Schmied
- 3,885
- 3
- 30
- 49
4
votes
0 answers
kube-scheduler and kube-controller-manager restarting
I have kubernetes 1.15.3 setup
My kube-controller & kube-scheduler are restarting very frequently . This is happening after kubernetes is upgraded to 1.15.3.
kubectl get po -n kube-system
NAME READY STATUS …

Vishnu Gopal Singhal
- 111
- 2
- 9
3
votes
1 answer
Configuring MostAllocated on an EKS Cluster
We would like to pack as many pods into each nodes in our cluster as much as possible do decrease the amount of nodes we have on some of our environments. I saw https://github.com/kubernetes-sigs/descheduler HighNodeUtilization strategy which seems…

overflow_warrior_27
- 93
- 5
3
votes
1 answer
How to customize the behavior of the kube-scheduler on AKS?
I'm trying to customize the behavior of the kube-scheduler on an AKS cluster (kubernetes v1.19.3), as described in Scheduler Configuration.
My goal is to use the NodeResourcesMostAllocated plugin in order to schedule the pods using the least number…

Rui Jarimba
- 11,166
- 11
- 56
- 86
3
votes
4 answers
How to change default kube-scheduler in kubernetes
This doc tells about how to run multiple scheduler. But I m not able to understand how does default scheduler is decided? Is it based on --leader-elect option?
Can I tell Kubernetes to use my-custom-scheduler as default scheduler instead of…

Netro
- 7,119
- 6
- 40
- 58
3
votes
1 answer
kube-controller-manager & kube-scheduler in CrashLoopBackoff Error in kubernetes
I used calico as CNI in my k8s, I'm trying to deploy a single master cluster in 3 servers. I'm using kubeadm, follow the official setup guide. But some error occurred, kube-controller-manager and kube-scheduler go in CrashLoopBackOff error and…

mio leon
- 31
- 1
- 3
2
votes
1 answer
Leaderelections failing, lease unable to be renewed automatically
I have a production cluster is currently running on K8s version 1.19.9, where the kube-scheduler and kube-controller-manager failed to have leader elections. The leader is able to acquire the first lease, however it then cannot renew/reacquire the…

janeosaka
- 35
- 6
2
votes
1 answer
add environment variable to kube-scheduler
We're running K8s on EC2 instances. These have a volume limit of 25 per node. So we need to set the KUBE_MAX_PD_VOLS environment variable for the kube-scheduler. The thing is, I don't know how to set it. I can not add it to the pod definition as…

audioslave
- 125
- 1
- 1
- 11
2
votes
1 answer
What is the relationship between scheduling policies and scheduling Configuration in k8s
The k8s scheduling implementation comes in two forms: Scheduling Policies and Scheduling Profiles.
What is the relationship between the two? They seem to overlap but have some differences. For example, there is a NodeUnschedulable in the profiles…

moluzhui
- 1,003
- 14
- 34
2
votes
1 answer
Kubernetes scheduler
Does the Kubernetes scheduler assign the pods to the nodes one by one in a queue (not in parallel)?
Based on this, I guess that might be the case since it is mentioned that the nodes are iterated round robin.
I want to make sure that the pod…

Saeid Ghafouri
- 163
- 6
2
votes
1 answer
Require that k8s pods have a certain label before they run on certain nodes
Say I have some special nodes in my cluster, and I want to be able to identify with a pod label all pods running on these nodes.
Taints & tolerations are close to this, but afaik tolerations aren’t labels, they’re their own thing, and can’t be…

alecbz
- 6,292
- 4
- 30
- 50
2
votes
1 answer
How to change the behaviour of kube-scheduler in EKS?
I am new at Kubernetes and completely new to setting it up in EKS.
I am trying to achieve sharing of GPU between multiple pods, but for that going through few of the documents and articles, I found out I should update the kube-scheduler…

dempti
- 336
- 1
- 3
- 15