Bump scheduler plugins version (#11205)

Signed-off-by: tu1h <lihai.tu@daocloud.io>
pull/11206/head
Lihai Tu 2024-05-17 17:05:35 +08:00 committed by GitHub
parent 354ffe7bd6
commit d5f6838fba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ There are requirements for the version of Kubernetes, please see [Compatibility
| Scheduler Plugins | Compiled With K8s Version | | Scheduler Plugins | Compiled With K8s Version |
| ----------------- | ------------------------- | | ----------------- | ------------------------- |
| v0.28.9 | v1.28.9 |
| v0.27.8 | v1.27.8 | | v0.27.8 | v1.27.8 |
| v0.26.8 | v1.26.7 |
## Turning it on ## Turning it on

View File

@ -128,7 +128,7 @@ dependencies:
- role: kubernetes-apps/scheduler_plugins - role: kubernetes-apps/scheduler_plugins
when: when:
- scheduler_plugins_enabled - scheduler_plugins_enabled
- kube_major_version is version('v1.28', '<') - kube_major_version is version('v1.29', '<')
- inventory_hostname == groups['kube_control_plane'][0] - inventory_hostname == groups['kube_control_plane'][0]
tags: tags:
- scheduler_plugins - scheduler_plugins

View File

@ -156,10 +156,10 @@ crio_supported_versions:
v1.27: v1.27.4 v1.27: v1.27.4
crio_version: "{{ crio_supported_versions[kube_major_version] }}" crio_version: "{{ crio_supported_versions[kube_major_version] }}"
# Scheduler plugins doesn't build for K8s 1.28 yet # Scheduler plugins doesn't build for K8s 1.29 yet
scheduler_plugins_supported_versions: scheduler_plugins_supported_versions:
v1.29: 0 v1.29: 0
v1.28: 0 v1.28: v0.28.9
v1.27: v0.27.8 v1.27: v0.27.8
scheduler_plugins_version: "{{ scheduler_plugins_supported_versions[kube_major_version] }}" scheduler_plugins_version: "{{ scheduler_plugins_supported_versions[kube_major_version] }}"