Skip to main content
This guide describes how to validate connectivity and functional operation of a HiddenLayer Runtime deployment after it has been successfully deployed to a Kubernetes cluster. At this stage:
  • The Kubernetes cluster is provisioned.
  • The Runtime Kubernetes resources have been applied.
  • Pods are running successfully.
  • The service has been created, typically as an internal LoadBalancer.
The purpose of this guide is to confirm:
  • The Runtime service is reachable
  • The Kubernetes service routing is functioning
  • The API endpoint is responding correctly
  • Interaction payloads can be submitted successfully
This validation ensures the infrastructure and runtime configuration are working before integrating upstream LLMs or application traffic.

1. Confirm Deployment Health

Verify the pod is running:
Expected output:
If the pod is not Running, investigate before continuing:
Check the Events section for common issues:
  • ImagePullBackOff — registry secret or image path issue
  • CrashLoopBackOff — container is starting and crashing; check logs with kubectl -n {namespace} logs <pod-name>
  • Pending — insufficient cluster resources or node selector mismatch

2. Access the Service

If the Service is configured as an internal LoadBalancer, direct access may not be available from your workstation. The recommended validation method is port forwarding. Start port forwarding:
You should see:
Leave this terminal running. This forwards:
  • Local port 8080
  • To Service port 80
  • Which maps to container port 8000

3. Validate Basic API Connectivity

From a separate terminal, confirm the route exists:
Expected response:
This confirms the endpoint requires POST.

4. Submit a Minimal Interaction Request

Send a valid interaction payload to confirm end-to-end functionality:
Important NoteThis is a sample interaction submitted directly to Runtime for validation purposes.
  • This test does not require a live connection to an upstream LLM.
  • Because both input and output are provided in the request, Runtime evaluates the interaction payload without needing to proxy a model call.
  • The response confirms API connectivity, schema validation, and detection processing.
Expected result:
  • HTTP 200 OK
  • JSON response containing detection results
If required fields are missing, you may receive:
A 422 response still confirms:
  • Connectivity is functioning
  • Schema validation is active
  • The API is responding correctly
In addition to the API response, Runtime will emit structured logs inside the container. You can view them with:
For details on the log output format, see Container Logging.

5. Confirm Application Logs

To validate that the application server is running:
Look for:
This confirms the API server is active inside the pod.

6. Optional: Test via Internal LoadBalancer

If you are on corporate VPN or have direct access to the cluster network:
Then:

Common Troubleshooting Reference