Skip to content

Commit

Permalink
[YUNIKORN-2192] Adjust the instruction of create/update ConfigMap (ap…
Browse files Browse the repository at this point in the history
…ache#374)

Closes: apache#374

Signed-off-by: Chia-Ping Tsai <[email protected]>
  • Loading branch information
targetoee authored and chia7712 committed Mar 30, 2024
1 parent ff1aec4 commit 7745cde
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/developer_guide/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,15 @@ This kubernetes environment can be either local or remote.
```
curl -o yunikorn-configs.yaml https://raw.githubusercontent.com/apache/yunikorn-k8shim/master/deployments/scheduler/yunikorn-configs.yaml
```
- modify the content of yunikorn-configs.yaml file as needed, and create ConfigMap in kubernetes:
- modify the content of yunikorn-configs.yaml file as needed, and apply yunikorn-configs.yaml file in kubernetes:
```
kubectl create configmap yunikorn-configs --from-file=yunikorn-configs.yaml
```
- Or update ConfigMap in kubernetes:
```
kubectl create configmap yunikorn-configs --from-file=yunikorn-configs.yaml -o yaml --dry-run=client | kubectl apply -f -
kubectl apply -f yunikorn-configs.yaml
```
- check if the ConfigMap was created/updated correctly:
```
kubectl describe configmaps yunikorn-configs
```
- for more configuration detail, see [Service Configuration](../user_guide/service_config.md).

## Deploy the Scheduler

Expand Down

0 comments on commit 7745cde

Please sign in to comment.