Introduction
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:
Go to Setup > Integrations > Integrations.
In the Available Integrations section, click Compute.
In the Compute section, select K3S.
On the K3S integration page, click Install.
In the Install K3S Integration window, enter a name for the integration.
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.
For Container Engine, select ContainerD.
Click Install. The K3S integration page displays the details of the integration and YAML files.
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
Execute the following command in kube-controller substituting your file name:
kubectl apply -f <YAML file>
Navigate to the OpsRamp console and go to Infrastructure > Resources.
Click k3s on the resource list pane to display a list of all discovered nodes.