Skip to content

Instantly share code, notes, and snippets.

@jcpowermac
Last active August 31, 2022 19:29
Show Gist options
  • Save jcpowermac/49eaaadfacd2afcc4e93418a7ffc6fa4 to your computer and use it in GitHub Desktop.
Save jcpowermac/49eaaadfacd2afcc4e93418a7ffc6fa4 to your computer and use it in GitHub Desktop.
yaml from infra vsphere changes
$ kubectl get infrastructure.config.openshift.io/cluster -o yaml
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
  annotations:
    kcp.dev/cluster: root
  creationTimestamp: "2022-08-31T12:19:00Z"
  generation: 5
  name: cluster
  resourceVersion: "519"
  uid: 7a844a61-f635-4150-b16a-0bf4031795e7
spec:
  cloudConfig:
    name: ""
  platformSpec:
    type: VSphere
    vsphere:
      failureDomains:
      - controlPlane: Allowed
        name: us-jcallen2-east-1a
        region: us-jcallen2-east
        server: 1.1.1.111
        topology:
          computeCluster: /IBMCloud/host/vcs-mdcnc-workload-1
          datacenter: IBMCloud
          datastore: workload_share_vcsmdcncworkload_Yfyf6
          folder: /IBMCloud/vm/foo-folder-name
          networks:
          - ocp-ci-seg-10
          resourcePool: /IBMCloud/host/this-is-a-bug/Resources/foo-rp-name
        zone: us-jcallen2-east-1a
      - controlPlane: Allowed
        name: us-jcallen2-east-2a
        region: us-jcallen2-east
        server: 1.1.1.111
        topology:
          computeCluster: /IBMCloud/host/vcs-mdcnc-workload-2
          datacenter: IBMCloud
          datastore: workload_share_vcsmdcncworkload2_vyC6a
          networks:
          - ocp-ci-seg-10
        zone: us-jcallen2-east-2a
      - controlPlane: Allowed
        name: us-jcallen2-east-3a
        region: us-jcallen2-east
        server: 1.1.1.111
        topology:
          computeCluster: /IBMCloud/host/vcs-mdcnc-workload-3
          datacenter: IBMCloud
          datastore: workload_share_vcsmdcncworkload3_joYiR
          networks:
          - ocp-ci-seg-10
        zone: us-jcallen2-east-3a
      - controlPlane: Disallowed
        name: us-jcallen2-east-4a
        region: us-jcallen2-east
        server: 1.1.1.111
        topology:
          computeCluster: /datacenter-2/host/vcs-mdcnc-workload-4
          datacenter: datacenter-2
          datastore: workload_share_vcsmdcncworkload3_joYiR
          networks:
          - ocp-ci-seg-10
        zone: us-jcallen2-east-4a
      nodeNetworking:
        external:
          network: foo
          networkSubnetCidr:
          - 10.0.0.0/24
          - 10.10.0.0/24
        internal:
          network: foo2
          networkSubnetCidr:
          - 10.0.0.0/16
          - 10.10.0.0/16
      vcenters:
      - datacenters:
        - IBMCloud
        - datacenter-2
        server: 1.1.1.111
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
annotations:
kcp.dev/cluster: root
creationTimestamp: "2022-08-04T18:36:36Z"
generation: 14
name: cluster
resourceVersion: "645"
uid: e3b8be11-d8f1-4cfd-af54-6ba39cef29bc
spec:
cloudConfig:
name: ""
platformSpec:
type: VSphere
vsphere:
deploymentZones:
- failureDomain: us-jcallen2-east-1a
name: deployzone-us-east-1a
server: ibmvcenter.vmc-ci.devcluster.openshift.com
- failureDomain: us-jcallen2-east-2a
name: deployzone-us-east-2a
server: ibmvcenter.vmc-ci.devcluster.openshift.com
- failureDomain: us-jcallen2-east-3a
name: deployzone-us-east-3a
server: ibmvcenter.vmc-ci.devcluster.openshift.com
- failureDomain: us-jcallen2-east-4a
name: deployzone-us-east-4a
server: ibmvcenter.vmc-ci.devcluster.openshift.com
failureDomains:
- name: us-jcallen2-east-1a
region:
name: us-jcallen2-east
tagCategory: openshift-region
type: Datacenter
topology:
computeCluster: /IBMCloud/host/vcs-mdcnc-workload-1
datacenter: IBMCloud
datastore: workload_share_vcsmdcncworkload_Yfyf6
networks:
- ocp-ci-seg-10
zone:
name: us-jcallen2-east-1a
tagCategory: openshift-zone
type: ComputeCluster
- name: us-jcallen2-east-2a
region:
name: us-jcallen2-east
tagCategory: openshift-region
type: Datacenter
topology:
computeCluster: /IBMCloud/host/vcs-mdcnc-workload-2
datacenter: IBMCloud
datastore: workload_share_vcsmdcncworkload2_vyC6a
networks:
- ocp-ci-seg-10
zone:
name: us-jcallen2-east-2a
tagCategory: openshift-zone
type: ComputeCluster
- name: us-jcallen2-east-3a
region:
name: us-jcallen2-east
tagCategory: openshift-region
type: Datacenter
topology:
computeCluster: /IBMCloud/host/vcs-mdcnc-workload-3
datacenter: IBMCloud
datastore: workload_share_vcsmdcncworkload3_joYiR
networks:
- ocp-ci-seg-10
zone:
name: us-jcallen2-east-3a
tagCategory: openshift-zone
type: ComputeCluster
- name: us-jcallen2-east-4a
region:
name: us-jcallen2-east
tagCategory: openshift-region
type: Datacenter
topology:
computeCluster: /datacenter-2/host/vcs-mdcnc-workload-4
datacenter: datacenter-2
datastore: workload_share_vcsmdcncworkload3_joYiR
networks:
- ocp-ci-seg-10
zone:
name: us-jcallen2-east-4a
tagCategory: openshift-zone
type: ComputeCluster
nodeNetworking:
external:
network: foo
networkSubnetCidr:
- 10.0.0.0/24
- 10.10.0.0/24
internal:
network: foo2
networkSubnetCidr:
- 10.0.0.0/16
- 10.10.0.0/16
vcenters:
- datacenters:
- IBMCloud
- datacenter-2
server: 1.1.1.111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment