-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcluster.yaml
39 lines (34 loc) · 856 Bytes
/
cluster.yaml
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
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: @CLUSTER_NAME@
region: @REGION@
version: @KUBERNETES_VERSION@
vpc:
clusterEndpoints:
publicAccess: true
privateAccess: true
# Restrict access to API server to CloudBees VPN CIDR
publicAccessCIDRs: ["34.73.99.37/32"]
iam:
withOIDC: true
serviceAccounts:
- metadata:
name: aws-load-balancer-controller
namespace: kube-system
attachPolicyARNs:
- arn:aws:iam::@ACCOUNT@:policy/AWSLoadBalancerControllerIAMPolicy-@CLUSTER_NAME@
addons:
- name: aws-ebs-csi-driver
version: v1.17.0-eksbuild.1
attachPolicyARNs:
- arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy
managedNodeGroups:
- name: ng-linux
instanceType: t3.xlarge
minSize: 3
maxSize: 3
iam:
withAddonPolicies:
ebs: true