Skip to content

Commit 6b1271e

Browse files
authored
Fix networking in aws k3s-template (#21)
1 parent 5feaa86 commit 6b1271e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

samples/aws/k3s-template.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ spec:
3030
network:
3131
vpc:
3232
availabilityZoneUsageLimit: 1
33+
cni:
34+
cniIngressRules:
35+
- description: flannel
36+
fromPort: 8472
37+
protocol: udp
38+
toPort: 8472
3339
region: ${AWS_REGION}
3440
sshKeyName: ${AWS_SSH_KEY_NAME}
3541
controlPlaneLoadBalancer:
@@ -47,6 +53,9 @@ spec:
4753
kind: AWSMachineTemplate
4854
name: ${CLUSTER_NAME}-control-plane
4955
kthreesConfigSpec:
56+
disableComponents:
57+
# not needed since we're using AWS load balancer (ccm: external)
58+
- servicelb
5059
agentConfig:
5160
nodeName: "{{ ds.meta_data.local_hostname }}"
5261
replicas: 1

0 commit comments

Comments
 (0)