set priorityclass on plugin pods

set system-node-critical priority on the plugin
pods, as its the highest priority and this need to
be applied on plugin pods as its critical for
storage in cluster.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2020-05-05 13:57:38 +05:30
committed by mergify[bot]
parent 2363d2a789
commit 2190ca922e
4 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,7 @@ spec:
app: csi-cephfsplugin
spec:
serviceAccount: cephfs-csi-nodeplugin
priorityClassName: system-node-critical
hostNetwork: true
# to use e.g. Rook orchestrated cluster, and mons' FQDN is
# resolved through k8s service, set dns policy to cluster first

View File

@ -15,6 +15,7 @@ spec:
serviceAccount: rbd-csi-nodeplugin
hostNetwork: true
hostPID: true
priorityClassName: system-node-critical
# to use e.g. Rook orchestrated cluster, and mons' FQDN is
# resolved through k8s service, set dns policy to cluster first
dnsPolicy: ClusterFirstWithHostNet