Skip to content

Commit 13f34f2

Browse files
authored
Merge pull request #541 from Huang-Wei/doc/1.25-update
Documents update for release v0.25.7
2 parents 3d7104e + 94f6dd8 commit 13f34f2

File tree

6 files changed

+25
-24
lines changed

6 files changed

+25
-24
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ changed.
5959

6060
| Scheduler Plugins | Compiled With k8s Version | Container Image | Arch |
6161
|-------------------|---------------------------|-----------------------------------------------------------|----------------|
62+
| v0.25.7 | v1.25.7 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.7 | AMD64<br>ARM64 |
6263
| v0.24.9 | v1.24.9 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.24.9 | AMD64<br>ARM64 |
6364
| v0.23.10 | v1.23.10 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.23.10 | AMD64<br>ARM64 |
6465
| v0.22.6 | v1.22.6 | registry.k8s.io/scheduler-plugins/kube-scheduler:v0.22.6 | AMD64<br>ARM64 |
@@ -70,6 +71,7 @@ changed.
7071

7172
| Controller | Compiled With k8s Version | Container Image | Arch |
7273
|------------|---------------------------|-------------------------------------------------------|----------------|
74+
| v0.25.7 | v1.25.7 | registry.k8s.io/scheduler-plugins/controller:v0.25.7 | AMD64<br>ARM64 |
7375
| v0.24.9 | v1.24.9 | registry.k8s.io/scheduler-plugins/controller:v0.24.9 | AMD64<br>ARM64 |
7476
| v0.23.10 | v1.23.10 | registry.k8s.io/scheduler-plugins/controller:v0.23.10 | AMD64<br>ARM64 |
7577
| v0.22.6 | v1.22.6 | registry.k8s.io/scheduler-plugins/controller:v0.22.6 | AMD64<br>ARM64 |

doc/install.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- toc -->
66
- [Create a Kubernetes Cluster](#create-a-kubernetes-cluster)
7-
- [Install release v0.24.9 and use Coscheduling](#install-release-v0249-and-use-coscheduling)
7+
- [Install release v0.25.7 and use Coscheduling](#install-release-v0257-and-use-coscheduling)
88
- [As a second scheduler](#as-a-second-scheduler)
99
- [As a single scheduler (replacing the vanilla default-scheduler)](#as-a-single-scheduler-replacing-the-vanilla-default-scheduler)
1010
- [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
2424
* [kubeadm](https://kubernetes.io/docs/admin/kubeadm/)
2525
* [minikube](https://minikube.sigs.k8s.io/)
2626

27-
## Install release v0.24.9 and use Coscheduling
27+
## Install release v0.25.7 and use Coscheduling
2828

2929
Note: we provide two ways to install the scheduler-plugin artifacts: as a second scheduler
3030
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
146146
> - --kubeconfig=/etc/kubernetes/scheduler.conf
147147
> - --leader-elect=true
148148
19,20c20
149-
< image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.24.9
149+
< image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.7
150150
---
151-
> image: registry.k8s.io/kube-scheduler:v1.24.9
151+
> image: registry.k8s.io/kube-scheduler:v1.25.7
152152
50,52d49
153153
< - mountPath: /etc/kubernetes/sched-cc.yaml
154154
< name: sched-cc
@@ -160,14 +160,14 @@ any vanilla Kubernetes scheduling capability. Instead, a lot of extra out-of-box
160160
< name: sched-cc
161161
```
162162

163-
1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.24.9`
163+
1. Verify that kube-scheduler pod is running properly with a correct image: `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.7`
164164

165165
```bash
166166
$ kubectl get pod -n kube-system | grep kube-scheduler
167167
kube-scheduler-kind-control-plane 1/1 Running 0 3m27s
168168
169169
$ kubectl get pods -l component=kube-scheduler -n kube-system -o=jsonpath="{.items[0].spec.containers[0].image}{'\n'}"
170-
registry.k8s.io/scheduler-plugins/kube-scheduler:v0.24.9
170+
registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.7
171171
```
172172

173173
> **⚠️Troubleshooting:** If the kube-scheudler is not up, you may need to restart kubelet service inside the kind control plane (`systemctl restart kubelet.service`)
@@ -238,27 +238,26 @@ Now, we're able to verify how the coscheduling plugin works.
238238
```bash
239239
$ kubectl get pod
240240
NAME READY STATUS RESTARTS AGE
241-
pause-58f7d7db67-7sqgp 0/1 Pending 0 9s
242-
pause-58f7d7db67-jbmfv 0/1 Pending 0 9s
241+
pause-646dbcfb64-4zvt6 0/1 Pending 0 9s
242+
pause-646dbcfb64-8kpg4 0/1 Pending 0 9s
243243
```
244244

245-
1. Now let's delete the deployment to re-create it with replicas=3, so as to qualify for `minMember`
245+
1. Now let's scale the deployment up to have 3 replicas, so as to qualify for `minMember`
246246
(i.e., 3) of the associated PodGroup:
247247
248248
```bash
249-
$ kubectl delete -f deploy.yaml && sed 's/replicas: 2/replicas: 3/' deploy.yaml | kubectl apply -f -
250-
deployment.apps "pause" deleted
251-
deployment.apps/pause created
249+
$ kubectl scale deploy pause --replicas=3
250+
deployment.apps/pause scaled
252251
```
253252
254253
And wait for a couple of seconds, it's expected to see all Pods get into running state:
255254

256255
```bash
257256
$ kubectl get pod
258257
NAME READY STATUS RESTARTS AGE
259-
pause-64f5c9ccf4-kprg7 1/1 Running 0 8s
260-
pause-64f5c9ccf4-tc8lx 1/1 Running 0 8s
261-
pause-64f5c9ccf4-xrgkw 1/1 Running 0 8s
258+
pause-646dbcfb64-4zvt6 1/1 Running 0 42s
259+
pause-646dbcfb64-8kpg4 1/1 Running 0 42s
260+
pause-646dbcfb64-npzcf 1/1 Running 0 8s
262261
```
263262

264263
1. You can also get the PodGroup's spec via:

manifests/install/charts/as-a-second-scheduler/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.24.9
18+
version: 0.25.7
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 0.24.9
23+
appVersion: 0.25.7

manifests/install/charts/as-a-second-scheduler/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ The following table lists the configurable parameters of the as-a-second-schedul
4545
| Parameter | Description | Default |
4646
|---------------------------|-----------------------------|-------------------------------------------------------------------------------------------------|
4747
| `scheduler.name` | Scheduler name | `scheduler-plugins-scheduler` |
48-
| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.24.9` |
48+
| `scheduler.image` | Scheduler image | `registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.7` |
4949
| `scheduler.leaderElect` | Scheduler leaderElection | `false` |
5050
| `scheduler.replicaCount` | Scheduler replicaCount | `1` |
5151
| `controller.name` | Controller name | `scheduler-plugins-controller` |
52-
| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.24.9` |
52+
| `controller.image` | Controller image | `registry.k8s.io/scheduler-plugins/controller:v0.25.7` |
5353
| `controller.replicaCount` | Controller replicaCount | `1` |
5454
| `plugins.enabled` | Plugins enabled by default | `["Coscheduling","CapacityScheduling","NodeResourceTopologyMatch", "NodeResourcesAllocatable"]` |
5555
| `plugins.disabled` | Plugins disabled by default | `["PrioritySort"]` |

manifests/install/charts/as-a-second-scheduler/templates/rbac.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ rules:
6666
- apiGroups: ["scheduling.x-k8s.io"]
6767
resources: ["podgroups", "elasticquotas", "podgroups/status", "elasticquotas/status"]
6868
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
69-
# for network-aware plugins add the following lines (scheduler-plugins v.0.24.9)
70-
#- apiGroups: [ "appgroup.diktyo.k8s.io" ]
69+
# for network-aware plugins add the following lines (scheduler-plugins v.0.25.7)
70+
#- apiGroups: [ "appgroup.diktyo.x-k8s.io" ]
7171
# resources: [ "appgroups" ]
7272
# verbs: [ "get", "list", "watch", "create", "delete", "update", "patch" ]
73-
#- apiGroups: [ "networktopology.diktyo.k8s.io" ]
73+
#- apiGroups: [ "networktopology.diktyo.x-k8s.io" ]
7474
# resources: [ "networktopologies" ]
7575
# verbs: [ "get", "list", "watch", "create", "delete", "update", "patch" ]
7676
---

manifests/install/charts/as-a-second-scheduler/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
scheduler:
66
name: scheduler-plugins-scheduler
7-
image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.24.9
7+
image: registry.k8s.io/scheduler-plugins/kube-scheduler:v0.25.7
88
replicaCount: 1
99
leaderElect: false
1010

1111
controller:
1212
name: scheduler-plugins-controller
13-
image: registry.k8s.io/scheduler-plugins/controller:v0.24.9
13+
image: registry.k8s.io/scheduler-plugins/controller:v0.25.7
1414
replicaCount: 1
1515

1616
# LoadVariationRiskBalancing and TargetLoadPacking are not enabled by default

0 commit comments

Comments
 (0)