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.
No requirements.
Name | Version |
---|---|
n/a | |
grafana | n/a |
kubernetes | n/a |
No modules.
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 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cluster_ca_certificate | Public CA certificate that is the root of trust for the GKE K8s cluster | string |
n/a | yes |
cluster_endpoint | Cluster control plane endpoint | string |
n/a | yes |
cluster_token | Cluster master token, keep always secret! | string |
n/a | yes |
docker_tag | Tag of image ackee/redis_bigkeys used for monitoring | string |
"latest" |
no |
gke_workload_identity | Add resources need for GKE workload identity setup | bool |
true |
no |
grafana_folder_id | ID of Grafana folder where we store dashboard | number |
1 |
no |
include_dashboard | Include dashboard as k8s secret | bool |
true |
no |
namespace | Namespace for monitoring deployment containing pod runtime | string |
n/a | yes |
project | Project ID | any |
n/a | yes |
redis_instances | Map of redis instances with items in containing fields instance_hostname and instance_database, key is instance_name | map(map(string)) |
{} |
no |
No outputs.