How to deploy openshift cluster instana agent for Multibackends?

Candan Celik
4 min readJul 14, 2022

--

In this article, I would like to explain how can be deployed instana agents to openshift clusters which is the continuation of our previous article(IBM Observability by Instana Multibackends Based on Docker Installation). Agent deployment procedure is very easy and practical.The Instana Host Agent has two types, dynamic and static.

Firstly, go to the instana console and click the dashboard from the left side menu.

Dashboard

When you click Deploy Agent at the right top of side, installing agents page will be opened on the basis of platform and OS.

Installing Instana Agent

There are three methods to deploy agent;YAML,Operator,Helm Chart. Instana recommends installing the agent with the operator.

Detailed information about the operator setup like instana service endpoint,instana service port ,instana application key will be given when you select technology as a operator.

Operator

Now, connect to openshift cluster container console which is the agent will be installed and download the instana agent operator from operators.

Instana Agent Operator

Note: Requirements ports should be opened before agent installation. Agents and backends should be communicate from TCP/1444.

After installing instana agent operator , need to set up a project for the instana agent and configure .

Set up Project

Now, you can create InstanaAgent from Openshift Container Platform.

Create InstanaAgent

When you click Create InstanaAgent , new screen will be opened and two different configuration type options will be seen on the screen. Recommendation is YAML view so we will use this method.

Create InstanaAgent Configure

We need to pay attention to in this section is to configure the endpointHost endpointport , key ,cluster name and zone name.

Since we set up a multibackend structure, we had to add the 2nd host under additional backends. Another feature of our structure was that we used a proxy. Therefore, we created the proxy configurations as follows.

InstanaAgent YAML
InstanaAgent YAML

Additionally,You can limit the memory usage of agents according to the following data.After all these configurations,proceed with save and reload.

Go to Instana Console and click Agent , all agent details will be visible.

Resource Recommendations

These numbers are extremely approximate because the memory usage of the agent depends very much on what technologies are monitored, and the size of the resources.

LARGE ( TOTAL OF NAMESPACES + SERVICES + DEPLOYMENTS > 2000)

Heap size: 800M Resources:

requests: memory: 2Gi cpu: 500m limits: memory: 2Gi cpu: ‘2’

MEDIUM (TOTAL OF NAMESPACES + SERVICES + DEPLOYMENTS > 1000)

Heap size: 400M Resources:

requests: memory: 1Gi cpu: 500m limits: memory: 1Gi cpu: ‘2’

SMALL (DEFAULT. TOTAL OF NAMESPACES + SERVICES + DEPLOYMENTS < 250)

Heap size: 170M Resources:

requests: memory: 512Mi cpu: 500m limits: memory: 512Mi cpu: ‘1.5’

--

--