forked from aws-ia/terraform-aws-eks-blueprints
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add prometheus and grafana for argocd
Signed-off-by: Carlos Santana <[email protected]>
- Loading branch information
1 parent
16dac42
commit 2515a65
Showing
2 changed files
with
138 additions
and
1 deletion.
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
examples/gitops/argocd-multi-cluster/hub-cluster/grafana-argocd/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#Enabling IRSA module for extending the data sources to CloudWatch | ||
serviceAccount: | ||
create: false | ||
|
||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 512Mi | ||
requests: | ||
cpu: 200m | ||
memory: 512Mi | ||
|
||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
metrics: | ||
- type: Resource | ||
resource: | ||
name: cpu | ||
targetAverageUtilization: 60 | ||
- type: Resource | ||
resource: | ||
name: memory | ||
targetAverageUtilization: 60 | ||
|
||
nodeSelector: | ||
kubernetes.io/os: ${operating_system} | ||
|
||
|
||
adminUser: admin | ||
# Set this password using set_sensitive values | ||
#adminPassword: | ||
|
||
persistence: | ||
type: pvc | ||
enabled: true | ||
storageClassName: gp2 | ||
accessModes: | ||
- ReadWriteOnce | ||
size: 8Gi | ||
|
||
datasources: | ||
datasources.yaml: | ||
apiVersion: 1 | ||
datasources: | ||
- name: Prometheus | ||
type: prometheus | ||
url: http://prometheus-server.prometheus.svc.cluster.local | ||
access: proxy | ||
isDefault: true | ||
|
||
## Configure grafana dashboard providers | ||
## ref: http://docs.grafana.org/administration/provisioning/#dashboards | ||
## | ||
## `path` must be /var/lib/grafana/dashboards/<provider_name> | ||
## | ||
dashboardProviders: | ||
dashboardproviders.yaml: | ||
apiVersion: 1 | ||
providers: | ||
- name: 'default' | ||
orgId: 1 | ||
folder: '' | ||
type: file | ||
disableDeletion: false | ||
editable: true | ||
options: | ||
path: /var/lib/grafana/dashboards/default | ||
|
||
## Configure grafana dashboard to import | ||
## NOTE: To use dashboards you must also enable/configure dashboardProviders | ||
## ref: https://grafana.com/dashboards | ||
## | ||
## dashboards per provider, use provider name as key. | ||
## | ||
dashboards: | ||
default: | ||
argocd: | ||
gnetId: 14584 | ||
revision: 1 | ||
datasource: Prometheus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters