Skip to content

Commit

Permalink
Merge pull request #717 from k8s-infra-cherrypick-robot/cherry-pick-7…
Browse files Browse the repository at this point in the history
…16-to-release-1.28

[release-1.28] Documents update for release v0.28.8
  • Loading branch information
k8s-ci-robot authored Apr 15, 2024
2 parents 074a222 + 8f37a24 commit ac06ba6
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 26 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>ARM64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | AMD64<br>ARM64 |
| v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.26.7 | AMD64<br>ARM64 |
| v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.12 | AMD64<br>ARM64 |
Expand All @@ -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<br>ARM64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | AMD64<br>ARM64 |
| v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/controller:v0.26.7 | AMD64<br>ARM64 |
| v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/controller:v0.25.12 | AMD64<br>ARM64 |
Expand Down
12 changes: 6 additions & 6 deletions doc/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<!-- toc -->
- [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)
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manifests/install/all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions manifests/install/charts/as-a-second-scheduler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions manifests/install/charts/as-a-second-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `{}` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down
4 changes: 2 additions & 2 deletions manifests/install/charts/as-a-second-scheduler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand All @@ -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: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions site/content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>ARM64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | AMD64<br>ARM64 |
| v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.26.7 | AMD64<br>ARM64 |
| v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.12 | AMD64<br>ARM64 |
Expand All @@ -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<br>ARM64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | AMD64<br>ARM64 |
| v0.26.7 | v1.26.7 | registry.k8s.io/scheduler-plugins/controller:v0.26.7 | AMD64<br>ARM64 |
| v0.25.12 | v1.25.12 | registry.k8s.io/scheduler-plugins/controller:v0.25.12 | AMD64<br>ARM64 |
Expand Down
12 changes: 6 additions & 6 deletions site/content/en/docs/user-guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 1

<!-- toc -->
- [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)
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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`)
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/docs/user-guide/installing-the-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]` |

0 comments on commit ac06ba6

Please sign in to comment.