Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,22 @@ containers:
value: "/var/lib/kubelet/plugins_registry"
- name: KUBELET_PLUGINS_DIRECTORY_PATH
value: "/var/lib/kubelet/plugins"
{{- if .Values.computeDomainDraPlugin.healthcheckPort }}
- name: HEALTHCHECK_PORT
value: {{ .Values.computeDomainDraPlugin.healthcheckPort | quote }}
{{- end }}
name: compute-domain-dra-plugin-ctr
{{- if (gt (int .Values.computeDomainDraPlugin.healthcheckPort) 0) }}
livenessProbe:
grpc:
port: {{ .Values.computeDomainDraPlugin.healthcheckPort }}
service: liveness
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
{{- end }}
securityContext:
privileged: true
terminationMessagePath: /dev/termination-log
Expand Down
1 change: 1 addition & 0 deletions deploy/fake-gpu-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ computeDomainController:

computeDomainDraPlugin:
enabled: false
healthcheckPort: 8082
image:
pullPolicy: Always
repository: ghcr.io/run-ai/fake-gpu-operator/compute-domain-dra-plugin
Expand Down
Loading