Skip to content

Commit

Permalink
move clusterctl and update template-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Jul 11, 2024
1 parent 8baea46 commit decef7a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
File renamed without changes.
4 changes: 4 additions & 0 deletions templates/aws/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ metadata:
spec:
template:
spec:
ami:
id: ${AWS_AMI_ID:=ami-0ad50e72a79228704}
iamInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io
instanceType: ${AWS_CONTROL_PLANE_INSTANCE_TYPE:=t3.large}
publicIP: ${AWS_PUBLIC_IP:=false}
Expand Down Expand Up @@ -91,6 +93,8 @@ metadata:
spec:
template:
spec:
ami:
id: ${AWS_AMI_ID:=ami-0ad50e72a79228704}
iamInstanceProfile: nodes.cluster-api-provider-aws.sigs.k8s.io
instanceType: ${AWS_NODE_INSTANCE_TYPE:=t3.large}
publicIP: ${AWS_PUBLIC_IP:=false}
Expand Down
14 changes: 14 additions & 0 deletions templates/aws/template-variables.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Kubernetes cluster configuration
export KUBERNETES_VERSION=v1.30.0
export CONTROL_PLANE_MACHINE_COUNT=1
export WORKER_MACHINE_COUNT=1

# AWS region
export AWS_REGION="eu-central-1"

# AWS machine configuration
export AWS_CREATE_BASTION=true
export AWS_PUBLIC_IP=false
export AWS_CONTROL_PLANE_MACHINE_FLAVOR=t3.large
export AWS_NODE_MACHINE_FLAVOR=t3.large
export AWS_SSH_KEY_NAME=default

0 comments on commit decef7a

Please sign in to comment.