The containerd runtime is a simple, robust, and portable Linux and Windows daemon, which can manage the complete container lifecycle of its host system such as image transfer and storage, container execution and supervision, low-level storage, and network attachments. You can use containerd to deploy and manage Kubernetes and handle on-premise and cloud hardware. A containerd API is available to facilitate management of your environment.

Deploying Containerd

To deploy containerd to discover and monitor container resource usage:

  1. Go to Setup > Integrations > Integrations.

  2. In the Available Integrations section, click Compute.

  3. In the Compute section, select K3S.

  4. On the K3S integration page, click Install.

  5. In the Install K3S Integration window, enter a name for the integration.

  6. Select one of the following Deployment options:

    • On prem if the containerd deployment is on-premises.
    • Cloud if the containerd deployment is on a public cloud such as AWS.
  7. For Container Engine, select ContainerD.

  8. Click Install. The K3S integration page displays the details of the integration and YAML files.

  9. Navigate to kube-controller and copy the YAML content from the OpsRamp integration page and paste it to a new file in kube-controller, such as opsramp-agent-kubernetes.yaml.

    Change the following values in the YAML file as needed:

    • LOG_LEVEL: default= warn
    • K8S_EVENTS: default = False
    • DOCKER_EVENTS: default = False
  10. Execute the following command in kube-controller substituting your file name:

        kubectl apply -f <YAML file>
  11. Navigate to the OpsRamp console and go to Infrastructure > Resources.

  12. Click k3s on the resource list pane to display a list of all discovered nodes.