From fb6f40051f0b546e0fd77b97174c1b292d966a5e Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Thu, 21 Jun 2018 23:57:38 -0700 Subject: [PATCH] Disable AWS detailed monitoring on worker nodes * Basic monitoring (free) is sufficient for casual console browsing * Detailed monitoring (paid) is not leveraged for CloudWatch anyway * Favor Prometheus for cloud-agnostic metrics, aggregation, and alerting --- CHANGES.md | 2 ++ aws/container-linux/kubernetes/workers/workers.tf | 7 ++++--- aws/fedora-atomic/kubernetes/workers/workers.tf | 7 ++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index bc9e2f60..36ea7cc1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,8 @@ Notable changes between versions. * Listen for apiserver traffic on port 6443 and forward to controllers (with healthy apiserver) * Listen for ingress traffic on ports 80/443 and forward to workers (with healthy ingress controller) * Worker pools (advanced) no longer include an extraneous load balancer +* Disable detailed (paid) monitoring on worker nodes ([#251](https://github.com/poseidon/typhoon/pull/251)) + * Favor Prometheus for cloud-agnostic metrics, aggregation, alerting, and visualization #### Bare-Metal diff --git a/aws/container-linux/kubernetes/workers/workers.tf b/aws/container-linux/kubernetes/workers/workers.tf index a7aea21e..082a8ec2 100644 --- a/aws/container-linux/kubernetes/workers/workers.tf +++ b/aws/container-linux/kubernetes/workers/workers.tf @@ -41,9 +41,10 @@ resource "aws_autoscaling_group" "workers" { # Worker template resource "aws_launch_configuration" "worker" { - image_id = "${local.ami_id}" - instance_type = "${var.instance_type}" - spot_price = "${var.spot_price}" + image_id = "${local.ami_id}" + instance_type = "${var.instance_type}" + spot_price = "${var.spot_price}" + enable_monitoring = false user_data = "${data.ct_config.worker_ign.rendered}" diff --git a/aws/fedora-atomic/kubernetes/workers/workers.tf b/aws/fedora-atomic/kubernetes/workers/workers.tf index cdb42863..b139081a 100644 --- a/aws/fedora-atomic/kubernetes/workers/workers.tf +++ b/aws/fedora-atomic/kubernetes/workers/workers.tf @@ -41,9 +41,10 @@ resource "aws_autoscaling_group" "workers" { # Worker template resource "aws_launch_configuration" "worker" { - image_id = "${data.aws_ami.fedora.image_id}" - instance_type = "${var.instance_type}" - spot_price = "${var.spot_price}" + image_id = "${data.aws_ami.fedora.image_id}" + instance_type = "${var.instance_type}" + spot_price = "${var.spot_price}" + enable_monitoring = false user_data = "${data.template_file.worker-cloudinit.rendered}"