Skip to content

Commit

Permalink
Fix networking in aws k3s-template (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmik committed Dec 14, 2022
1 parent 5feaa86 commit 6b1271e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions samples/aws/k3s-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ spec:
network:
vpc:
availabilityZoneUsageLimit: 1
cni:
cniIngressRules:
- description: flannel
fromPort: 8472
protocol: udp
toPort: 8472
region: ${AWS_REGION}
sshKeyName: ${AWS_SSH_KEY_NAME}
controlPlaneLoadBalancer:
Expand All @@ -47,6 +53,9 @@ spec:
kind: AWSMachineTemplate
name: ${CLUSTER_NAME}-control-plane
kthreesConfigSpec:
disableComponents:
# not needed since we're using AWS load balancer (ccm: external)
- servicelb
agentConfig:
nodeName: "{{ ds.meta_data.local_hostname }}"
replicas: 1
Expand Down

0 comments on commit 6b1271e

Please sign in to comment.