forked from eksctl-io/eksctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path34-taints.yaml
45 lines (42 loc) · 999 Bytes
/
34-taints.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
40
41
42
43
44
45
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: taints-1
region: us-west-1
# Unmanaged nodegroups with and without taints.
nodeGroups:
- name: ng1-public
instanceType: m5.xlarge
minSize: 2
maxSize: 8
taints:
- key: your.domain.com/db
value: "true"
effect: NoSchedule
- key: your.domain.com/production
value: "true"
effect: NoExecute
- name: ng2-private
instanceType: m5.xlarge
minSize: 2
maxSize: 8
privateNetworking: true
taints:
- key: your.domain.com/sensitive-information
value: "true"
effect: NoSchedule
- name: ng3-public
instanceType: m5.xlarge
minSize: 2
maxSize: 8
# Managed nodegroups with taints.
managedNodeGroups:
- name: mng1-public
taints:
- key: your.domain.com/memory-pressure
value: "true"
effect: PreferNoSchedule
- key: your.domain.com/needs-auth
value: "true"
effect: NoExecute