Skip to content

Commit

Permalink
Merge pull request #32 from coreydaley/bugzilla_2019722_cpu_memory_qos
Browse files Browse the repository at this point in the history
Bug 2019722: Add missing elements to node yaml
  • Loading branch information
openshift-merge-robot committed Nov 18, 2021
2 parents 3af4ebc + fc833d3 commit 642d486
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
21 changes: 19 additions & 2 deletions assets/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
labels:
app: shared-resource-csi-driver-node
spec:
updateStrategy:
rollingUpdate:
maxUnavailable: 10%
type: RollingUpdate
selector:
matchLabels:
app: shared-resource-csi-driver-node
Expand All @@ -14,6 +18,7 @@ spec:
labels:
app: shared-resource-csi-driver-node
spec:
priorityClassName: system-node-critical
serviceAccountName: csi-driver-shared-resource-plugin
containers:
- name: node-driver-registrar
Expand All @@ -40,7 +45,13 @@ spec:
name: registration-dir
- mountPath: /run/csi-data-dir
name: csi-data-dir

resources:
limits:
cpu: 200m
memory: 100Mi
requests:
cpu: 10m
memory: 20Mi
- name: hostpath
image: ${DRIVER_IMAGE}
# for development purposes; eventually switch to IfNotPresent
Expand Down Expand Up @@ -85,7 +96,13 @@ spec:
name: csi-volumes-map
- mountPath: /dev
name: dev-dir

resources:
limits:
cpu: 400m
memory: 300Mi
requests:
cpu: 10m
memory: 20Mi
volumes:
- configMap:
optional: true
Expand Down
21 changes: 19 additions & 2 deletions pkg/generated/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 642d486

Please sign in to comment.