Introduction

containerd is a simple, robust, and portable container runtime. containerd is available as a daemon for Linux and Windows and 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. The API offered by containerd lets you manage the environment using containerd easily and you can control everything through API calls.

OpsRamp supports containerd to discover and monitor the resource usage of your containers.

Deploying containerd

To deploy containerd: 

  1. Go to Setup > Integrations > Integrations
  2. From the Available Integrations section, click Compute
  3. From the Compute section, select K3S.
  4. On the K3S integration page, click Install
  5. In the Install K3S Integration window: 
    1. Give a suitable name to the integration. 
    2. For Deployment, select one of the following options:
      • On prem: If the containerd deployment is on-premises.
      • Cloud: If the conatinerd deployment is on a public cloud such as AWS. 
    3. For Container Engine, select ContainerD.
    4. Click Install.
      The K3S integration page displays the details of the integration and YAML files.
  6. Navigate to kube-controller and do the following steps:
    1. Copy the YAML content from the OpsRamp integration page and paste it to a new file in kube-controller. For example, opsramp-agent-kubernetes.yaml

    2. Execute the following command in kube-controller: 

    kubectl apply -f <YAML file>
    Example: 
    kubectl apply -f opsramp-agent-kubernetes.yaml
    
  7. Navigate to the OpsRamp console.
    1. Go to Infrastructure > Resources.
    2. Click k3s on the resource list pane.

A list of all the discovered nodes is displayed.