From 6a46164411305f2a63d4a771006cbd4e15279806 Mon Sep 17 00:00:00 2001 From: stg <65890694+stg-0@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:25:33 +0200 Subject: [PATCH] Open calico metrics ports (#267) --- .../actions/createworker/templates/aws/aws.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/cluster/internal/create/actions/createworker/templates/aws/aws.tmpl b/pkg/cluster/internal/create/actions/createworker/templates/aws/aws.tmpl index ed24a09fa8..e161080569 100644 --- a/pkg/cluster/internal/create/actions/createworker/templates/aws/aws.tmpl +++ b/pkg/cluster/internal/create/actions/createworker/templates/aws/aws.tmpl @@ -62,6 +62,18 @@ spec: protocol: tcp fromPort: 10257 toPort: 10257 + - description: \"metrics calico-node (prometheus)\" + protocol: tcp + fromPort: 9191 + toPort: 9191 + - description: \"metrics calico-typha (prometheus)\" + protocol: tcp + fromPort: 9093 + toPort: 9093 + - description: \"metrics node-exporter (prometheus)\" + protocol: tcp + fromPort: 9100 + toPort: 9100 {{- if ne .KeosCluster.Spec.Networks.VPCID "" }} vpc: id: {{ .KeosCluster.Spec.Networks.VPCID }}