forked from openshift/machine-api-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
machine.yaml
45 lines (45 loc) · 1.19 KB
/
machine.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: machine.openshift.io/v1beta1
kind: Machine
metadata:
labels:
machine.openshift.io/cluster-api-cluster: clusterID
machine.openshift.io/cluster-api-machine-role: role
machine.openshift.io/cluster-api-machine-type: role
name: machineName
namespace: openshift-machine-api
spec:
providerSpec:
value:
kind: AWSMachineProviderConfig
ami:
id: ami-0df3f99538fbef10f
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
iops: 0
volumeSize: 120
volumeType: gp2
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: clusterID-worker-profile
instanceType: m4.large
placement:
availabilityZone: us-east-1a
region: us-east-1
securityGroups:
- filters:
- name: tag:Name
values:
- clusterID-worker-sg
subnet:
filters:
- name: tag:Name
values:
- clusterID-private-us-east-1a
tags:
- name: kubernetes.io/cluster/clusterID
value: owned
userDataSecret:
name: worker-user-data