Install on Kubernetes
This method will install the Steadybit Agent on your Kubernetes Cluster using Helm. So you need to have helm installed.
Prerequisites
You must be able to access the following URLs via HTTPS (443) on your target environment:
https://platform.steadybit.com (Platform)
https://steadybit.github.io (Kubernetes helm repository)
https://ghcr.io and https://github.com (Container Images)
Installation
To deploy the agent to Kubernetes, you can copy the installation script from the setup page in the SaaS platform.
Alternatively, you can update the script below with the name of your Kubernetes cluster and your agent key, which you find in the platform's setup page.
Just run the script while connected to your Kubernetes cluster.
To configure the installation, specify the values on the command line using the --set
flag, or provide a YAML file with your values using the -f
flag.
For more configuration options have a look at our steadybit/helm-charts repository.
Configure Container Runtime
By default, the agent assumes that your cluster uses the containerd
runtime. If this is not the case, you need to add--set extension-container.container.runtime=docker
or cri-o
.
Determine Container Runtime on a Node
In case of a managed Kubernetes service, there might be a vendor-specific method to check the container runtime. In case you have access on the kubectl
, you can get the container runtime via
The column CONTAINER-RUNTIME
shows you the runtime you are using. You can find further in the official Kubernetes documentation.
Configure custom On-Prem Platform
If you are running on-prem, make sure to set the URL of the platform: --set agent.registerUrl=<your-platform-url>
Extensions
The agent's purpose is to establish a communication from the platform to your systems. However, the discovery of your systems and providing Chaos Engineering to a technology works via extensions. By default, the helm chart already installs the extensions extension-container, extension-host, extension-http and extension-kubernetes.
Add more Extensions
Further extensions can be enabled via helm values of steadybit-agent. For example, extension-postman
can be enabled by settingextension-postman.enabled=true
. See our GitHub Repository for a detailed list of all the configuration parameters.
Alternatively, you can also install extensions independently with their own helm charts. The installation instructions are listed in the Github repositories of the extension and can be browsed via the Reliability Hub.
Disable Default Extensions
If you want to disable some, or all, of the default extensions, please set the following values in helm:
extension-container:
--set extension-container.enabled=false
extension-host:
--set extension-host.enabled=false
extension-http:
--set extension-http.enabled=false
extension-kubernetes:
--set extension-kubernetes.enabled=false
Alternative: Generate Kubernetes Manifests
We currently don't provide a static Kubernetes manifest, but you can generate it from the helm chart. We recommend to use the helm chart, as it is easier to update the agent and extensions.
Alternative: OpenShift installation
The SecurityContextConstraints for OpenShift are included in our helm chart. You need to configure the CRI-O container runtime and we're good to go.
Resource limits
Keep an eye on OOMing / crash looping agents and extensions after installation. The memory usage highly depends on the number of discovered targets. We try to provide reasonable defaults, but you might need to adapt the resource limits to your use case.
For example, to increase the memory limits for the agent:
Update
To update the agent and extensions, you can use the following command:
Last updated