The Site24x7 Kubernetes Operator automates deployment and management of monitoring resources, eliminating manual YAML configuration and agent setup. It monitors your custom resources, provisions agents, and instruments new pods automatically. Use the troubleshooting tips below to resolve common issues quickly.
To ensure the Operator is running correctly, check the status of the pods in the site24x7 namespace:
kubectl get pods -n site24x7You should see the following resources, based on the selected monitoring type:
To view the Operator logs, run:
kubectl logs <operator-pod-name> -n site24x7This helps confirm that the Operator pod is active and that there are no errors during startup.
Make sure the configurations selected in the site24x7k8s custom resource are created and configured correctly.
kubectl get site24x7k8s site24x7k8s-resource -n
site24x7 -o yamlThis allows you to verify the configurations specified in the site24x7k8s custom resource.
To confirm that APM agents are injected into application pods:
kubectl describe pod <pod-name> -n <namespace>Look for the site24x7-apminsight-csi volume, volume mounts in each container, and APMINSIGHT-related environment variables added by the mutating webhook. These indicate that your application pod has been successfully mutated and injected with the required APM configurations.
Access the pod to check agent files and configurations:
kubectl exec -it <pod-name> -n <namespace> --
/bin/bashAgent logs can be found at:
/opt/site24x7/apminsight/agentsmonitorAllPods setting. If it’s disabled, ensure the includePodLabels or excludePodLabels are correctly configured and that your pods have the appropriate labels applied.