Free Report! Gartner® Hype Cycle™ for Monitoring and Observability.Read more

Install Kubernetes Agents

Install

Kubernetes Agent installation has a different flow than normal agents.

Steps

  1. Create a configuration for a Kubernetes platform
    1. Kubernetes Node: Deploys an agent to each node in the cluster using a DaemonSet.
    2. Kubernetes Cluster: Deploys an agent as a single pod Deployment.
    3. Kubernetes Gateway: Deploys a scalable set of agents using a StatefulSet.
    4. OpenShift Daemonset: Deploys an agent to each node in the cluster.
    5. OpenShift Deployment: Deploys an agent as a single pod deployment.
  2. Navigate to the agent's page and select "Install Agents"
  3. Choose a Kubernetes Platform
  4. Select your configuration from step 1
  5. Copy the YAML manifest to a file
  6. Deploy the YAML manifest with kubectl apply -f <file name>

The agents will be deployed to the cluster in the bindplane-agent namespace and connect to BindPlane OP automatically.

Example Installation

Create a configuration using a Kubernetes-compatible source. This example uses the Kubernetes Container Logs source.

observIQ docs - Install, Upgrade, and Uninstall Agents - image 1

Once the configuration has been created, navigate to the Agents page and select "Install Agents".

Select your Kubernetes platform and configuration. You will be prompted to copy the YAML manifest. Copy it and save it to a file.

observIQ docs - Install, Upgrade, and Uninstall Agents - image 2

Ensure that the OPAMP_ENDPOINTenvironment variable has the correct value for your server. If you did not configure ingress, this value should match your deployment clusterIP service name and namespace. In this example, the service name is "my-bindplane" and the namespace is "default".

text
1- name: OPAMP_ENDPOINT
2  value: "ws://my-bindplane.default.svc.cluster.local:3001/v1/opamp"

If you configured ingress, your OPAMP_ENDPOINT should contain the ingress hostname and port. The port should be 80 for non-TLS ingress, and 443 if ingress TLS is enabled. Similarly, the protocol should be ws (websocket) when TLS is not configured, and wss (secure web socket) when TLS is enabled.

Deploy the YAML manifest with kubectl apply -f <manifest file path>. Once deployed, your agent(s) will appear on the Agents page, and they will be bound to your configuration.

observIQ docs - Install, Upgrade, and Uninstall Agents - image 3