-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmaster-machine.yaml
49 lines (49 loc) · 1.19 KB
/
master-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
46
47
48
49
---
apiVersion: machine.openshift.io/v1beta1
kind: Machine
metadata:
name: master-machine
namespace: default
labels:
machine.openshift.io/cluster-api-cluster: aws-actuator-k8s
spec:
metadata:
labels:
node-role.kubernetes.io/master: ""
providerSpec:
value:
apiVersion: awsproviderconfig.openshift.io/v1beta1
kind: AWSMachineProviderConfig
ami:
filters:
- name: "tag:image_stage"
values:
- "base"
- name: "tag:operating_system"
values:
- "rhel"
- name: "tag:ready"
values:
- "yes"
instanceType: m4.xlarge
placement:
region: us-east-1
availabilityZone: us-east-1a
subnet:
filters:
- name: "tag:Name"
values:
- "aws-actuator-k8s-worker-*"
iamInstanceProfile:
id: openshift_master_launch_instances
keyName: libra
securityGroups:
- filters:
- name: "tag:Name"
values:
- "aws-actuator-k8s-*"
publicIp: true
userDataSecret:
name: master-user-data-secret
credentialsSecret:
name: aws-credentials-secret