forked from openshift/machine-api-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
machineset.yaml
53 lines (53 loc) · 1.62 KB
/
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
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
labels:
machine.openshift.io/cluster-api-cluster: {{ .ClusterID }}
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
name: worker
namespace: openshift-machine-api
spec:
replicas: 2
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: {{ .ClusterID }}
machine.openshift.io/cluster-api-machineset: worker
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: {{ .ClusterID }}
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
machine.openshift.io/cluster-api-machineset: worker
spec:
providerSpec:
value:
credentialsSecret:
name: aws-credentials-secret
ami:
id: ami-05c79276d240b93bc
apiVersion: awsproviderconfig.openshift.io/v1beta1
iamInstanceProfile:
id: {{ .ClusterID }}-worker-profile
instanceType: t2.medium
kind: AWSMachineProviderConfig
placement:
region: us-east-1
securityGroups:
- filters:
- name: tag:Name
values:
- {{ .ClusterID }}_worker_sg
subnet:
filters:
- name: tag:Name
values:
- {{ .ClusterID }}-worker-*
tags:
- name: openshiftClusterID
value: {{ .ClusterID }}
userDataSecret:
name: ignition-worker
versions:
kubelet: ""