×
This section provides detailed instructions for installing and managing the OpsRamp Agent on a Kubernetes 2.0 Cluster. Follow these steps:
- Step 1: Install Kubernetes 2.0 Integration
- Step 2: Create Configurtion for the Cluster
- Step 3: Download the YAML file
- Step 4: Install Kubernetes 2.0 OpsRamp Agent on the Kubernetes Cluster
Prerequisites
- Ensure that the Helm repository is accessible from the user cluster.
- The Agent repository must also be reachable from the user cluster.
Step 1: Install Kubernetes 2.0 Integration
- Select a client from the All Clients dropdown list.
- Navigate to Setup > Account. The Account Details screen will appear.
- Click Integrations. The Installed Integrations screen is displayed with all the installed applications.
Note: If no applications are installed, you’ll be directed to the Available Integrations page, displaying all available applications, including the newly activated Kubernetes 2.0 integration. - Click + ADD on the Installed Integrations page.
Note: Search for the integration by entering “Kubernetes 2.0” or by selecting “Container Orchestration” from the All Categories dropdown list. - Click ADD in the Kubernetes 2.0 application card.
- The Integration is now installed and will appear on the Installed Integrations screen.
Step 2: Create Configurtion for the Cluster
- Navigate to the Installed Integrations screen.
- Click on the Kubernetes 2.0 application to open the Configuration screen.
- In the Configuration screen, click + ADD.
- Enter the following BASIC INFORMATION.
- Name: Enter the name for the configuration.
- Distribution Type: Select the Distribution Type from following.
- K8S
- EKS
- AKS
- GKE
- K3S
- MICROK8S
- RKE2
- OKD.
5. Click ADD.
6. Once saved, it will appear on the configurations page.
- To add more configurations, click + ADD again.
- Advanced Settings: Select this checkbox if you want to bypass resource reconciliation for resources discovered via multiple apps.
Manage the configuration
Once the configuration is created, you can manage it by clicking the ellipsis (…). The below options are available:
- Edit: Modify the Distribution Type and click Update.
- Remove: This will delete all resources and related metrics associated with the configuration.
- Instruction: Detailed instructions to install the OpsRamp Agent on Kubernetes cluster.
- Download YAML: Link to download the YAML file.
- Copy UID: Hover over the UID, then click the copy button to copy the UID.
Step 3: Copy or Download the YAML file
Download
- Click the ellipsis (…) next to the configuration and select Download YAML.
- The YAML file will be downloaded in your local system.
Copy:
- Click the ellipsis (…) next to the configuration and select Instructions.
- The YAML content will be displayed on the screen.
- Click on the Copy button to copy the yaml content.
Step 4: Install OpsRamp Agent on the Kubernetes Cluster
- Log in to your
server/host
and ensure yourkubeconfig
is pointing to the Kubernetes cluster. - Run the following command to install the OpsRamp Agent on the cluster:
helm install opsramp oci://us-docker.pkg.dev/opsramp-registry/agent-helm-charts/agent -n opsramp-agent --create-namespace --values opsramp-agent-values.yaml
Modifying Kubernetes 2.0 Integration
For detailed instructions on modifying an installed integration, see the Modify an Installed Integration or Application article.