On-Premise Poller for Kubernetes
On-Premise Poller helps monitor your internal network and resources, like URLs, virtual machines, and network devices, behind a firewall, so you can keep track of the resources behind the virtual private network (VPN). This software requires nearly no maintenance, is firewall-friendly, and can be considered a private monitoring station.
Install On-Premise Poller in Kubernetes
Follow the steps below to install the On-Premise Poller in a Kubernetes environment on a Linux platform.
- Create a secret for storing the account device key:
To obtain the device key, log in to your Site24x7 account and go to Admin > Developer > Device Key.
Execute the following command in the terminal of Kubernetes environment.kubectl create secret generic site24x7-agent --namespace=default --from-literal s247_device_key=<device-key> - Download the On-Premise Poller Kubernetes YAML manifest:
- Update the YAML file with the following information:
-
Provide a unique name <cluster-unique-id> that is specific to a Kubernetes cluster, such as using the default namespace UID as a unique identifier.
Example: <cluster-unique-id>-s247poller-stsFor instance, in the above example, replace <cluster-unique-id> with the output from the command:
kubectl get namespace default -o=jsonpath='{.metadata.uid}'.Alternatively, you can input any other unique name.
- Provide a replica value (replicas: 1) for the number of On-Premise Pollers instances required. The default is set to one.
-
- For Amazon's Elastic Kubernetes Service (EKS), Microsoft's Azure Kubernetes Service (AKS), and Google's Kubernetes Engine (GKE) distributions, execute this command to apply configurations defined in a YAML file:
For an OpenShift distribution, execute the below command to apply configurations defined in a YAML file:kubectl apply -f site24x7-poller-statefulset.yamloc apply -f site24x7-poller-statefulset.yaml