Score:0

Kuberneties pod scheduling balance based on pod allocation percentage per master nodes

pl flag

I have a Kubernetes with two master nodes in the master nodegroup. The problem is 1 node has 73-75% pod allocation while the other node only has 23-25% pod allocation. How do I balance the pods between the two master nodes? I have helm descheduler installed and the default config does not help with this. I tried kube-scheduler with the below config but it fails with timeout unable to get a lock on the default scheduler with kube-scheduler --config kubernetes/kube-scheduler.yaml.

apiVersion: kubescheduler.config.k8s.io/v1beta3
kind: KubeSchedulerConfiguration
clientConnection:
  kubeconfig: "/.kube/config"
profiles:
  - schedulerName: default-scheduler
  - schedulerName: resources-balanced-allocation
    plugins:
      score:
        enabled:
          - name: NodeResourcesBalancedAllocation
            weight: 1
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.