Kubernetes Agent
Ensure the following prerequisites are met before you install the agent
software and deploy the Java Management Service plug-in on a Kubernetes cluster. The
agent for Kubernetes will be displayed as Oracle Container Management Agent (OCMA).
Prerequisites:
Setup Kubernetes Environment
Verify that the following setup is in place:
- You have a host machine with network access to the Kubernetes cluster you want to monitor.
- The following tools are installed on your host machine:
kubectl
– Kubernetes command-line toolhelm
- Kubernetes package manager. See Installing Helm.OCI CLI
- Required for Oracle Kubernetes Engine clusters. Ensure that it is installed and configured with the appropriate OCI principal for accessing OCI services. See Command Line Interface (CLI).
- Your Kubernetes configuration (
kubeconfig
) is correctly set up.- Run
kubectl get nodes
to confirm connectivity to your target cluster.
- Run
See Using Kubernetes Monitoring Helm chart for detailed procedure to configure and install the Helm chart.
Download OCI Kubernetes Monitoring Helm chart
Make sure you follow these download instructions:
- On your host machine, download and extract the
latest release of the
oci-onm-<version>.tgz
file from OCI Kubernetes Monitoring GitHub releases page. Ensure the host has access to the target Kubernetes cluster to perform the Helm installation. - Copy the
base64-encoded
content of the input.rsp file.