DELETE /mltk/start_container/{model_name}

DELETE /mltk/start_container/{model_name}

Tear down the container/deployment for `model_name`.

Description. Tear down the container/deployment for model_name. Calls Docker stop() or K8SUtils.delete_deployment() (and delete_hpa() if HPA was enabled). Runtime fields are cleared from the stanza (or the stanza is removed entirely unless its name contains __dev__).

Example.

curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" -X DELETE 
  "$SPLUNK_HOST/servicesNS/nobody/Splunk_ML_Toolkit/mltk/start_container/my_model?output_mode=json"

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

Type to search the portal.