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:
- 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
Add Node.js agent in Kubernetes via InitContainers (using prebuilt agent image)
To integrate the APM Insight Node.js agent into your Kubernetes applications using InitContainers, follow the steps given below: Step 1: Create an empty volume that will be used to copy the agent files during the initContainers process. Example: ...
Prerequisites for Node.js agent installation
For a smooth Node.js agent installation, ensure that you've fulfilled the following prerequisites. The environment should have node version 16.20.2 or above installed. The application user should have full permission to access the agent directory. ...
How to uninstall the Site24x7 Windows Server Monitoring Agent
Method 1: To uninstall the Site24x7 Windows Server Monitoring Agent, click the link below: https://staticdownloads.site24x7.com/server/Site24x7WindowsAgentUninstall.zip Unzip and execute the Uninstall.bat file in the Command Prompt as an ...
APM Insight integration for Next.js in Kubernetes
To integrate the Site24x7 APM Insight Next.js agent into your Kubernetes application using initContainers with the prebuilt agent image, follow the steps below: Prerequisites A Next.js application container image The Site24x7 APM Insight license key ...
Bundled .NET and .NET Core agents in a single MSI
In APM Insight .NET agent version 6.8.0, the .NET and .NET Core agents have been bundled into a single MSI, enabling unified monitoring of both application types. Upgrade requirements for .NET Core agent 6.7 and below If you're using .NET Core agent ...