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 password when prompted.
Pull the site24x7 docker image using the following commands:
docker pull store/site24x7/docker-agent:release1800
docker tag store/site24x7/docker-agent:release1800<ur_container_registry_login_server>/kubeagent:vtest
Then push the image to your Azure Container Registry using:
docker push <ur_container_registry_login_server>/kubeagent:vtest
Once the image is pushed, download the Site24x7 agent using the site24x7-agent.yaml file.
Change the image name under the Containers section
- image: store/site24x7/docker-agent:release1800
- image: <ur_container_registry_login_server>/kubeagent:vtest
Create a secret:
kubectl create secret docker-registry kubeagentsecret --docker-server=<ur_container_registry_login_server> --docker-username=<user_name> --docker-password=<password> --docker-email=<email_id>
Now use this 'kubeagentsecret' in your site24x7-agent.yaml file.
Create one more section named 'imagePullSecrets' under the spec section of the DameonSet kind parallel to the container and volumes section as:
- name: kubeagentsecret
10. After making these changes, deploy the site24x7-agent.yaml file using the below command:
kubectl apply -f site24x7-agent.yaml
Once this setup works, repeat the same steps for the kubestate metrics image:
FAQs related to Docker application and Docker agent
What is the necessity to have an exclusive docker agent? When changing from monolithic application deployments to cloud native microservices using AWS ECS, Kubernetes etc., an exclusive monitoring agent would prove to be more secure and flexible to ...
How to deploy the Site24x7 PHP agent in a Kubernetes environment?
The following options are available for APM support in Kubernetes. Without Helm charts: 1. You can include the installation script when building the container. This is similar to the docker installation method. For more information, please refer to ...
FAQs on the recent enhancements for docker monitoring
What are the enhancements done for docker monitoring? Today, containers have gained prominence among developers due to their speed, portability, and isolation capabilities. But these same features make it difficult when monitoring or troubleshooting ...
How do I monitor specific resource types like Pods, Containers, and Deployments?
To monitor specific resource types of Kubernetes like Pods, Containers, and Deployments: Log in to your Site24x7 account. Go to Admin > Inventory > Configuration Rules. Click Add Rule. Enter a proper Display Name and Description. Define the ...
VMware datastore monitoring and associated ESX/ESXi hosts
While monitoring VMware datastores, Site24x7 displays the number of VMware ESX/ESXi hosts associated with that datastore. This number denotes the number of associated hosts that are monitored by Site24x7 and are enabled with VMware datastore ...