From 73e481e7ce94f62d03580088aa1a98f200d936bd Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Wed, 15 Nov 2023 23:39:55 +0100 Subject: [PATCH] Allow master to master communication via overlay Signed-off-by: Mikkel Oscar Lyderik Larsen --- cluster/cluster.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cluster/cluster.yaml b/cluster/cluster.yaml index 34bea71bae..7f8f042f47 100644 --- a/cluster/cluster.yaml +++ b/cluster/cluster.yaml @@ -178,6 +178,17 @@ Resources: Value: owned ToPort: 8472 Type: 'AWS::EC2::SecurityGroupIngress' + MasterSecurityGroupIngressFromMasterFlannelToMaster: + Properties: + FromPort: 8472 + GroupId: !Ref MasterSecurityGroup + IpProtocol: udp + SourceSecurityGroupId: !Ref MasterSecurityGroup + Tags: + - Key: 'kubernetes.io/cluster/{{.Cluster.ID}}' + Value: owned + ToPort: 8472 + Type: 'AWS::EC2::SecurityGroupIngress' MasterSecurityGroupIngressFromMaster: Properties: FromPort: 443