Files
terraform-aws-observability…/modules/workloads/infra
Rodrigue Koffi 05511992e9 Chore
2022-08-30 19:59:34 +02:00
..
2022-08-30 19:59:34 +02:00
2022-08-30 19:59:34 +02:00
2022-08-26 17:30:03 +02:00
2022-08-30 19:59:34 +02:00
2022-08-30 19:59:34 +02:00
2022-08-26 17:30:03 +02:00

Infrastructure monitoring

This module provides EKS cluster monitoring with the following resources:

  • AWS Distro For OpenTelemetry Operator and Collector
  • AWS Managed Grafana Dashboard and data source
  • Alerts and recording rules with AWS Managed Service for Prometheus

Requirements

Name Version
grafana 1.25.0

Providers

Name Version
aws n/a
grafana 1.25.0
helm n/a

Modules

Name Source Version
helm_addon github.com/aws-ia/terraform-aws-eks-blueprints/modules/kubernetes-addons/helm-addon n/a

Resources

Name Type
aws_prometheus_rule_group_namespace.alerting_rules resource
aws_prometheus_rule_group_namespace.recording_rules resource
grafana_dashboard.apis resource
grafana_dashboard.cluster resource
grafana_dashboard.clusternw resource
grafana_dashboard.controller resource
grafana_dashboard.coredns resource
grafana_dashboard.etcd resource
grafana_dashboard.kubelet resource
grafana_dashboard.necluster resource
grafana_dashboard.nenode resource
grafana_dashboard.nenodeuse resource
grafana_dashboard.nodes resource
grafana_dashboard.nsnw resource
grafana_dashboard.nsnwworkload resource
grafana_dashboard.nspods resource
grafana_dashboard.nsworkload resource
grafana_dashboard.nwworload resource
grafana_dashboard.podnetwork resource
grafana_dashboard.pods resource
grafana_dashboard.proxy resource
grafana_dashboard.pv resource
grafana_dashboard.scheduler resource
grafana_dashboard.workloads resource
helm_release.kube_state_metrics resource
helm_release.prometheus_node_exporter resource
aws_caller_identity.current data source
aws_eks_cluster.eks_cluster data source
aws_partition.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
config n/a
object({
helm_config = map(any)

kms_create_namespace = bool
ksm_k8s_namespace = string
ksm_helm_chart_name = string
ksm_helm_chart_version = string
ksm_helm_release_name = string
ksm_helm_repo_url = string
ksm_helm_settings = map(string)
ksm_helm_values = map(any)

ne_create_namespace = bool
ne_k8s_namespace = string
ne_helm_chart_name = string
ne_helm_chart_version = string
ne_helm_release_name = string
ne_helm_repo_url = string
ne_helm_settings = map(string)
ne_helm_values = map(any)

})
{
"enable_kube_state_metrics": true,
"enable_node_exporter": true,
"helm_config": {},
"kms_create_namespace": true,
"ksm_helm_chart_name": "kube-state-metrics",
"ksm_helm_chart_version": "4.9.2",
"ksm_helm_release_name": "kube-state-metrics",
"ksm_helm_repo_url": "https://prometheus-community.github.io/helm-charts",
"ksm_helm_settings": {},
"ksm_helm_values": {},
"ksm_k8s_namespace": "kube-system",
"ne_create_namespace": true,
"ne_helm_chart_name": "prometheus-node-exporter",
"ne_helm_chart_version": "2.0.3",
"ne_helm_release_name": "prometheus-node-exporter",
"ne_helm_repo_url": "https://prometheus-community.github.io/helm-charts",
"ne_helm_settings": {},
"ne_helm_values": {},
"ne_k8s_namespace": "prometheus-node-exporter"
}
no
dashboards_folder_id n/a string n/a yes
eks_cluster_id EKS Cluster Id string n/a yes
enable_alerting_rules n/a bool true no
enable_dashboards n/a bool true no
enable_kube_state_metrics n/a bool true no
enable_node_exporter n/a bool true no
enable_recording_rules n/a bool true no
helm_config Helm Config for Prometheus any {} no
irsa_iam_permissions_boundary IAM permissions boundary for IRSA roles string "" no
irsa_iam_role_path IAM role path for IRSA roles string "/" no
managed_prometheus_workspace_endpoint Amazon Managed Prometheus Workspace Endpoint string null no
managed_prometheus_workspace_id Amazon Managed Prometheus Workspace ID string null no
managed_prometheus_workspace_region Amazon Managed Prometheus Workspace's Region string null no
tags Additional tags (e.g. map('BusinessUnit,XYZ) map(string) {} no

Outputs

No outputs.