redis-bigkeys-monitoring

AckeeCZ/redis-bigkeys-monitoring/kubernetes

Terraform Module HCL KUBERNETES

Created Kubernetes Pod to parse output of Redis --bigkeys command and submits the metrics to Google Cloud Monitoring.

Install
module "redis-bigkeys-monitoring" {
source = "AckeeCZ/redis-bigkeys-monitoring/kubernetes"
version = "1.3.0"
}
plain text: /constructs/tfmod-ackeecz-redis-bigkeys-monitoring-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Google Cloud Redis Big Keys monitoring Terraform module to create pod which runs redis-cli --bigkeys, parse the output and push it into Google Cloud Monitoring. It also contains dashboard kept as kubernetes secret, which could be parsed by Grafana. Requirements No requirements. Providers | Name | Version | |------|---------| | google | n/a | | grafana | n/a | | kubernetes | n/a | Modules No modules. Resources | Name | Type | |------|------| | google_project_iam_member.sa | resource | | google_service_account.sa | resource | | google_service_account_iam_member.sa_allow_iam_workload_identity | resource | | grafana_dashboard.grafana_redis_bigkeys | resource | | kubernetes_deployment.redis_bigkeys_monitoring | resource | | kubernetes_service_account.sa | resource | Inputs | Name | De

Inputs (10)
NameTypeDescriptionDefault
projectstringProject ID required
cluster_ca_certificatestringPublic CA certificate that is the root of trust for the GKE K8s cluster required
cluster_endpointstringCluster control plane endpoint required
namespacestringNamespace for monitoring deployment containing pod runtime required
cluster_tokenstringCluster master token, keep always secret! required
docker_tagstringTag of image ackee/redis_bigkeys used for monitoring"latest"
redis_instancesmap(map(string))Map of redis instances with items in containing fields instance_hostname and ins{}
gke_workload_identityboolAdd resources need for GKE workload identity setuptrue
include_dashboardboolInclude dashboard as k8s secrettrue
grafana_folder_idnumberID of Grafana folder where we store dashboard1
Resources (6)
google_project_iam_membergoogle_service_accountgoogle_service_account_iam_membergrafana_dashboardkubernetes_deploymentkubernetes_service_account
Details
FrameworkTerraform Module
LanguageHCL
Version1.3.0
Cloud KUBERNETES
★ Stars1
Forks2
Total downloads5.6k
Inputs10
Resources6
NamespaceAckeeCZ
Updated