add priority class name and tolerations

This commit is contained in:
2024-10-13 12:39:03 -05:00
parent 2b31df483e
commit ec27eff4da
2 changed files with 11 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: generic-device-plugin
version: 0.1.1
version: 0.1.2
description: Generic Device Plugin
keywords:
- generic-device-plugin
@@ -15,4 +15,4 @@ dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts/
version: 3.5.1
appVersion: 0.1.1
appVersion: 0.1.2

View File

@@ -8,7 +8,13 @@ global:
controllers:
main:
type: daemonset
strategy: RollingUpdate
pod:
priorityClassName: system-node-critical
tolerations:
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
containers:
main:
image:
@@ -33,7 +39,7 @@ controllers:
path: /health
startup:
type: HTTP
path: /health
path: /health
securityContext:
privileged: True
configMaps:
@@ -62,7 +68,7 @@ persistence:
hostPath: /dev
serviceMonitor:
main:
serviceName: generic-device-plugin
serviceName: generic-device-plugin
endpoints:
- port: http
scheme: http