Asking for help? Comment out what you need so we can get more information to help you!
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
but not in the policy
. CheckNodePIDPressure
is in the policy
, but not in the profiles
My k8s is 1.18 and I want to use a second scheduler that uses MostRequest instead of the LeastRequest policy. With Policy I don’t know which priorities policies are enabled by default and I just want to make minimal changes. How can I know about the default startup policy?
In addition, whether k8s1. 18 can use KubeSchedulerConfiguration, if you can, use of how to implement minimum configuration can be modified
apiVersion: kubescheduler.config.k8s.io/v1beta2
kind: KubeSchedulerConfiguration
profiles:
plugins:
score:
disabled:
- name: 'NodeResourcesLeastAllocated'
enabled:
- name: 'NodeResourcesMostAllocated'
weight: 100
I really appreciate any help with this
Cluster information:
Kubernetes version:1.18.12
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: Binary installation
Host OS: centos
CNI and version: calico
CRI and version: docker
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.