You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Monitoring/monitor_fsxn_with_harvest_on_eks/README.md
+73-29Lines changed: 73 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,62 +18,105 @@ Harvest Helm chart installation will result the following:
18
18
*`Helm` - for resources installation.
19
19
* An FSx for ONTAP file system deployed in the same VPC as the EKS cluster.
20
20
* Existing `Secrets Manager`secret in the same region as the FSxN file system.
21
-
* Existing `Prometheus` running on your EKS cluster.
22
-
* Existing `Grafana` running on your EKS cluster.
23
-
24
-
**NOTE:** You can install both Prometheus and Grafana using this [Helm chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack).
25
21
26
22
### Deployment
27
-
### User Input
28
23
29
-
Parameter | Description |
30
-
--- | --- |
31
-
fsxs.clusters.name | FSxN cluster name |
32
-
fsxs.clusters.managment_lif | FSxN for NetApp ONTAP filesystem management IP |
33
-
fsxs.clusters.secretName | AWS Secrets Manager for FSxN credentials |
34
-
fsxs.clusters.region | FSxN and AWS Secrets Manager region |
35
-
fsxs.clusters.promPort | Which port harvest will be created and exposed to Promethues |
36
-
promethues | Existing Promethues name for discovering |
24
+
## Deployment of Prometheus and Grafana
25
+
If you don't already have Prometheus and Grafana running in your EKS cluster, you can deploy both of them
26
+
from the Prometheus community repository by using the following commands:
27
+
28
+
:memo:**NOTE:** You need to make a substitution in the command below before running it.
kube-prometheus-stack has been installed. Check its status by running:
54
+
kubectl --namespace prometheus get pods -l "release=kube-prometheus-stack"
55
+
56
+
Visit https://github.com/prometheus-operator/kube-prometheus for instructions on how to create & configure the Alertmanager and Prometheus instances using the Operator.
57
+
```
58
+
To check the status, you can run the following command:
@@ -134,7 +178,8 @@ Once the deployment is complete, Harvest should be listed as a target on Prometh
134
178
135
179
### Import FSxN CloudWatch metrics into your monitoring stack using YACE
136
180
AWS provides FSx for ONTAP metrics which cannot be collected by Harvest. Therefore, we recommend to
137
-
use yet-another-exporter (by Prometheus community) for collecting metrics from CloudWatch. See [YACE](https://github.com/nerdswords/helm-charts) for more information.
181
+
use yet-another-exporter (by Prometheus community) for collecting metrics from CloudWatch.
182
+
See [YACE](https://github.com/nerdswords/helm-charts) for more information.
138
183
139
184
#### Installation ####
140
185
1.**Create ServiceAccount with permissions to AWS CloudWatch**
@@ -174,8 +219,7 @@ POLICY_ARN=$(aws iam create-policy --policy-name yace-exporter-policy --policy-d
174
219
175
220
2.**Create ServiceAccount**:
176
221
177
-
**note**: namespace should be already exists\
178
-
if not exist use the following command:
222
+
**note**: namespace should be already exists if not exist use the following command:
0 commit comments