LoginSignup
0
0

More than 3 years have passed since last update.

[備忘録] OpenShiftでマスターノードのNoSchedule Taintを外す

Posted at

マスターノードのTaintを外す。

oc adm taint node <node-id> node-role.kubernetes.io/master:NoSchedule-

または:

kubectl taint node <node-id> node-role.kubernetes.io/master:NoSchedule-

Taintが外れたかどうかを確認。

oc get node <node-id> -o yaml | yq e .spec -

Taintが外れない場合

デフォルトスケジューラでmastersSchedulable: falseに設定されている可能性がある。

oc get schedulers cluster -o yaml | yq e .spec.mastersSchedulable -
mastersSchedulable: false
...

これでマスターノードにもスケジューリングされるようになる。

oc patch schedulers cluster --type=merge -p '{"spec":{"mastersSchedulable":true}}'
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0