Skip to content

Commit 83f39bf

Browse files
committed
templates: use NLB as controlPlane loadbalancer
1 parent ac3cc61 commit 83f39bf

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

templates/cluster-template-flatcar.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ metadata:
2626
spec:
2727
region: "${AWS_REGION}"
2828
sshKeyName: "${AWS_SSH_KEY_NAME}"
29+
controlPlaneLoadBalancer:
30+
loadBalancerType: nlb
31+
healthCheckProtocol: HTTPS
2932
s3Bucket:
3033
controlPlaneIAMInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io
3134
name: "${AWS_S3_BUCKET_NAME}"

templates/cluster-template-machinepool.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ kind: AWSCluster
2424
metadata:
2525
name: "${CLUSTER_NAME}"
2626
spec:
27+
controlPlaneLoadBalancer:
28+
loadBalancerType: nlb
29+
healthCheckProtocol: HTTPS
2730
region: "${AWS_REGION}"
2831
sshKeyName: "${AWS_SSH_KEY_NAME}"
2932
---

templates/cluster-template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ kind: AWSCluster
2424
metadata:
2525
name: "${CLUSTER_NAME}"
2626
spec:
27+
controlPlaneLoadBalancer:
28+
loadBalancerType: nlb
29+
healthCheckProtocol: HTTPS
2730
region: "${AWS_REGION}"
2831
sshKeyName: "${AWS_SSH_KEY_NAME}"
2932
---

0 commit comments

Comments
 (0)