From 8f37a244bbe60b2883705b2367891e52ddb2180f Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Sat, 13 Apr 2024 21:17:41 -0700 Subject: [PATCH] doc update for v0.28 --- README.md | 2 ++ doc/install.md | 12 ++++++------ ...ploy-sig-scheduling-controller-and-scheduler.yaml | 4 ++-- manifests/install/all-in-one.yaml | 2 +- .../install/charts/as-a-second-scheduler/Chart.yaml | 4 ++-- .../install/charts/as-a-second-scheduler/README.md | 4 ++-- .../charts/as-a-second-scheduler/templates/rbac.yaml | 2 +- .../install/charts/as-a-second-scheduler/values.yaml | 4 ++-- ...ploy-sig-scheduling-controller-and-scheduler.yaml | 4 ++-- site/content/en/_index.md | 2 ++ site/content/en/docs/user-guide/installation.md | 12 ++++++------ .../en/docs/user-guide/installing-the-chart.md | 4 ++-- 12 files changed, 30 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index c4cece214..526008745 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ changed. | Scheduler Plugins | Compiled With k8s Version | Container Image | Arch | |-------------------|---------------------------|-----------------------------------------------------------|----------------| +| v0.28.8 | v1.28.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 | AMD64
ARM64 | | v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | AMD64
ARM64 | | v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.26.7 | AMD64
ARM64 | | v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.12 | AMD64
ARM64 | @@ -73,6 +74,7 @@ changed. | Controller | Compiled With k8s Version | Container Image | Arch | |------------|---------------------------|-------------------------------------------------------|----------------| +| v0.28.8 | v1.28.8 | registry.k8s.io/scheduler-plugins/controller:v0.28.8 | AMD64
ARM64 | | v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | AMD64
ARM64 | | v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/controller:v0.26.7 | AMD64
ARM64 | | v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/controller:v0.25.12 | AMD64
ARM64 | diff --git a/doc/install.md b/doc/install.md index 24f1a6a78..9bc39abb5 100644 --- a/doc/install.md +++ b/doc/install.md @@ -4,7 +4,7 @@ - [Create a Kubernetes Cluster](#create-a-kubernetes-cluster) -- [Install release v0.27.8 and use Coscheduling](#install-release-v0278-and-use-coscheduling) +- [Install release v0.28.8 and use Coscheduling](#install-release-v0288-and-use-coscheduling) - [As a second scheduler](#as-a-second-scheduler) - [As a single scheduler (replacing the vanilla default-scheduler)](#as-a-single-scheduler-replacing-the-vanilla-default-scheduler) - [Test Coscheduling](#test-coscheduling) @@ -24,7 +24,7 @@ If you do not have a cluster yet, create one by using one of the following provi * [kubeadm](https://kubernetes.io/docs/reference/setup-tools/kubeadm/) * [minikube](https://minikube.sigs.k8s.io/) -## Install release v0.27.8 and use Coscheduling +## Install release v0.28.8 and use Coscheduling Note: we provide two ways to install the scheduler-plugin artifacts: as a second scheduler and as a single scheduler. Their pros and cons are as below: @@ -146,9 +146,9 @@ any vanilla Kubernetes scheduling capability. Instead, a lot of extra out-of-box - - --kubeconfig=/etc/kubernetes/scheduler.conf - - --leader-elect=true 19,20c20 - + image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + + image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 --- - - image: registry.k8s.io/kube-scheduler:v1.27.8 + - image: registry.k8s.io/kube-scheduler:v1.28.8 50,52d49 + - mountPath: /etc/kubernetes/sched-cc.yaml + name: sched-cc @@ -160,14 +160,14 @@ any vanilla Kubernetes scheduling capability. Instead, a lot of extra out-of-box + name: sched-cc ``` -1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8` +1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8` ```bash $ kubectl get pod -n kube-system | grep kube-scheduler kube-scheduler-kind-control-plane 1/1 Running 0 3m27s $ kubectl get pods -l component=kube-scheduler -n kube-system -o=jsonpath="{.items[0].spec.containers[0].image}{'\n'}" - registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 ``` > **⚠️Troubleshooting:** If the kube-scheudler is not up, you may need to restart kubelet service inside the kind control plane (`systemctl restart kubelet.service`) diff --git a/manifests/appgroup/deploy-sig-scheduling-controller-and-scheduler.yaml b/manifests/appgroup/deploy-sig-scheduling-controller-and-scheduler.yaml index 5dbe910e6..6f7e33bbb 100644 --- a/manifests/appgroup/deploy-sig-scheduling-controller-and-scheduler.yaml +++ b/manifests/appgroup/deploy-sig-scheduling-controller-and-scheduler.yaml @@ -89,7 +89,7 @@ spec: serviceAccountName: scheduler-plugins-controller containers: - name: scheduler-plugins-controller - image: registry.k8s.io/scheduler-plugins/controller:v0.27.8 + image: registry.k8s.io/scheduler-plugins/controller:v0.28.8 imagePullPolicy: IfNotPresent --- # Install the scheduler @@ -113,7 +113,7 @@ spec: nodeSelector: # To deploy in master node node-role.kubernetes.io/master: "" containers: - - image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + - image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 command: # For extra info, please add verbose level: e.g., - -v=9 - /bin/kube-scheduler - --authentication-kubeconfig=/etc/kubernetes/scheduler.conf diff --git a/manifests/install/all-in-one.yaml b/manifests/install/all-in-one.yaml index 97c1b8cba..6fc38b94d 100644 --- a/manifests/install/all-in-one.yaml +++ b/manifests/install/all-in-one.yaml @@ -96,5 +96,5 @@ spec: serviceAccountName: scheduler-plugins-controller containers: - name: scheduler-plugins-controller - image: registry.k8s.io/scheduler-plugins/controller:v0.27.8 + image: registry.k8s.io/scheduler-plugins/controller:v0.28.8 imagePullPolicy: IfNotPresent diff --git a/manifests/install/charts/as-a-second-scheduler/Chart.yaml b/manifests/install/charts/as-a-second-scheduler/Chart.yaml index 9e9c7334c..f0e5251b3 100644 --- a/manifests/install/charts/as-a-second-scheduler/Chart.yaml +++ b/manifests/install/charts/as-a-second-scheduler/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.27.8 +version: 0.28.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 0.27.8 +appVersion: 0.28.8 diff --git a/manifests/install/charts/as-a-second-scheduler/README.md b/manifests/install/charts/as-a-second-scheduler/README.md index 7b10cee65..4027a01c4 100644 --- a/manifests/install/charts/as-a-second-scheduler/README.md +++ b/manifests/install/charts/as-a-second-scheduler/README.md @@ -45,14 +45,14 @@ The following table lists the configurable parameters of the as-a-second-schedul | Parameter | Description | Default | |---------------------------|-----------------------------|-------------------------------------------------------------------------------------------------| | `scheduler.name` | Scheduler name | `scheduler-plugins-scheduler` | -| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8` | +| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8` | | `scheduler.leaderElect` | Scheduler leaderElection | `false` | | `scheduler.replicaCount` | Scheduler replicaCount | `1` | | `scheduler.nodeSelector` | Scheduler nodeSelector | `{}` | | `scheduler.affinity` | Scheduler affinity | `{}` | | `scheduler.tolerations` | Scheduler tolerations | `[]` | | `controller.name` | Controller name | `scheduler-plugins-controller` | -| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.27.8` | +| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.28.8` | | `controller.replicaCount` | Controller replicaCount | `1` | | `controller.nodeSelector` | Controller nodeSelector | `{}` | | `controller.affinity` | Controller affinity | `{}` | diff --git a/manifests/install/charts/as-a-second-scheduler/templates/rbac.yaml b/manifests/install/charts/as-a-second-scheduler/templates/rbac.yaml index 8e8ff2782..c9f37d4aa 100644 --- a/manifests/install/charts/as-a-second-scheduler/templates/rbac.yaml +++ b/manifests/install/charts/as-a-second-scheduler/templates/rbac.yaml @@ -66,7 +66,7 @@ rules: - apiGroups: ["scheduling.x-k8s.io"] resources: ["podgroups", "elasticquotas", "podgroups/status", "elasticquotas/status"] verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] -# for network-aware plugins add the following lines (scheduler-plugins v0.27.8) +# for network-aware plugins add the following lines (scheduler-plugins v0.28.8) #- apiGroups: [ "appgroup.diktyo.x-k8s.io" ] # resources: [ "appgroups" ] # verbs: [ "get", "list", "watch", "create", "delete", "update", "patch" ] diff --git a/manifests/install/charts/as-a-second-scheduler/values.yaml b/manifests/install/charts/as-a-second-scheduler/values.yaml index 9d08c8812..338fc6734 100644 --- a/manifests/install/charts/as-a-second-scheduler/values.yaml +++ b/manifests/install/charts/as-a-second-scheduler/values.yaml @@ -4,7 +4,7 @@ scheduler: name: scheduler-plugins-scheduler - image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 replicaCount: 1 leaderElect: false nodeSelector: {} @@ -13,7 +13,7 @@ scheduler: controller: name: scheduler-plugins-controller - image: registry.k8s.io/scheduler-plugins/controller:v0.27.8 + image: registry.k8s.io/scheduler-plugins/controller:v0.28.8 replicaCount: 1 nodeSelector: {} affinity: {} diff --git a/manifests/networktopology/deploy-sig-scheduling-controller-and-scheduler.yaml b/manifests/networktopology/deploy-sig-scheduling-controller-and-scheduler.yaml index 5dbe910e6..6f7e33bbb 100644 --- a/manifests/networktopology/deploy-sig-scheduling-controller-and-scheduler.yaml +++ b/manifests/networktopology/deploy-sig-scheduling-controller-and-scheduler.yaml @@ -89,7 +89,7 @@ spec: serviceAccountName: scheduler-plugins-controller containers: - name: scheduler-plugins-controller - image: registry.k8s.io/scheduler-plugins/controller:v0.27.8 + image: registry.k8s.io/scheduler-plugins/controller:v0.28.8 imagePullPolicy: IfNotPresent --- # Install the scheduler @@ -113,7 +113,7 @@ spec: nodeSelector: # To deploy in master node node-role.kubernetes.io/master: "" containers: - - image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + - image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 command: # For extra info, please add verbose level: e.g., - -v=9 - /bin/kube-scheduler - --authentication-kubeconfig=/etc/kubernetes/scheduler.conf diff --git a/site/content/en/_index.md b/site/content/en/_index.md index d3f574722..31efe2b52 100644 --- a/site/content/en/_index.md +++ b/site/content/en/_index.md @@ -62,6 +62,7 @@ changed. | Scheduler Plugins | Compiled With k8s Version | Container Image | Arch | |-------------------|---------------------------|-----------------------------------------------------------|----------------| +| v0.28.8 | v1.28.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 | AMD64
ARM64 | | v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | AMD64
ARM64 | | v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.26.7 | AMD64
ARM64 | | v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.12 | AMD64
ARM64 | @@ -76,6 +77,7 @@ changed. | Controller | Compiled With k8s Version | Container Image | Arch | |------------|---------------------------|-------------------------------------------------------|----------------| +| v0.28.8 | v1.28.8 | registry.k8s.io/scheduler-plugins/controller:v0.28.8 | AMD64
ARM64 | | v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | AMD64
ARM64 | | v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/controller:v0.26.7 | AMD64
ARM64 | | v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/controller:v0.25.12 | AMD64
ARM64 | diff --git a/site/content/en/docs/user-guide/installation.md b/site/content/en/docs/user-guide/installation.md index 4684d64d2..30126aa42 100644 --- a/site/content/en/docs/user-guide/installation.md +++ b/site/content/en/docs/user-guide/installation.md @@ -8,7 +8,7 @@ weight: 1 - [Create a Kubernetes Cluster](#create-a-kubernetes-cluster) -- [Install release v0.27.8 and use Coscheduling](#install-release-v0278-and-use-coscheduling) +- [Install release v0.28.8 and use Coscheduling](#install-release-v0288-and-use-coscheduling) - [As a second scheduler](#as-a-second-scheduler) - [As a single scheduler (replacing the vanilla default-scheduler)](#as-a-single-scheduler-replacing-the-vanilla-default-scheduler) - [Test Coscheduling](#test-coscheduling) @@ -28,7 +28,7 @@ If you do not have a cluster yet, create one by using one of the following provi * [kubeadm](https://kubernetes.io/docs/reference/setup-tools/kubeadm/) * [minikube](https://minikube.sigs.k8s.io/) -## Install release v0.27.8 and use Coscheduling +## Install release v0.28.8 and use Coscheduling Note: we provide two ways to install the scheduler-plugin artifacts: as a second scheduler and as a single scheduler. Their pros and cons are as below: @@ -150,9 +150,9 @@ any vanilla Kubernetes scheduling capability. Instead, a lot of extra out-of-box > - --kubeconfig=/etc/kubernetes/scheduler.conf > - --leader-elect=true 19,20c20 - < image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + < image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 --- - > image: registry.k8s.io/kube-scheduler:v1.27.8 + > image: registry.k8s.io/kube-scheduler:v1.28.8 50,52d49 < - mountPath: /etc/kubernetes/sched-cc.yaml < name: sched-cc @@ -164,14 +164,14 @@ any vanilla Kubernetes scheduling capability. Instead, a lot of extra out-of-box < name: sched-cc ``` -1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8` +1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8` ```bash $ kubectl get pod -n kube-system | grep kube-scheduler kube-scheduler-kind-control-plane 1/1 Running 0 3m27s $ kubectl get pods -l component=kube-scheduler -n kube-system -o=jsonpath="{.items[0].spec.containers[0].image}{'\n'}" - registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 + registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8 ``` > **⚠️Troubleshooting:** If the kube-scheudler is not up, you may need to restart kubelet service inside the kind control plane (`systemctl restart kubelet.service`) diff --git a/site/content/en/docs/user-guide/installing-the-chart.md b/site/content/en/docs/user-guide/installing-the-chart.md index 8025b5c3e..4791779d1 100644 --- a/site/content/en/docs/user-guide/installing-the-chart.md +++ b/site/content/en/docs/user-guide/installing-the-chart.md @@ -50,11 +50,11 @@ The following table lists the configurable parameters of the as-a-second-schedul | Parameter | Description | Default | |---------------------------|-----------------------------|-------------------------------------------------------------------------------------------------| | `scheduler.name` | Scheduler name | `scheduler-plugins-scheduler` | -| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8` | +| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.8` | | `scheduler.leaderElect` | Scheduler leaderElection | `false` | | `scheduler.replicaCount` | Scheduler replicaCount | `1` | | `controller.name` | Controller name | `scheduler-plugins-controller` | -| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.27.8` | +| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.28.8` | | `controller.replicaCount` | Controller replicaCount | `1` | | `plugins.enabled` | Plugins enabled by default | `["Coscheduling","CapacityScheduling","NodeResourceTopologyMatch", "NodeResourcesAllocatable"]` | | `plugins.disabled` | Plugins disabled by default | `["PrioritySort"]` |