Skip to content

Instantly share code, notes, and snippets.

@miyadav
Created July 14, 2023 13:08
Show Gist options
  • Save miyadav/595483c7988d9e93cf1baf9649062641 to your computer and use it in GitHub Desktop.
Save miyadav/595483c7988d9e93cf1baf9649062641 to your computer and use it in GitHub Desktop.
cpms.yaml
apiVersion: machine.openshift.io/v1
kind: ControlPlaneMachineSet
metadata:
creationTimestamp: "2023-07-14T10:44:03Z"
finalizers:
- controlplanemachineset.machine.openshift.io
generation: 1
labels:
machine.openshift.io/cluster-api-cluster: miyadav-1407-fgnjg
name: cluster
namespace: openshift-machine-api
resourceVersion: "19257"
uid: 37c520cf-50c1-4c32-b66b-f0446652a505
spec:
replicas: 3
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: miyadav-1407-fgnjg
machine.openshift.io/cluster-api-machine-role: master
machine.openshift.io/cluster-api-machine-type: master
state: Active
strategy:
type: RollingUpdate
template:
machineType: machines_v1beta1_machine_openshift_io
machines_v1beta1_machine_openshift_io:
failureDomains:
azure:
- zone: ""
platform: Azure
metadata:
labels:
machine.openshift.io/cluster-api-cluster: miyadav-1407-fgnjg
machine.openshift.io/cluster-api-machine-role: master
machine.openshift.io/cluster-api-machine-type: master
spec:
lifecycleHooks: {}
metadata: {}
providerSpec:
value:
acceleratedNetworking: true
apiVersion: machine.openshift.io/v1beta1
credentialsSecret:
name: azure-cloud-credentials
namespace: openshift-machine-api
diagnostics: {}
image:
offer: ""
publisher: ""
resourceID: /resourceGroups/miyadav-1407-fgnjg-rg/providers/Microsoft.Compute/galleries/gallery_miyadav_1407_fgnjg/images/miyadav-1407-fgnjg-gen2/versions/latest
sku: ""
version: ""
internalLoadBalancer: miyadav-1407-fgnjg-internal
kind: AzureMachineProviderSpec
location: westus
managedIdentity: miyadav-1407-fgnjg-identity
metadata:
creationTimestamp: null
networkResourceGroup: miyadav-1407-fgnjg-rg
osDisk:
diskSettings: {}
diskSizeGB: 1024
managedDisk:
storageAccountType: Premium_LRS
osType: Linux
publicIP: false
publicLoadBalancer: miyadav-1407-fgnjg
resourceGroup: miyadav-1407-fgnjg-rg
subnet: miyadav-1407-fgnjg-master-subnet
userDataSecret:
name: master-user-data
vmSize: Standard_D8s_v3
vnet: miyadav-1407-fgnjg-vnet
status:
conditions:
- lastTransitionTime: "2023-07-14T10:48:51Z"
message: ""
observedGeneration: 1
reason: AsExpected
status: "False"
type: Error
- lastTransitionTime: "2023-07-14T10:53:55Z"
message: ""
observedGeneration: 1
reason: AllReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2023-07-14T10:53:45Z"
message: ""
observedGeneration: 1
reason: AsExpected
status: "False"
type: Degraded
- lastTransitionTime: "2023-07-14T10:53:55Z"
message: ""
observedGeneration: 1
reason: AllReplicasUpdated
status: "False"
type: Progressing
observedGeneration: 1
readyReplicas: 3
replicas: 3
updatedReplicas: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment