Skip to content

Commit

Permalink
Expose tritonserver args in values.yaml (#5582)
Browse files Browse the repository at this point in the history
  • Loading branch information
okyspace authored Mar 4, 2024
1 parent 5ba53d8 commit 46f87ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deploy/k8s-onprem/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ spec:
limits:
nvidia.com/gpu: {{ .Values.image.numGpus }}

args: ["tritonserver", "--model-repository=/models"]
args:
- tritonserver
{{- range .Values.serverArgs }}
- {{ . }}
{{- end }}

ports:
- containerPort: 8000
Expand Down
4 changes: 4 additions & 0 deletions deploy/k8s-onprem/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ image:
modelRepositoryPath: /srv/models
numGpus: 1

# add server args here e.g. --grpc-use-ssl, --grpc-server-certs, repository-poll-secs, etc
serverArgs:
- '--model-repository=/models'

traefik:
ports:
triton-http:
Expand Down

0 comments on commit 46f87ff

Please sign in to comment.