Skip to content

Commit

Permalink
Merge pull request #5345 from damdo/update-templates-to-use-nlbs
Browse files Browse the repository at this point in the history
⚠️ templates: use NLB as Control Plane Load Balancer type
  • Loading branch information
k8s-ci-robot authored Feb 19, 2025
2 parents 8cc4beb + 0e95b2b commit 4e912b4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
3 changes: 3 additions & 0 deletions templates/cluster-template-flatcar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ metadata:
spec:
region: "${AWS_REGION}"
sshKeyName: "${AWS_SSH_KEY_NAME}"
controlPlaneLoadBalancer:
loadBalancerType: nlb
healthCheckProtocol: HTTPS
s3Bucket:
controlPlaneIAMInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io
name: "${AWS_S3_BUCKET_NAME}"
Expand Down
3 changes: 3 additions & 0 deletions templates/cluster-template-machinepool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ kind: AWSCluster
metadata:
name: "${CLUSTER_NAME}"
spec:
controlPlaneLoadBalancer:
loadBalancerType: nlb
healthCheckProtocol: HTTPS
region: "${AWS_REGION}"
sshKeyName: "${AWS_SSH_KEY_NAME}"
---
Expand Down
5 changes: 4 additions & 1 deletion templates/cluster-template-multitenancy-clusterclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@ metadata:
name: multi-tenancy
spec:
template:
spec: {}
spec:
controlPlaneLoadBalancer:
loadBalancerType: nlb
healthCheckProtocol: HTTPS
---
kind: KubeadmControlPlaneTemplate
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
Expand Down
5 changes: 4 additions & 1 deletion templates/cluster-template-simple-clusterclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ metadata:
name: quick-start
spec:
template:
spec: { }
spec:
controlPlaneLoadBalancer:
loadBalancerType: nlb
healthCheckProtocol: HTTPS
---
kind: KubeadmControlPlaneTemplate
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
Expand Down
3 changes: 3 additions & 0 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ kind: AWSCluster
metadata:
name: "${CLUSTER_NAME}"
spec:
controlPlaneLoadBalancer:
loadBalancerType: nlb
healthCheckProtocol: HTTPS
region: "${AWS_REGION}"
sshKeyName: "${AWS_SSH_KEY_NAME}"
---
Expand Down

0 comments on commit 4e912b4

Please sign in to comment.