A config.yaml is all you need
config.yaml
file.
config.yaml
docker_server
:
start_command
(required) – Command to start the server.predict_endpoint
(required) – Endpoint for serving requests (only one per model).server_port
(required) – Port where the server runs.readiness_endpoint
(required) – Used for Kubernetes readiness probes to determine when the container is ready to accept traffic.liveness_endpoint
(required) – Used for Kubernetes liveness probes to determine if the container needs to be restarted./health
as the readiness and liveness probe.
requirements.txt
file to your Truss.
/secrets
in the container.