@@ -56,34 +56,33 @@ cloudWatch:
56
56
privateCluster :
57
57
enabled : false
58
58
additionalEndpointServices :
59
- - " autoscaling"
60
- - " logs"
59
+ - " autoscaling"
60
+ - " logs"
61
61
62
62
managedNodeGroups :
63
63
- name : workspaces
64
64
desiredCapacity : 1
65
65
minSize : 1
66
- maxSize : 3
66
+ maxSize : 10
67
67
# because of AWS addons
68
68
disableIMDSv1 : false
69
69
# Please configure the size of the volume and additional features
70
70
# https://eksctl.io/usage/schema/#nodeGroups-volumeType
71
71
# https://aws.amazon.com/es/ebs/pricing/
72
- volumeSize : 100
72
+ volumeSize : 300
73
73
volumeType : gp3
74
74
volumeIOPS : 6000
75
75
volumeThroughput : 500
76
76
ebsOptimized : true
77
77
# Use private subnets for nodes
78
78
# https://eksctl.io/usage/vpc-networking/#use-private-subnets-for-initial-nodegroup
79
79
privateNetworking : true
80
- ami : ami-0ea449d16eb31a003
80
+ ami : ami-0a5735f238643d4c5
81
+
81
82
tags :
82
83
# EC2 tags required for cluster-autoscaler auto-discovery
83
84
k8s.io/cluster-autoscaler/enabled : " true"
84
85
k8s.io/cluster-autoscaler/gitpod : " owned"
85
- k8s.io/cluster-autoscaler/node-template/label/purpose : workspaces
86
- k8s.io/cluster-autoscaler/node-template/taint/dedicated : " workspaces:NoSchedule"
87
86
iam :
88
87
attachPolicyARNs : &attachPolicyARNs
89
88
- arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly
@@ -107,17 +106,19 @@ managedNodeGroups:
107
106
108
107
declare -a LABELS=(
109
108
eks.amazonaws.com/nodegroup="${NODEGROUP}"
110
- purpose="${NODEGROUP}"
109
+ gitpod.io/workload_workspaces=true
111
110
)
112
111
113
- export USE_MAX_PODS=false
114
112
export KUBELET_EXTRA_ARGS="$(printf -- "--max-pods=110 --node-labels=%s" $(IFS=$','; echo "${LABELS[*]}"))"
115
113
/etc/eks/bootstrap.sh ${CLUSTERNAME}
116
114
117
- instanceTypes : [r5n.xlarge, r5n.2xlarge]
118
- # Create a spot nodegroup
119
- # Please change to false for production
120
- spot : true
115
+ spot : false
116
+ # https://eksctl.io/usage/instance-selector/
117
+ # instanceSelector:
118
+ # vCPUs: 8
119
+ # memory: 64Gib
120
+ # or use a custom list
121
+ instanceTypes : ["r5.2xlarge", "r5.4xlarge"]
121
122
122
123
- name : services
123
124
desiredCapacity : 1
@@ -136,12 +137,12 @@ managedNodeGroups:
136
137
# Use private subnets for nodes
137
138
# https://eksctl.io/usage/vpc-networking/#use-private-subnets-for-initial-nodegroup
138
139
privateNetworking : true
139
- ami : ami-0ea449d16eb31a003
140
+ ami : ami-0a5735f238643d4c5
141
+
140
142
tags :
141
143
# EC2 tags required for cluster-autoscaler auto-discovery
142
144
k8s.io/cluster-autoscaler/enabled : " true"
143
145
k8s.io/cluster-autoscaler/gitpod : " owned"
144
- k8s.io/cluster-autoscaler/node-template/label/purpose : services
145
146
iam :
146
147
attachPolicyARNs : *attachPolicyARNs
147
148
withAddonPolicies : *withAddonPolicies
@@ -155,14 +156,16 @@ managedNodeGroups:
155
156
156
157
declare -a LABELS=(
157
158
eks.amazonaws.com/nodegroup="${NODEGROUP}"
158
- purpose="${NODEGROUP}"
159
+ gitpod.io/workload_services=true
159
160
)
160
161
161
- export USE_MAX_PODS=false
162
162
export KUBELET_EXTRA_ARGS="$(printf -- "--max-pods=110 --node-labels=%s" $(IFS=$','; echo "${LABELS[*]}"))"
163
163
/etc/eks/bootstrap.sh ${CLUSTERNAME}
164
164
165
- instanceTypes : [r5n.xlarge, r5n.2xlarge]
166
- # Create a spot nodegroup
167
- # Please change to false for production
168
- spot : true
165
+ spot : false
166
+ # https://eksctl.io/usage/instance-selector/
167
+ # instanceSelector:
168
+ # vCPUs: 4
169
+ # memory: 16Gib
170
+ # or use a custom list
171
+ instanceTypes : ["r5.xlarge", "r5.2xlarge"]
0 commit comments