-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheksctl.yaml
More file actions
108 lines (103 loc) · 3.06 KB
/
eksctl.yaml
File metadata and controls
108 lines (103 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: devtron-cluster
region: ap-south-1
version: "1.30"
vpc:
## Make sure that this CIDR doesn't overlaps with any other exisiting VPC with which a peering needs to be done.
cidr: "10.0.0.0/16"
nodeGroups:
- name: devtron-nodes
availabilityZones:
- ap-south-1a
privateNetworking: true
desiredCapacity: 1
minSize: 1
maxSize: 2
instancesDistribution:
maxPrice: 0.5
instanceTypes: ["c5a.xlarge", "r5a.xlarge", "m5a.xlarge"]
onDemandBaseCapacity: 1
iam:
withAddonPolicies:
autoScaler: true
ebs: true
attachPolicyARNs:
- arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy
- arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy
- arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess
- arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
- arn:aws:iam::aws:policy/AmazonEKSServicePolicy
- arn:aws:iam::aws:policy/AmazonS3FullAccess
ssh:
allow: true
publicKeyName: ""
volumeSize: 50
asgSuspendProcesses: ["AZRebalance"]
tags:
Component : cicd
kubeletExtraConfig:
kubeReserved:
cpu: "200m"
memory: "200Mi"
ephemeral-storage: "1Gi"
kubeReservedCgroup: "/kube-reserved"
cpuManagerPolicy: "static"
systemReserved:
cpu: "200m"
memory: "200Mi"
ephemeral-storage: "1Gi"
evictionHard:
memory.available: "200Mi"
nodefs.available: "10%"
featureGates:
RotateKubeletServerCertificate: true
CPUManager: true
- name: ci-nodes
availabilityZones:
- ap-south-1a
privateNetworking: true
desiredCapacity: 1
minSize: 0
maxSize: 3
instancesDistribution:
maxPrice: 0.5
instanceTypes: ["c5a.xlarge", "r5a.xlarge", "m5a.xlarge"]
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
iam:
withAddonPolicies:
autoScaler: true
attachPolicyARNs:
- arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy
- arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy
- arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess
- arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
- arn:aws:iam::aws:policy/AmazonEKSServicePolicy
- arn:aws:iam::aws:policy/AmazonS3FullAccess
ssh:
allow: true
publicKeyName: ""
volumeSize: 100
asgSuspendProcesses: ["AZRebalance"]
tags:
Component : cicd
labels: {purpose: ci}
taints:
dedicated: "ci:NoSchedule"
kubeletExtraConfig:
kubeReserved:
cpu: "200m"
memory: "200Mi"
ephemeral-storage: "1Gi"
kubeReservedCgroup: "/kube-reserved"
systemReserved:
cpu: "200m"
memory: "200Mi"
ephemeral-storage: "1Gi"
evictionHard:
memory.available: "200Mi"
nodefs.available: "10%"
featureGates:
RotateKubeletServerCertificate: true