d485dcc9c8
rook-ceph-operator is being deployed during initinfra-target and needs to be scheduled on tainted node-role.kubernetes.io/master node. Change-Id: I648a60f06cd615085ffd19bb6c1b5cebb974ef0f Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
15 lines
353 B
YAML
15 lines
353 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: rook-ceph-operator
|
|
namespace: rook-ceph # namespace:operator
|
|
spec:
|
|
template:
|
|
spec:
|
|
tolerations:
|
|
# Mark the pod as a critical add-on for rescheduling.
|
|
- key: CriticalAddonsOnly
|
|
operator: Exists
|
|
- key: node-role.kubernetes.io/master
|
|
effect: NoSchedule
|