Difference between revisions of "Eksctl create cluster"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/blogs/containers/start-pods-faster-by-prefetching-images/
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | [[eksctl create]] cluster | ||
+ | |||
+ | [[eksctl create cluster --asg-access]] | ||
+ | |||
https://eksctl.io/usage/creating-and-managing-clusters/ | https://eksctl.io/usage/creating-and-managing-clusters/ | ||
− | Examples | + | == Examples == |
[[eksctl create]] cluster | [[eksctl create]] cluster | ||
− | eksctl create cluster 'your-sample-cluster' --spot --instance-types=[[t3.nano]] | + | eksctl create cluster 'your-sample-cluster' --spot --instance-types=[[t3.small]] |
+ | |||
+ | Cluster will be created but you will face [[MemoryPressure]] errors when running [[pods]]. | ||
+ | eksctl create cluster 'your-sample-cluster' --spot --instance-types=[[t3.nano]] | ||
+ | |||
+ | |||
eksctl create cluster 'your-sample-cluster' --zones us-east-1a,us-east-1b,us-east-1c | eksctl create cluster 'your-sample-cluster' --zones us-east-1a,us-east-1b,us-east-1c | ||
eksctl create cluster -f cluster.yaml | eksctl create cluster -f cluster.yaml | ||
Line 13: | Line 22: | ||
− | eksctl create cluster 'your-sample-cluster' --zones us-east-1a,us-east-1b,us-east-1c | + | [[envsubst]] < cluster-config.yaml | [[eksctl create cluster -f]] - <ref>https://aws.amazon.com/blogs/containers/start-pods-faster-by-prefetching-images/</ref> |
+ | |||
+ | |||
+ | eksctl create cluster 'your-sample-cluster' --zones [[us-east-1a]],us-east-1b,us-east-1c | ||
(It will take approximately 20 minutes to finish) | (It will take approximately 20 minutes to finish) | ||
− | + | eksctl create cluster \ | |
− | + | --name your-cluster-name \ | |
− | + | --version 1.21 \ | |
− | + | [[--nodegroup-name]] standard-workers \ | |
− | + | --node-type t5.large \ | |
− | + | --nodes 6 \ | |
− | + | --nodes-min 5 \ | |
− | + | --nodes-max 8 \ | |
− | + | --[[alb-ingress-access]] | |
− | + | ||
− | + | == [[eksctl create cluster execution examples]] == | |
− | + | ||
− | + | == [[eksctl create cluster output with errors]] == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
Line 71: | Line 55: | ||
* <code>[[eksctl utils describe-stacks]]</code> | * <code>[[eksctl utils describe-stacks]]</code> | ||
* <code>[[eksctl utils update-cluster-logging]]</code> | * <code>[[eksctl utils update-cluster-logging]]</code> | ||
+ | * [[Kubernetes installation]] | ||
+ | * [[ServiceRoleARN]] | ||
+ | * <code>[[kops create cluster]]</code> | ||
== See also == | == See also == | ||
+ | * {{eksctl create}} | ||
* {{eksctl}} | * {{eksctl}} | ||
+ | * {{K8s installation}} | ||
[[Category:eksctl]] | [[Category:eksctl]] |
Latest revision as of 12:48, 13 May 2023
eksctl create cluster eksctl create cluster --asg-access
https://eksctl.io/usage/creating-and-managing-clusters/
Contents
Examples[edit]
eksctl create cluster eksctl create cluster 'your-sample-cluster' --spot --instance-types=t3.small
Cluster will be created but you will face MemoryPressure errors when running pods.
eksctl create cluster 'your-sample-cluster' --spot --instance-types=t3.nano
eksctl create cluster 'your-sample-cluster' --zones us-east-1a,us-east-1b,us-east-1c eksctl create cluster -f cluster.yaml
It will create one managed nodegroup
containing two m5.large
nodes
eksctl create cluster --spot --instance-types=t3.nano eksctl create cluster --spot --instance-types=c3.large,c4.large,c5.large
envsubst < cluster-config.yaml | eksctl create cluster -f - [1]
eksctl create cluster 'your-sample-cluster' --zones us-east-1a,us-east-1b,us-east-1c (It will take approximately 20 minutes to finish)
eksctl create cluster \ --name your-cluster-name \ --version 1.21 \ --nodegroup-name standard-workers \ --node-type t5.large \ --nodes 6 \ --nodes-min 5 \ --nodes-max 8 \ --alb-ingress-access
eksctl create cluster execution examples[edit]
eksctl create cluster output with errors[edit]
Related[edit]
aws eks create-cluster
eksctl delete cluster
aws cloudformation list-stacks | grep StackName
aws cloudformation describe-stack-events --stack-name your_stack_name | grep -A1 CREATE_FAILED
m5.large
, AWS Nitro System
eksctl get cluster
kubectl get nodes
kubectl cluster-info
eksctl create nodegroup
eksctl utils describe-stacks
eksctl utils update-cluster-logging
- Kubernetes installation
- ServiceRoleARN
kops create cluster
See also[edit]
eksctl create [ cluster | fargateprofile | iamidentitymapping | iamserviceaccount | nodegroup ]
,eksctl create cluster --help
eksctl [ info | create cluster | get cluster | delete cluster | version | utils describe-stacks | upgrade ]
,eksctl create cluster --help, eksctl --help
- Kubernetes installation, Deploy EKS cluster using Terraform, Create your first EKS Cluster using AWS Management Console,
kubeadm init, eksctl create cluster
Advertising: