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 51
51
- --lora-info-metric
52
52
- " " # Set an empty metric to disable LoRA metric scraping as they are not supported by Triton yet.
53
53
{{- end }}
54
- {{- if gt .Values.inferenceExtension.replicas 1 }}
54
+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
55
55
- --ha-enable-leader-election
56
56
{{- end }}
57
57
# Pass additional flags via the inferenceExtension.flags field in values.yaml.
70
70
{{- toYaml . | nindent 8 }}
71
71
{{- end }}
72
72
livenessProbe :
73
- {{- if gt .Values.inferenceExtension.replicas 1 }}
73
+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
74
74
grpc :
75
75
port : 9003
76
76
service : liveness
82
82
initialDelaySeconds : 5
83
83
periodSeconds : 10
84
84
readinessProbe :
85
- {{- if gt .Values.inferenceExtension.replicas 1 }}
85
+ {{- if gt ( .Values.inferenceExtension.replicas | int) 1 }}
86
86
grpc :
87
87
port : 9003
88
88
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