Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions upi/aws/cloudformation/03_cluster_security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ Resources:
ToPort: 22623
CidrIp: !Ref VpcCidr
VpcId: !Ref VpcId
Tags:
- Key: !Join ["", ["kubernetes.io/cluster/", !Ref InfrastructureName]]
Value: "shared"
- Key: "Name"
Value: !Join ["-", [!Ref InfrastructureName, "sg-master"]]

WorkerSecurityGroup:
Type: AWS::EC2::SecurityGroup
Expand All @@ -83,6 +88,11 @@ Resources:
ToPort: 22
CidrIp: !Ref VpcCidr
VpcId: !Ref VpcId
Tags:
- Key: !Join ["", ["kubernetes.io/cluster/", !Ref InfrastructureName]]
Value: "shared"
- Key: "Name"
Value: !Join ["-", [!Ref InfrastructureName, "sg-worker"]]

MasterIngressEtcd:
Type: AWS::EC2::SecurityGroupIngress
Expand Down
6 changes: 6 additions & 0 deletions upi/aws/cloudformation/05_cluster_master_nodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ Resources:
Tags:
- Key: !Join ["", ["kubernetes.io/cluster/", !Ref InfrastructureName]]
Value: "shared"
- Key: "Name"
Value: !Join ["", [!Ref InfrastructureName, "-master-0"]]

RegisterMaster0:
Condition: DoRegistration
Expand Down Expand Up @@ -240,6 +242,8 @@ Resources:
Tags:
- Key: !Join ["", ["kubernetes.io/cluster/", !Ref InfrastructureName]]
Value: "shared"
- Key: "Name"
Value: !Join ["", [!Ref InfrastructureName, "-master-1"]]

RegisterMaster1:
Condition: DoRegistration
Expand Down Expand Up @@ -292,6 +296,8 @@ Resources:
Tags:
- Key: !Join ["", ["kubernetes.io/cluster/", !Ref InfrastructureName]]
Value: "shared"
- Key: "Name"
Value: !Join ["", [!Ref InfrastructureName, "-master-2"]]

RegisterMaster2:
Condition: DoRegistration
Expand Down
2 changes: 2 additions & 0 deletions upi/aws/cloudformation/06_cluster_worker_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ Resources:
Tags:
- Key: !Join ["", ["kubernetes.io/cluster/", !Ref InfrastructureName]]
Value: "shared"
- Key: "Name"
Value: !Join ["-", [!Ref InfrastructureName, "worker", "0"]]

Outputs:
PrivateIP:
Expand Down