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 54
54
- --lora-info-metric
55
55
- " " # Set an empty metric to disable LoRA metric scraping as they are not supported by Triton yet.
56
56
{{- end }}
57
- {{- if gt .Values.inferenceExtension.replicas 1 }}
57
+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
58
58
- --ha-enable-leader-election
59
59
{{- end }}
60
60
# Pass additional flags via the inferenceExtension.flags field in values.yaml.
73
73
{{- toYaml .Values.inferenceExtension.extraContainerPorts | nindent 8 }}
74
74
{{- end }}
75
75
livenessProbe :
76
- {{- if gt .Values.inferenceExtension.replicas 1 }}
76
+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
77
77
grpc :
78
78
port : 9003
79
79
service : liveness
85
85
initialDelaySeconds : 5
86
86
periodSeconds : 10
87
87
readinessProbe :
88
- {{- if gt .Values.inferenceExtension.replicas 1 }}
88
+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
89
89
grpc :
90
90
port : 9003
91
91
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 }}
2
2
---
3
3
kind : Role
4
4
apiVersion : rbac.authorization.k8s.io/v1
You can’t perform that action at this time.
0 commit comments