Skip to content

Commit

Permalink
Merge pull request #820 from Huang-Wei/0.30-doc-update
Browse files Browse the repository at this point in the history
doc update for v0.30.6
  • Loading branch information
k8s-ci-robot authored Nov 4, 2024
2 parents aadfeeb + b254cef commit dc97958
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 49 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,19 @@ on demand, (e.g., `v0.18.800`) are used to indicated that the k8s client package
changed since the previous release, and that only scheduler plugins code (features or bug fixes) was
changed.

| Scheduler Plugins | Compiled With k8s Version | Container Image | Arch |
|-------------------|---------------------------|-----------------------------------------------------------|------------------------------------------------------------|
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | linux/amd64<br>linux/arm64 |

| Controller | Compiled With k8s Version | Container Image | Arch |
|------------|---------------------------|-------------------------------------------------------|------------------------------------------------------------|
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/controller:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/controller:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | linux/amd64<br>linux/arm64 |
| Scheduler Plugins | Compiled With k8s Version | Container Image | Arch |
|-------------------|---------------------------|----------------------------------------------------------|------------------------------------------------------------|
| v0.30.6 | v1.30.6 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | linux/amd64<br>linux/arm64 |

| Controller | Compiled With k8s Version | Container Image | Arch |
|------------|---------------------------|------------------------------------------------------|------------------------------------------------------------|
| v0.30.6 | v1.30.6 | registry.k8s.io/scheduler-plugins/controller:v0.30.6 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/controller:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/controller:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | linux/amd64<br>linux/arm64 |

<details>
<summary>Older releases</summary>
Expand Down
10 changes: 5 additions & 5 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.29.7 and use Coscheduling](#install-release-v0297-and-use-coscheduling)
- [Install release v0.30.6 and use Coscheduling](#install-release-v0306-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.29.7 and use Coscheduling
## Install release v0.30.6 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,7 +146,7 @@ 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.29.7
+ image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
---
- image: registry.k8s.io/kube-scheduler:v1.28.9
50,52d49
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.29.7`
1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6`

```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.29.7
registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
```

> **⚠️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.29.7
image: registry.k8s.io/scheduler-plugins/controller:v0.30.6
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.29.7
- image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
args: # For extra info, please add verbose level: e.g., - -v=9
- --authentication-kubeconfig=/etc/kubernetes/scheduler.conf
- --authorization-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.29.7
image: registry.k8s.io/scheduler-plugins/controller:v0.30.6
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.29.7
version: 0.30.6

# 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.29.7
appVersion: 0.30.6
6 changes: 3 additions & 3 deletions manifests/install/charts/as-a-second-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ scheduler-plugins-scheduler 1/1 1 1 7s
The following table lists the configurable parameters of the as-a-second-scheduler chart and their default values.

| Parameter | Description | Default |
| ------------------------- | --------------------------- | ----------------------------------------------------------------------------------------------- |
|---------------------------|-----------------------------|-------------------------------------------------------------------------------------------------|
| `scheduler.name` | Scheduler name | `scheduler-plugins-scheduler` |
| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.29.7` |
| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6` |
| `scheduler.command` | Scheduler command | `["/bin/kube-scheduler"]` |
| `scheduler.leaderElect` | Scheduler leaderElection | `false` |
| `scheduler.replicaCount` | Scheduler replicaCount | `1` |
Expand All @@ -58,7 +58,7 @@ The following table lists the configurable parameters of the as-a-second-schedul
| `controller.name` | Controller name | `scheduler-plugins-controller` |
| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.29.7` |
| `controller.replicaCount` | Controller replicaCount | `1` |
| `controller.resources` | Controller resources | `{}` |
s| `controller.resources` | Controller resources | `{}` |
| `controller.nodeSelector` | Controller nodeSelector | `{}` |
| `controller.affinity` | Controller affinity | `{}` |
| `controller.tolerations` | Controller tolerations | `[]` |
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.29.7)
# for network-aware plugins add the following lines
#- 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.29.7
image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
command:
- /bin/kube-scheduler
replicaCount: 1
Expand All @@ -16,7 +16,7 @@ scheduler:

controller:
name: scheduler-plugins-controller
image: registry.k8s.io/scheduler-plugins/controller:v0.29.7
image: registry.k8s.io/scheduler-plugins/controller:v0.30.6
replicaCount: 1
resources: {}
nodeSelector: {}
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.29.7
image: registry.k8s.io/scheduler-plugins/controller:v0.30.6
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.29.7
- image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
args: # For extra info, please add verbose level: e.g., - -v=9
- --authentication-kubeconfig=/etc/kubernetes/scheduler.conf
- --authorization-kubeconfig=/etc/kubernetes/scheduler.conf
Expand Down
26 changes: 14 additions & 12 deletions site/content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The kube-scheduler binary includes the below list of plugins. They can be config
* [Node Resources](docs/plugins/noderesources.md)
* [Node Resource Topology](docs/plugins/noderesourcetopology.md)
* [Preemption Toleration](docs/plugins/preemptiontoleration.md)
* [Trimaran](docs/plugins/trimaran.md)
* [Trimaran (Load-Aware Scheduling)](docs/plugins/trimaran.md)
* [Network-Aware Scheduling](docs/plugins/networkaware.md)

Additionally, the kube-scheduler binary includes the below list of sample plugins. These plugins are not intended for use in production
Expand All @@ -60,17 +60,19 @@ on demand, (e.g., `v0.18.800`) are used to indicated that the k8s client package
changed since the previous release, and that only scheduler plugins code (features or bug fixes) was
changed.

| Scheduler Plugins | Compiled With k8s Version | Container Image | Arch |
|-------------------|---------------------------|-----------------------------------------------------------|------------------------------------------------------------|
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | linux/amd64<br>linux/arm64 |

| Controller | Compiled With k8s Version | Container Image | Arch |
|------------|---------------------------|-------------------------------------------------------|------------------------------------------------------------|
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/controller:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/controller:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | linux/amd64<br>linux/arm64 |
| Scheduler Plugins | Compiled With k8s Version | Container Image | Arch |
|-------------------|---------------------------|----------------------------------------------------------|------------------------------------------------------------|
| v0.30.6 | v1.30.6 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8 | linux/amd64<br>linux/arm64 |

| Controller | Compiled With k8s Version | Container Image | Arch |
|------------|---------------------------|------------------------------------------------------|------------------------------------------------------------|
| v0.30.6 | v1.30.6 | registry.k8s.io/scheduler-plugins/controller:v0.30.6 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.29.7 | v1.29.7 | registry.k8s.io/scheduler-plugins/controller:v0.29.7 | linux/amd64<br>linux/arm64<br>linux/s390x<br>linux/ppc64le |
| v0.28.9 | v1.28.9 | registry.k8s.io/scheduler-plugins/controller:v0.28.9 | linux/amd64<br>linux/arm64 |
| v0.27.8 | v1.27.8 | registry.k8s.io/scheduler-plugins/controller:v0.27.8 | linux/amd64<br>linux/arm64 |

<details>
<summary>Older releases</summary>
Expand Down
10 changes: 5 additions & 5 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.29.7 and use Coscheduling](#install-release-v0297-and-use-coscheduling)
- [Install release v0.30.6 and use Coscheduling](#install-release-v0306-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.29.7 and use Coscheduling
## Install release v0.30.6 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,7 +150,7 @@ 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.29.7
< image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
---
> image: registry.k8s.io/kube-scheduler:v1.28.9
50,52d49
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.29.7`
1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6`

```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.29.7
registry.k8s.io/scheduler-plugins/kube-scheduler:v0.30.6
```

> **⚠️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
Loading

0 comments on commit dc97958

Please sign in to comment.