POST /mltk/test_container_connection
POST /mltk/test_container_connection
Same body shape as `POST /mltk/container_connection` plus active connectivity verification.
Description. Same body shape as POST /mltk/container_connection plus active connectivity verification. Docker is pinged via docker.from_env(...).ping(); Kubernetes attempts to initialize a client. Secrets are encoded into passwords.conf and the connection is then saved.
Response (200).
{
"status": "success",
"message": "Container configurations validated successfully",
"updated_config": { /* echoed */ }
}
Error (500).
{ "status": "fail", "message": "Failed to validate the configuration details: Could not ping Docker" }