Skip to content

Commit

Permalink
Update 19-Practice-Test-Multiple-Schedulers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Ayman authored May 10, 2022
1 parent a4bd531 commit 6aed53d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/03-Scheduling/19-Practice-Test-Multiple-Schedulers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,31 @@ Solutions to practice test - multiple schedulers
```
</details>

- Run the command 'kubectl describe pod kube-scheduler-master --namespace=kube-system'
- Run the command 'kubectl describe pod kube-scheduler-controlplane --namespace=kube-system'

<details>

```
$ kubectl describe pod kube-scheduler-master --namespace=kube-system
$ kubectl describe pod kube-scheduler-controlplane --namespace=kube-system
```
</details>

- Use the imperative command to create the configmap with option --from-file

<details>

```
$ kubectl create -n kube-system configmap my-scheduler-config --from-file=/root/my-scheduler-config.yaml
```
</details>

- Use the file at /root/my-scheduler.yaml to create your own scheduler with correct image.

- Use the file at /etc/kubernetes/manifests/kube-scheduler.yaml to create your own scheduler. View answer file at /var/answers

<details>

```
$ kubectl create -f my-scheduler.yaml
$ kubectl create -f /root/my-scheduler.yaml
```
</details>

Expand Down

0 comments on commit 6aed53d

Please sign in to comment.