You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Kubernetes versions before v1.23, a scheduling policy can be used to specify the predicates and priorities process. For example, you can set a scheduling policy by running kube-scheduler --policy-config-file or kube-scheduler --policy-configmap .
This scheduling policy is not supported since Kubernetes v1.23. Associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config are also not supported. Instead, use the Scheduler Configuration to achieve similar behavior.
It seems following script in helm/templates/init-job.yaml which add '--policy-config-file' to kube-scheduler cause the problem
if! grep "^\ - --policy-config-file=*" /etc/kubernetes/manifests/kube-scheduler.yaml;then
sed -i "/ - --kubeconfig=/a \ - --policy-config-file=/etc/kubernetes/scheduler-policy-config.json" /etc/kubernetes/manifests/kube-scheduler.yaml
fi
Ⅲ. Describe what you expected to happen
kube-scheduler running after deploy open-local
Ⅳ. How to reproduce it (as minimally and precisely as possible)
using kuberbetes version newer than v1.23
deploy open-local
3.use "kubectl get componentstatus" check scheduler status
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
Open-Local version: v0.5.4
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools: helm
Others:
The text was updated successfully, but these errors were encountered:
Ⅰ. Issue Description
Ⅱ. Describe what happened
I deploy open-local to my k8s cluster, and kube-scheduler restart failed.
the error log:
I use kubernetes version v1.23.6
according to Kubernetes Documentation: Scheduling Policies
policy-config-file flag is not supported after version v1.23
It seems following script in helm/templates/init-job.yaml which add '--policy-config-file' to kube-scheduler cause the problem
Ⅲ. Describe what you expected to happen
kube-scheduler running after deploy open-local
Ⅳ. How to reproduce it (as minimally and precisely as possible)
3.use "kubectl get componentstatus" check scheduler status
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
uname -a
):The text was updated successfully, but these errors were encountered: