Skip to content

akw-devsecops/terraform-newrelic-k8s-alerting

Repository files navigation

NewRelic K8s Alerting Module

Terraform module to set up Kubernetes alerting in NewRelic.

Requirements

Name Version
terraform >= 0.13
newrelic >= 3.42.0

Providers

Name Version
newrelic >= 3.42.0

Modules

No modules.

Resources

Name Type
newrelic_alert_policy.cluster resource
newrelic_alert_policy.namespace resource
newrelic_notification_channel.email_cluster resource
newrelic_notification_channel.email_namespace resource
newrelic_notification_channel.google_chat_cluster resource
newrelic_notification_channel.google_chat_namespace resource
newrelic_notification_destination.email resource
newrelic_notification_destination.google_chat resource
newrelic_nrql_alert_condition.cluster_does_not_response resource
newrelic_nrql_alert_condition.container-cpu-high resource
newrelic_nrql_alert_condition.container-memory-high resource
newrelic_nrql_alert_condition.container-out-of-space resource
newrelic_nrql_alert_condition.job_not_ready resource
newrelic_nrql_alert_condition.node_cpu_high resource
newrelic_nrql_alert_condition.node_disk_high resource
newrelic_nrql_alert_condition.node_memory_high resource
newrelic_nrql_alert_condition.pod-not-ready resource
newrelic_nrql_alert_condition.replicaset-not-desired-amount resource
newrelic_nrql_alert_condition.volume_out_of_space resource
newrelic_workflow.cluster resource
newrelic_workflow.namespace resource

Inputs

Name Description Type Default Required
cluster_name The name of the kubernetes cluster. string n/a yes
channel_name Name of the alert channel string null no
cluster_policy Set this to false if you don't want to create the cluster policy. bool true no
email_alert_recipient The email alert address. string null no
enable_job_alerting Determines whether to alert on job errors. bool true no
google_chat_alert_url The Google Chat alert channel webhook URL. string null no
namespaces List of namespaces to be monitored. list(string) [] no

Outputs

No outputs.

Docs

To update the docs just run

$ terraform-docs .

About

Terraform module to set up Kubernetes alerting in NewRelic.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages