Skip to content

Commit

Permalink
user manuals: fix missing pod priorityClassName (koordinator-sh#156)
Browse files Browse the repository at this point in the history
Signed-off-by: saintube <saintube@foxmail.com>
  • Loading branch information
saintube authored Dec 18, 2023
1 parent 7ce11fa commit 75fc23f
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/user-manuals/cpu-evict.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ as the [example](https://github.com/koordinator-sh/charts/blob/main/versions/v1.
kubernetes.io/batch-memory: 4Gi
restartPolicy: Always
schedulerName: default-scheduler
# priorityClassName is required when ColocationProfile enabled (default).
priorityClassName: koord-batch
```

4. Run the following command to deploy the be-pod-demo pod in the cluster:
Expand Down
1 change: 1 addition & 0 deletions docs/user-manuals/cpu-qos.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ Please make sure Koordinator components are correctly installed in your cluster.
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# priorityClassName is required when ColocationProfile enabled (default).
priorityClassName: koord-batch
```

Expand Down
2 changes: 2 additions & 0 deletions docs/user-manuals/memory-evict.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ as the [example](https://github.com/koordinator-sh/charts/blob/main/versions/v1.
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# priorityClassName is required when ColocationProfile enabled (default).
priorityClassName: koord-batch
```

4. Run the following command to deploy the be-pod-demo pod in the cluster:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ Koordinator提供了CPU的[动态压制能力](/docs/user-manuals/cpu-suppress)
kubernetes.io/batch-memory: 4Gi
restartPolicy: Always
schedulerName: default-scheduler
# 当ColocationProfile功能开启时(默认启用),priorityClassName是必填的
priorityClassName: koord-batch
```

4. 执行以下命令,将be-pod-demo部署到集群。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Kubernetes支持将多种类型的应用以容器化的方式部署在同一台
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# 当ColocationProfile功能开启时(默认启用),priorityClassName是必填的
priorityClassName: koord-batch
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Koordinator支持了将节点空闲资源动态超卖给低优先级Pod,在混
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# 当ColocationProfile功能开启时(默认启用),priorityClassName是必填的
priorityClassName: koord-batch
```

4. 执行以下命令,将be-pod-demo部署到集群。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ Koordinator提供了CPU的[动态压制能力](/docs/user-manuals/cpu-suppress)
kubernetes.io/batch-memory: 4Gi
restartPolicy: Always
schedulerName: default-scheduler
# 当ColocationProfile功能开启时(默认启用),priorityClassName是必填的
priorityClassName: koord-batch
```

4. 执行以下命令,将be-pod-demo部署到集群。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Kubernetes支持将多种类型的应用以容器化的方式部署在同一台
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# 当ColocationProfile功能开启时(默认启用),priorityClassName是必填的
priorityClassName: koord-batch
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Koordinator支持了将节点空闲资源动态超卖给低优先级Pod,在混
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# 当ColocationProfile功能开启时(默认启用),priorityClassName是必填的
priorityClassName: koord-batch
```

4. 执行以下命令,将be-pod-demo部署到集群。
Expand Down
2 changes: 2 additions & 0 deletions versioned_docs/version-v1.3/user-manuals/cpu-evict.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ as the [example](https://github.com/koordinator-sh/charts/blob/main/versions/v1.
kubernetes.io/batch-memory: 4Gi
restartPolicy: Always
schedulerName: default-scheduler
# priorityClassName is required when ColocationProfile enabled (default).
priorityClassName: koord-batch
```

4. Run the following command to deploy the be-pod-demo pod in the cluster:
Expand Down
1 change: 1 addition & 0 deletions versioned_docs/version-v1.3/user-manuals/cpu-qos.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ Please make sure Koordinator components are correctly installed in your cluster.
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# priorityClassName is required when ColocationProfile enabled (default).
priorityClassName: koord-batch
```

Expand Down
2 changes: 2 additions & 0 deletions versioned_docs/version-v1.3/user-manuals/memory-evict.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ as the [example](https://github.com/koordinator-sh/charts/blob/main/versions/v1.
name: stress
restartPolicy: Always
schedulerName: default-scheduler
# priorityClassName is required when ColocationProfile enabled (default).
priorityClassName: koord-batch
```

4. Run the following command to deploy the be-pod-demo pod in the cluster:
Expand Down

0 comments on commit 75fc23f

Please sign in to comment.