-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcontrol-machineset.yaml
62 lines (62 loc) · 1.85 KB
/
control-machineset.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
labels:
machine.openshift.io/cluster-api-cluster: {{ infraID }}
name: {{ infraID }}-control-{{ regionID }}a
namespace: openshift-machine-api
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: {{ infraID }}
machine.openshift.io/cluster-api-machineset: {{ infraID }}-control-{{ regionID }}a
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: {{ infraID }}
machine.openshift.io/cluster-api-machineset: {{ infraID }}-control-{{ regionID }}a
spec:
metadata:
labels:
aap_node_type: control
taints:
- key: dedicated
value: AutomationController
effect: NoSchedule
providerSpec:
value:
ami:
id: ami-03d9208319c96db0c
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
iops: 0
volumeSize: 120
volumeType: gp2
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: {{ infraID }}-worker-profile
instanceType: m4.large
kind: AWSMachineProviderConfig
placement:
availabilityZone: {{ regionID }}a
region: {{ regionID }}
securityGroups:
- filters:
- name: tag:Name
values:
- {{ infraID }}-worker-sg
subnet:
filters:
- name: tag:Name
values:
- {{ infraID }}-private-{{ regionID }}a
tags:
- name: kubernetes.io/cluster/{{ infraID }}
value: owned
userDataSecret:
name: worker-user-data