REST API Reference

Container Lifecycle (DSDL)

Endpoints in the Container Lifecycle (DSDL) group of the /mltk/** REST API.

These endpoints back Splunk's Data Science & Deep Learning (DSDL) integration: managing Docker / Kubernetes connection configs, starting and stopping containers, and fetching container state and logs.

Endpoint Methods Source file
/mltk/container_connection POST bin/rest_handlers/container_connection.py
/mltk/container_connection/{container_type} GET bin/rest_handlers/container_connection.py
/mltk/container_connection/{container_type}/{connection_name} GET, DELETE bin/rest_handlers/container_connection.py
/mltk/test_container_connection GET, POST bin/rest_handlers/test_container_connection.py
/mltk/container_data GET bin/rest_handlers/container_data.py
/mltk/container_logs GET, POST bin/rest_handlers/container_logs.py
/mltk/start_container GET, POST bin/rest_handlers/start_container.py
/mltk/start_container/{model_name} DELETE bin/rest_handlers/start_container.py
/mltk/stop_container GET, POST bin/rest_handlers/stop_container.py

Backing stores. container_connections.conf (connection credentials and cluster defaults), dsdl_container.conf (per-deployment runtime state), docker_images.conf (image catalog), passwords.conf (TLS certs, keys, Docker/k8s tokens).

Container types. docker, kubernetes. Kubernetes auth modes: cert-key, user-token, user-login, aws-iam, service-account.

Endpoints Permalink to this section

Section Method Endpoint Page
8.1 POST /mltk/container_connection post-container-connection
8.2 GET /mltk/container_connection/{container_type} get-container-connection-container-type
8.3 GET /mltk/container_connection/{container_type}/{connection_name} get-container-connection-container-type-connection-name
8.4 DELETE /mltk/container_connection/{container_type}/{connection_name} delete-container-connection-container-type-connection-name
8.5 POST /mltk/test_container_connection post-test-container-connection
8.6 GET /mltk/test_container_connection get-test-container-connection
8.7 GET /mltk/container_data get-container-data
8.8 GET /mltk/container_logs get-container-logs
8.9 POST /mltk/container_logs post-container-logs
8.10 POST /mltk/start_container post-start-container
8.11 GET /mltk/start_container get-start-container
8.12 DELETE /mltk/start_container/{model_name} delete-start-container-model-name
8.13 POST /mltk/stop_container post-stop-container
8.14 GET /mltk/stop_container get-stop-container

Press Cmd/Ctrl+K to focus search. Esc to close.

Type to search the portal.