Skip to content

Commit 3b6e051

Browse files
mikkeloscarMustafaSaber
authored andcommitted
Tag Network Interfaces
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 6ef6c5f commit 3b6e051

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

cluster/etcd/stack.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ Resources:
3636
Value: kubernetes
3737
- Key: component
3838
Value: etcd-cluster
39+
- ResourceType: "network-interface"
40+
Tags:
41+
- Key: application
42+
Value: kubernetes
43+
- Key: component
44+
Value: etcd-cluster
45+
- Key: Name
46+
Value: 'etcd-cluster ({{.Cluster.ID}})'
3947
NetworkInterfaces:
4048
- DeviceIndex: 0
4149
AssociatePublicIpAddress: true

cluster/node-pools/master-default/stack.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ Resources:
5656
Value: kubernetes
5757
- Key: component
5858
Value: control-plane
59+
- ResourceType: "network-interface"
60+
Tags:
61+
- Key: application
62+
Value: kubernetes
63+
- Key: component
64+
Value: control-plane
65+
- Key: Name
66+
Value: "{{ .NodePool.Name }} ({{ .Cluster.ID }})"
5967
{{ if .Values.supports_t2_unlimited }}
6068
CreditSpecification:
6169
CpuCredits: unlimited

cluster/node-pools/worker-combined/stack.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ Resources:
132132
Value: kubernetes
133133
- Key: component
134134
Value: "shared-resource"
135+
- ResourceType: "network-interface"
136+
Tags:
137+
- Key: application
138+
Value: kubernetes
139+
- Key: component
140+
Value: "shared-resource"
141+
- Key: Name
142+
Value: "{{ .NodePool.Name }} ({{ .Cluster.ID }})"
135143
{{- end }}
136144
BlockDeviceMappings:
137145
- DeviceName: /dev/sda1

cluster/node-pools/worker-splitaz/stack.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ Resources:
145145
Value: kubernetes
146146
- Key: component
147147
Value: "shared-resource"
148+
- ResourceType: "network-interface"
149+
Tags:
150+
- Key: application
151+
Value: kubernetes
152+
- Key: component
153+
Value: "shared-resource"
154+
- Key: Name
155+
Value: "{{ $data.NodePool.Name }} ({{ $data.Cluster.ID }})"
148156
{{- end }}
149157
BlockDeviceMappings:
150158
- DeviceName: /dev/sda1

0 commit comments

Comments
 (0)