Skip to content

Instantly share code, notes, and snippets.

@miyadav
Last active September 16, 2020 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miyadav/ab17954c1075db1533eee13f0ffda58c to your computer and use it in GitHub Desktop.
Save miyadav/ab17954c1075db1533eee13f0ffda58c to your computer and use it in GitHub Desktop.
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
labels:
machine.openshift.io/cluster-api-cluster: xxxx-22j8x
name: xxxx-22j8x-worker-new
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: xxxx-22j8x-new
machine.openshift.io/cluster-api-machineset: xxxx-22j8x-worker
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: xxxx-22j8x-new
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
machine.openshift.io/cluster-api-machineset: xxxx-22j8x-worker
spec:
metadata: {}
providerSpec:
value:
apiVersion: vsphereprovider.openshift.io/v1beta1
credentialsSecret:
name: vsphere-cloud-credentials
diskGiB: 120
kind: VSphereMachineProviderSpec
memoryMiB: 8192
metadata:
creationTimestamp: null
network:
devices:
- networkName: VM Network
numCPUs: 2
numCoresPerSocket: 1
snapshot: ""
template: xxxx-xx.xx.xxxxxxx-x
userDataSecret:
name: worker-user-data
workspace:
datacenter: Datacenter
datastore: datastore1
folder: /Datacenter/vm/reliability
resourcePool: /Datacenter/host/qe/Resources
server: xxxx.xx.xxxxx.openshift.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment