Monitoring
Monitoring dashboard for Kubernetes hosted node.
Monitoring a Kubernetes hosted node requires installing Grafana agent on your Kubernetes cluster and passing the agent.yaml as ConfigMap. Follow these steps to get your nodes monitored!
Before you begin
- A Kubernetes cluster with role-based access control (RBAC) enabled.
- Your node metrics endpoint need to be exposed via a service.
- The
kubectl
command-line tool installed on your local machine, configured to connect to your cluster. To learn more aboutkubectl
, see the Kubernetes documentation. - To install using Helm (best practice) verify Helm is running in your Kubernetes configuration. See https://github.com/kubernetes/helm for more information.
- A Scale3 Autopilot tenant remote-write endpoint. You will need this to populate the values.yaml file. Get in touch here to have a tenant provisioned for you.
There are two supported methods of installation:
Deploy using Helm
Helm, maintained by the CNCF, allows the Kubernetes administrator to install, upgrade, and manage the applications running in their Kubernetes clusters. For more information on how to use and configure Helm Charts, see the Helm site and repository for tutorials and product documentation.
To install and configure with Helm:
- Add Grafana Agent chart repo
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
- Create a values.yaml file with the tenant information provisioned as part of the prerequisites.
- Once you’ve customized the values.yaml file with your tenant information. Install the chart with by running
helm install my-grafana-agent -f values.yaml grafana/grafana-agent
- Navigate to your node monitoring dashboard within Scale3 Autopilot, you should see data from your node starting to populate.
To learn more about using and modifying charts, see:
- https://github.com/splunk/splunk-connect-for-kubernetes/tree/main/helm-chart
- https://docs.helm.sh/using_helm/#using-helm.