apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
labels:
machine.openshift.io/cluster-api-cluster: <clusterID> (1)
name: <clusterID>-<role>-us-east-1a (2)
namespace: openshift-machine-api
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: <clusterID> (1)
machine.openshift.io/cluster-api-machineset: <clusterID>-<role>-us-east-1a (2)
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: <clusterID> (1)
machine.openshift.io/cluster-api-machine-role: <role> (3)
machine.openshift.io/cluster-api-machine-type: <role> (3)
machine.openshift.io/cluster-api-machineset: <clusterID>-<role>-us-east-1a (2)
spec:
metadata:
labels:
node-role.kubernetes.io/<role>: "" (3)
providerSpec:
value:
ami:
id: ami-046fe691f52a953f9 (4)
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 (1)
instanceType: m4.large
kind: AWSMachineProviderConfig
placement:
availabilityZone: us-east-1a
region: us-east-1
securityGroups:
- filters:
- name: tag:Name
values:
- <clusterID>-worker-sg (1)
subnet:
filters:
- name: tag:Name
values:
- <clusterID>-private-us-east-1a (1)
tags:
- name: kubernetes.io/cluster/<clusterID> (1)
value: owned
userDataSecret:
name: worker-user-data