Configure Kubernetes Monitoring on an AWS EKS Cluster
You can use the Kubernetes Monitoring add-on to configure Kubernetes Monitoring on your EKS Cluster, either using the EKS console or the AWS CLI.
Before you begin
Before you begin, complete the following steps:
- Subscribe to Grafana Cloud Kubernetes Monitoring on the AWS Marketplace, and follow the on-screen instructions.
- Create a new access policy token or use an existing token. Refer to Grafana Cloud Access Policies for more information.
Install using AWS EKS console
On the AWS Console, navigate to your EKS Cluster list.
Click the Cluster you want to use.
Select the Add-ons tab.
Click the Get more Add-ons button.
Find the Grafana Cloud Kubernetes Monitoring add-on, and select the box. The Configure selected add-ons settings page appears.
Select the version of the add-on.
Expand the Optional configuration settings and scroll to Configuration values section.
Copy and paste the following into the Configuration values box.
yamlk8s-monitoring: externalServices: prometheus: host: '<Prometheus host>' basicAuth: username: '<Prometheus user>' password: “<access policy token>” loki: host: '<Loki host>' basicAuth: username: '<Loki user>' password: “<access policy token>”
Click Next. The Review and add page appears
Click Create.
Install using AWS CLI
Save the following configuration to a
config.yaml
file:yamlk8s-monitoring: externalServices: prometheus: host: '<Prometheus host>' basicAuth: username: '<Prometheus user>' password: “<access policy token>” loki: host: '<Loki host>' basicAuth: username: '<Loki user>' password: “<access policy token>”
At the AWS CLI, run the following command:
bashaws eks create-addon --cluster-name ${CLUSTER_NAME} --region ${CLUSTER_REGION} --addon-name grafana-labs_kubernetes-monitoring --configuration-values “$(cat config.yaml)”
Validate data is flowing
- Navigate to Kubernetes Monitoring on your Grafana Cloud account.
- Click Configuration on the main menu, then click the Metrics status tab.
Your data becomes populated as the system components begin scraping and sending data to Grafana Cloud. This view shows the health of the different sources of metrics, logs, and events, as well as any applicable version numbers.
Metrics status tab
Was this page helpful?
Related resources from Grafana Labs


