Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose tritonserver args in values.yaml #5582

Merged
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:
okyspace marked this conversation as resolved.
Show resolved Hide resolved
- tritonserver
{{- range .Values.serverArgs }}
- {{.}}
okyspace marked this conversation as resolved.
Show resolved Hide resolved
{{- 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:
okyspace marked this conversation as resolved.
Show resolved Hide resolved
- '--model-repository=/models'

traefik:
ports:
triton-http:
Expand Down