Skip to content

Instantly share code, notes, and snippets.

@miyadav
Created October 14, 2022 05:30
Show Gist options
  • Save miyadav/f5046cbba46c3ff1a9831a25c7bc18d7 to your computer and use it in GitHub Desktop.
Save miyadav/f5046cbba46c3ff1a9831a25c7bc18d7 to your computer and use it in GitHub Desktop.
cpms for vsphere
apiVersion: machine.openshift.io/v1
kind: ControlPlaneMachineSet
metadata:
creationTimestamp: "2022-10-14T04:04:50Z"
finalizers:
- controlplanemachineset.machine.openshift.io
generation: 5
name: cluster
namespace: openshift-machine-api
resourceVersion: "101111"
uid: 10da4e35-dac1-47eb-8be7-9eb67abce508
spec:
replicas: 3
selector:
matchLabels:
machine.openshift.io/cluster-api-machine-role: master
machine.openshift.io/cluster-api-machine-type: master
state: Active
strategy:
type: OnDelete
template:
machineType: machines_v1beta1_machine_openshift_io
machines_v1beta1_machine_openshift_io:
failureDomains:
platform: ""
metadata:
labels:
machine.openshift.io/cluster-api-cluster: xxxx-1410-v2-dm9c9
machine.openshift.io/cluster-api-machine-role: master
machine.openshift.io/cluster-api-machine-type: master
spec:
lifecycleHooks: {}
metadata: {}
providerSpec:
value:
apiVersion: machine.openshift.io/v1beta1
credentialsSecret:
name: vsphere-cloud-credentials
diskGiB: 120
kind: VSphereMachineProviderSpec
memoryMiB: 16384
metadata:
creationTimestamp: null
network:
devices:
- networkName: qe-segment
numCPUs: 8
numCoresPerSocket: 4
snapshot: ""
template: xxxx-1410-v2-dm9c9-rhcos
userDataSecret:
name: master-user-data
workspace:
datacenter: SDDC-Datacenter
datastore: WorkloadDatastore
folder: /xxxxx/vm/xxxx-1410-v2-dm9c9
resourcePool: /xxxxx/host/Cluster-1/Resources
server: vcenter.xxxx-xx-xxx-xxx-xx.xxxx.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment