How to deploy the Site24x7 Kubernetes agent as a sidecar container of your application

How to deploy the Site24x7 Kubernetes agent as a sidecar container of your application

Imagine a scenario where you are operating a Redis application within Amazon Elastic Kubernetes Service (EKS) on AWS Fargate, requiring monitoring. To accomplish this, you can deploy the Site24x7 Kubernetes agent as a secondary container, known as a sidecar, within the same Pod responsible for running the Redis application.

Install and deploy the Site24x7 server monitoring agent as a sidecar of your application. You can view the metrics of the node containing the Site24x7 agent as a sidecar. Follow the YAML script provided below to create your own sidecar and view metrics from your AWS Fargate Pod.

Below is the sample deployment file for a Redis application with the Site24x7 Kubernetes agent as a sidecar. Kindly download the script and save it as a YAML file. Change the device key and deploy it using the following command to get the monitoring started:
  1. kubectl apply -f  site24x7-redis-sidecar-agent.yaml

Here is the sample YAML file to deploy the Site24x7 Kubernetes agent as a sidecar container of the Pod running a Redis application.

For more information on adding the Site24x7 Kubernetes agent as a sidecar, refer to our help document here.
    • Related Articles

    • How to deploy the Site24x7 PHP agent in a Kubernetes environment?

      For PHP version 7.0 and above The PHP agent (PHP version 7.0 and above) can be deployed in a Kubernetes environment using any of the following methods. You can also keep the license keys in a configmap to avoid using them in the deployment files. The ...
    • Adding APM Insight Java agent in Kubernetes via InitContainers

      Step 1: Create a secret for the Site24x7 license key in your application namespace. You can obtain the license key from your site24x7 account by navigating to Admin > Developer > Device Key. Example: kubectl create secret generic app-secret ...
    • APM Insight agent log paths

      Folder path to view One agent logs One agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData from Vista onwards). Check the following folder path in Windows: C:\ProgramData\Site24x7APMOneAgent\Logs ...
    • How to manually install the AppLogs agent

      The AppLogs agent is used to automatically discover and upload your server and application logs to Site24x7. Site24x7's AppLogs agent works with an existing Site24x7 server monitoring agent and comes with AppLogs installed. You can also manually ...
    • How to host Site24x7 docker image into my private container registry

      To host Site24x7 docker image into your private container registry, use the following steps: Log into your Cloud Container Registry in the terminal using the below command: docker login <ur_container_registry_login_server> Enter your username and ...