Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
eksctl
dramatically simplifies the creation of AWS EKS clusters, by offering a easy command-line interface.
You possibly can both create a file referred to as ekscluster.yaml
and place the YAML in, or run the next command which can create a file referred to as ekscluster.yaml
and routinely add the default YAML configuration for you.
cat << EOF > ekscluster.yaml
---
apiVersion: eksctl.io/v1alpha5
form: ClusterConfig
metadata:
identify: eksworkshop-eksctl
area: ${AWS_REGION}
model: "1.19"
availabilityZones: ["${AZS[0]}", "${AZS[1]}", "${AZS[2]}"]
managedNodeGroups:
- identify: nodegroup
desiredCapacity: 3
instanceType: t3.small
ssh:
enableSsm: true
# To allow the entire management aircraft logs, uncomment beneath:
# cloudWatch:
# clusterLogging:
# enableTypes: ["*"]
secretsEncryption:
keyARN: ${MASTER_ARN}
EOF
Inform the eksctl
instrument to create a brand new cluster utilizing the ekscluster.yaml
.
eksctl create cluster -f ekscluster.yaml