Skip to content

Commit

Permalink
[Issue-1065] fixing patcher
Browse files Browse the repository at this point in the history
Signed-off-by: rafalw82 <[email protected]>
  • Loading branch information
rafalw82 committed Jan 12, 2024
1 parent 35a6820 commit d170cc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/scheduler/patcher/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ def run():
if kube_major_ver==1 and kube_minor_ver>22:
path = args.target_config_23_path

config_unschedulable_pods = (kube_major_ver==1 and kube_minor_ver>23 and kube_minor_ver<26)
# the option is still available for kubernetes 1.26, 1.27, 1.28, 1.29
# verify if the option is still available for kubernetes greater than 1.29
config_unschedulable_pods = (kube_major_ver==1 and kube_minor_ver>23 and kube_minor_ver<=29)

manifest = "/etc/kubernetes/manifests/kube-scheduler.yaml"
if args.platform == "rke":
Expand Down

0 comments on commit d170cc2

Please sign in to comment.