File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
config/charts/inferencepool/templates Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5454 - --lora-info-metric
5555 - " " # Set an empty metric to disable LoRA metric scraping as they are not supported by Triton yet.
5656 {{- end }}
57- {{- if gt .Values.inferenceExtension.replicas 1 }}
57+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
5858 - --ha-enable-leader-election
5959 {{- end }}
6060 # Pass additional flags via the inferenceExtension.flags field in values.yaml.
7373 {{- toYaml .Values.inferenceExtension.extraContainerPorts | nindent 8 }}
7474 {{- end }}
7575 livenessProbe :
76- {{- if gt .Values.inferenceExtension.replicas 1 }}
76+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
7777 grpc :
7878 port : 9003
7979 service : liveness
8585 initialDelaySeconds : 5
8686 periodSeconds : 10
8787 readinessProbe :
88- {{- if gt .Values.inferenceExtension.replicas 1 }}
88+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
8989 grpc :
9090 port : 9003
9191 service : readiness
Original file line number Diff line number Diff line change 1- {{- if gt .Values.inferenceExtension.replicas 1 }}
1+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
22---
33kind : Role
44apiVersion : rbac.authorization.k8s.io/v1
You can’t perform that action at this time.
0 commit comments