Closed MilanDasek closed 5 years ago
apiVersion: eksctl.io/v1alpha4
kind: ClusterConfig
metadata:
name: eks-test
region: ap-south-1
version: "1.12"
tags:
version: test
billing: core
sub-billing : kubernetes
environment: test
vpc:
id: "vpc-xxxxxxxx"
cidr: "192.168.x.x/16"
subnets:
private:
ap-south-1a:
id: "subnet-xxxxxxxx"
cidr: "192.168.x.x/24"
ap-south-1b:
id: "subnet-xxxxxxxx"
cidr: "192.168.x.x/24"
public:
ap-south-1a:
id: "subnet-xxxxxxx"
cidr: "192.168.x.x/24"
ap-south-1b:
id: "subnet-xxxxxxxx"
cidr: "192.168.x.x/24"
iam:
serviceRoleARN: "arn:aws:iam::xxxxxxxxxxx:role/EKS"
nodeGroups:
- name: eks-spotinst
labels:
applicationType: org
machineSize: mixed
instanceType: t2.xlarge
desiredCapacity: 1
ami: ami-09c3eb35bb3be46a4
minSize: 1
maxSize: 1
volumeSize: 50
volumeType: gp2
privateNetworking: true
maxPodsPerNode: 50
allowSSH: true
sshPublicKey: 'eks-bastion'
availabilityZones: ["ap-south-1a", "ap-south-1b"]
iam:
withAddonPolicies:
imageBuilder: true
autoScaler: true
Yeah, it's just not the default yet.
@romil-punetha
Can I ask, you have
nodeGroups:
- name: eks-spotinst
labels:
applicationType: org,
machineSize: mixed,
so you then change launch configuration to enable spots manually in aws? Or is possible to have it somehow in eksctl config?
thanks
Hi. You have the wrong name for the volume size setting and AMI. Those are the command line option names. Check the read me examples.
@MilanDasek I actually use spotinst. So they need one instance, fully configured from where they import configurations, and then you can define launch specifications there which is similar to the nodegroup configurations. They set up spot instances for me, and fall back to on-demand when spot instances are not available. I migrated my test cluster setup to spotinst, and will move the stage and prod clusters as well.
Making spot instance is on the roadmap post v1alpha5, i.e. hopefully before end of April.
On Fri, 5 Apr 2019, 3:03 pm Romil Punetha, notifications@github.com wrote:
@MilanDasek https://github.com/MilanDasek I actually use spotinst. So they need one instance, fully configured from where they import configurations, and then you can define launch specifications there which is similar to the nodegroup configurations. They set up spot instances for me, and fall back to on-demand when spot instances are not available. I migrated my test cluster setup to spotinst, and will move the stage and prod clusters as well.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/weaveworks/eksctl/issues/709#issuecomment-480287021, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPWS_qRDDAUSkq27l_ViMvnTFTh1pRCks5vd1eogaJpZM4ce2C_ .
Hello,
how can I deploy EKS v1.12 using eksctl?
Here is my config:
This deploys 1.11
Also node-volume-size is still 20GB, not 100.
Please advise.
Thank you