Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

On-prem platform

This part of the documentation is only intended in the context of a supported PoC (Proof of Concept) together with the Steadybit team. Please, book an appointment to scope your PoC before continuing to evaluate the on-prem solution.

If you just want to try out Steadybit, we recommend you sign up for our SaaS platform.

This page describes some common issues and how to solve them.

Pulling the platform images fails with unauthorized: authentication required or pods are in ImagePullBackOff

The platform images on docker.steadybit.io require authentication. The username is _ and the password is your agent key.

  • When deploying via our Helm chart, the image pull secret is created automatically from platform.tenant.agentKey. Verify that the agent key is set correctly:

kubectl get secret -n steadybit-platform steadybit-platform-pull-secrets -o jsonpath='{.data.\.dockerconfigjson}' | base64 -d
  • When pulling images manually, e.g., on plain Docker hosts or to mirror them into an internal registry, log in first:

docker login docker.steadybit.io --username _ --password <replace-with-agent-key>

Platform and Postgres are in CrashLoopBackOff

  • Check the logs of the platform and Postgres containers

    kubectl logs -f -n steadybit-platform steadybit-platform-postgresql-0 --previous
    kubectl logs -f -n steadybit-platform steadybit-platform-0 --previous
  • Verify that the Postgres password is correct and base64-encoded in the manifest file

Create a heap dump

Prerequisites:

  • If the platform is launched under Docker, you need to have a dedicated volume or use an existing one for this mount path.

  • Network access to the host machine, to retrieve the file.

The platform can suffer from out-of-memory issues at the JVM level. If that happens, a heap dump might be needed to diagnose the problem further. To produce one, add this environment variable:

Then you need to retrieve the heap dump, usually by copying the file to your machine:

Kubernetes namespaces and deployments show up multiple times in the landscape table

  • Check the logs of the agents

  • If you see this error: Missing permissions to create leases for the leader elections or Cannot perform leader election. All agents will behave as leader.

    • Check if the agent has the correct permissions to create leases.

Agents are not able to connect to the platform during an experiment

  • Check if you can reach the platform from the agent:

  • Check if the agent can reach the WebSocket port of the platform.

    • This is usually port 7878 and can be configured in the platform manifest via environment variable STEADYBIT_WEB_PUBLIC_EXPERIMENT_PORT (Helm chart: platform.publicWebsocketPort)

    • If setting the port is not enough, you can set the URL via the environment variable STEADYBIT_WEB_PUBLIC_EXPERIMENT_URL (Helm chart: platform.ingressOrigin)

    • Please also check your ingress configuration.

    • You can try to connect to the WebSocket port via curl:

Platform is behind Nginx and the agents are not able to connect to the platform

Error message in the platform logs:

Solution:

  • set the nginx backend protocol to HTTPS instead of HTTP

The platform is configured with an OIDC provider, and the redirect to the platform is sent as http instead of https

Example error message in the browser:

Solution:

Set the environment variable server.tomcat.remoteip.trusted-proxies to a regex that matches the CIDRs of your load balancer or reverse proxy, by adding it to the platform manifest. The example below matches the Google Cloud Load Balancer CIDRs:

Last updated

Was this helpful?