File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
templates/compute-domain-dra-plugin Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,22 @@ containers:
3737 value: " /var/lib/kubelet/plugins_registry"
3838 - name: KUBELET_PLUGINS_DIRECTORY_PATH
3939 value: " /var/lib/kubelet/plugins"
40+ {{- if .Values.computeDomainDraPlugin.healthcheckPort }}
41+ - name: HEALTHCHECK_PORT
42+ value: {{ .Values.computeDomainDraPlugin.healthcheckPort | quote }}
43+ {{- end }}
4044 name: compute-domain-dra-plugin-ctr
45+ {{- if (gt (int .Values.computeDomainDraPlugin.healthcheckPort ) 0) }}
46+ livenessProbe:
47+ grpc:
48+ port: {{ .Values.computeDomainDraPlugin.healthcheckPort }}
49+ service: liveness
50+ initialDelaySeconds: 30
51+ periodSeconds: 10
52+ timeoutSeconds: 5
53+ failureThreshold: 3
54+ successThreshold: 1
55+ {{- end }}
4156 securityContext:
4257 privileged: true
4358 terminationMessagePath: /dev/termination-log
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ computeDomainController:
194194
195195computeDomainDraPlugin :
196196 enabled : false
197+ healthcheckPort : 8082
197198 image :
198199 pullPolicy : Always
199200 repository : ghcr.io/run-ai/fake-gpu-operator/compute-domain-dra-plugin
You can’t perform that action at this time.
0 commit comments