openshift201
  • Introduction
  • Getting Started
    • Create Account and Get Cluster
    • Configure Shell Access
  • Workshop
    • Cloudant DB with IBM Cloud Operator
    • Configure the Sysdig Agent
    • Monitor your Cluster with SysDig
    • Configure the LogDNA Agent
    • Analyze your logs with LogDNA
  • Resources
    • Docs: Red Hat OpenShift on IBM Cloud
    • Docs: OpenShift Container Platform 4.3
Powered by GitBook
On this page
  • Create a Sysdig service instance
  • Deploy the Sysdig agent in the cluster
  • Verify that the Sysdig agent is deployed successfully

Was this helpful?

  1. Workshop

Configure the Sysdig Agent

PreviousCloudant DB with IBM Cloud OperatorNextMonitor your Cluster with SysDig

Last updated 5 years ago

Was this helpful?

To integrate your monitoring instance with your OpenShift cluster, you must run a script that creates a project and privileged service account for the Sysdig agent.

If you've been invited to a lab account where an instance of Sysdig has already been provisioned and configured, skip the create and deploy steps and go to verify the agent at the bottom. Retrieve your Sysdig instance by looking at the cluster name in the tags attached to the instance.

Create a Sysdig service instance

  1. Create an instance of from the catalog:

    1. Set the Service name to YOUR_IBM_ID-sysdig.

    2. Select the location where your cluster is created. If the location is not in the list, pick the closest region (e.g. us-south).

    3. Use the default resource group.

    4. Click Create.

  2. In the , locate the service instance you created.

Deploy the Sysdig agent in the cluster

  1. On your instance, click Edit sources.

  2. Before running the curl command in the next step, make sure you're still logged in to the cluster. .

  3. Select the OpenShift tab and run the curl command next to Public Endpoint

    The Sysdig agent collects metrics such as the worker node CPU usage, worker node memory usage, HTTP traffic to and from your containers, and data about several infrastructure components.

Verify that the Sysdig agent is deployed successfully

Verify that the sydig-agent pods on each node have a Running status.

Run the following command:

oc get pods -n ibm-observe

Example output:

    NAME                 READY     STATUS    RESTARTS   AGE
    sysdig-agent-qrbcq   1/1       Running   0          1m
    sysdig-agent-rhrgz   1/1       Running   0          1m
IBM Cloud Monitoring with Sysdig
Observability category, under Monitoring
Access your cluster using the oc CLI
Sysdig Install