apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
labels:
machine.openshift.io/cluster-api-cluster: <infrastructureID>
name: <infrastructureID>-w-a
namespace: openshift-machine-api
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: <infrastructureID>
machine.openshift.io/cluster-api-machineset: <infrastructureID>-w-a
template:
metadata:
creationTimestamp: null
labels:
machine.openshift.io/cluster-api-cluster: <infrastructureID>
machine.openshift.io/cluster-api-machine-role: <role>
machine.openshift.io/cluster-api-machine-type: <role>
machine.openshift.io/cluster-api-machineset: <infrastructureID>-w-a
spec:
metadata:
labels:
node-role.kubernetes.io/<role>: ""
providerSpec:
value:
apiVersion: gcpprovider.openshift.io/v1beta1
canIPForward: false
credentialsSecret:
name: gcp-cloud-credentials
deletionProtection: false
disks:
- autoDelete: true
boot: true
image: <infrastructureID>-rhcos-image
labels: null
sizeGb: 128
type: pd-ssd
kind: GCPMachineProviderSpec
machineType: n1-standard-4
metadata:
creationTimestamp: null
networkInterfaces:
- network: <infrastructureID>-network
subnetwork: <infrastructureID>-<role>-subnet
projectID: <project_name>
region: us-central1
serviceAccounts:
- email: <infrastructureID>-w@<project_name>.iam.gserviceaccount.com
scopes:
- https://www.googleapis.com/auth/cloud-platform
tags:
- <infrastructureID>-<role>
userDataSecret:
name: worker-user-data
zone: us-central1-a
apiVersion : machine.openshift.io/v1beta1
kind : MachineSet
metadata :
labels :
machine.openshift.io/cluster-api-cluster : <infrastructureID> 1
name : <infrastructureID> - w- a 2
namespace : openshift- machine- api
spec :
replicas : 1
selector :
matchLabels :
machine.openshift.io/cluster-api-cluster : <infrastructureID> 3
machine.openshift.io/cluster-api-machineset : <infrastructureID> - w- a 4
template :
metadata :
creationTimestamp : null
labels :
machine.openshift.io/cluster-api-cluster : <infrastructureID> 5
machine.openshift.io/cluster-api-machine-role : <role> 6
machine.openshift.io/cluster-api-machine-type : <role> 7
machine.openshift.io/cluster-api-machineset : <infrastructureID> - w- a 8
spec :
metadata :
labels :
node-role.kubernetes.io/<role> : "" 9
providerSpec :
value :
apiVersion : gcpprovider.openshift.io/v1beta1
canIPForward : false
credentialsSecret :
name : gcp- cloud- credentials
deletionProtection : false
disks :
- autoDelete : true
boot : true
image : <infrastructureID> - rhcos- image 10
labels : null
sizeGb : 128
type : pd- ssd
kind : GCPMachineProviderSpec
machineType : n1- standard- 4
metadata :
creationTimestamp : null
networkInterfaces :
- network : <infrastructureID> - network 11
subnetwork : <infrastructureID> - <role> - subnet 12
projectID : <project_name> 13
region : us- central1
serviceAccounts :
- email : <infrastructureID> - w@<project_name> .iam.gserviceaccount.com 14
15
scopes :
- https: //www.googleapis.com/auth/cloud- platform
tags :
- <infrastructureID> - <role> 16
userDataSecret :
name : worker- user- data
zone : us- central1- a
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow