Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Enable-SupervisorCluster to use wcp-config.json as input #765

Open
1 of 4 tasks
benhtodd opened this issue Sep 20, 2024 · 3 comments
Open
1 of 4 tasks
Assignees
Labels
enhancement Enhancement need-info Needs Additional Information vvs/dri Developer Ready Infrastructure
Milestone

Comments

@benhtodd
Copy link

benhtodd commented Sep 20, 2024

Code of Conduct

  • I have read and agree to the project's Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Would like to be able to pass the wcp-config.json exported from a previous UI build of the supervisor cluster as input for Enable-SupervisorCluster

Use Case(s)

Automation

Potential Configuration

-configureJson

References

No response

@benhtodd benhtodd added enhancement Enhancement needs-review Needs Review labels Sep 20, 2024
@github-actions github-actions bot added the pending-review Pending Review label Sep 20, 2024
@tenthirtyam tenthirtyam removed pending-review Pending Review needs-review Needs Review labels Sep 20, 2024
@tenthirtyam tenthirtyam added this to the Backlog milestone Sep 20, 2024
@tenthirtyam tenthirtyam added the vvs/dri Developer Ready Infrastructure label Sep 20, 2024
@tenthirtyam tenthirtyam changed the title Enable-SupervisorCluster to use wcp-config.json as input Add support for Enable-SupervisorCluster to use wcp-config.json as input Sep 23, 2024
@tenthirtyam
Copy link
Collaborator

@benhtodd - Can you provide an example of the JSON here, please?

@tenthirtyam tenthirtyam self-assigned this Nov 14, 2024
@tenthirtyam tenthirtyam modified the milestones: Backlog, v2.13.0 Nov 14, 2024
@tenthirtyam tenthirtyam added the need-info Needs Additional Information label Nov 15, 2024
@benhtodd
Copy link
Author

@tenthirtyam - here you go

wcp-config.json

@tenthirtyam
Copy link
Collaborator

For community readability:

{
  "specVersion": "1.0",
  "supervisorSpec": {
    "supervisorName": "lf-tdd-supervisor"
  },
  "envSpec": {
    "vcenterDetails": {
      "vcenterAddress": "vcenter-mgmt.vcf.sddc.lab",
      "vcenterCluster": "mgmt-cluster-01"
    }
  },
  "tkgsComponentSpec": {
    "tkgsStoragePolicySpec": {
      "masterStoragePolicy": "vsan-tanzu-storage",
      "imageStoragePolicy": "vsan-tanzu-storage",
      "ephemeralStoragePolicy": "vsan-tanzu-storage"
    },
    "tkgsMgmtNetworkSpec": {
      "tkgsMgmtNetworkName": "sddc-vds01-vmmgmt",
      "tkgsMgmtIpAssignmentMode": "STATICRANGE",
      "tkgsMgmtNetworkStartingIp": "10.0.11.180",
      "tkgsMgmtNetworkGatewayCidr": "10.0.11.253/24",
      "tkgsMgmtNetworkDnsServers": [
        "10.0.0.253"
      ],
      "tkgsMgmtNetworkSearchDomains": [
        "vcf.sddc.lab"
      ],
      "tkgsMgmtNetworkNtpServers": [
        "10.0.0.253"
      ]
    },
    "tkgsNcpClusterNetworkInfo": {
      "tkgsClusterDistributedSwitch": "mgmt-vds01",
      "tkgsNsxEdgeCluster": "EC-01",
      "tkgsNsxTier0Gateway": "4693e4af-50c7-47a9-95a4-35e43015f05d",
      "tkgsNamespaceSubnetPrefix": 28,
      "tkgsRoutedMode": false,
      "tkgsNamespaceNetworkCidrs": [
        "10.244.0.0/20"
      ],
      "tkgsIngressCidrs": [
        "10.80.0.0/24"
      ],
      "tkgsEgressCidrs": [
        "10.70.0.0/24"
      ],
      "tkgsWorkloadDnsServers": [
        "10.0.0.253"
      ],
      "tkgsWorkloadServiceCidr": "10.96.0.0/23"
    },
    "apiServerDnsNames": [
      "kubeapi.vcf.sddc.lab"
    ],
    "controlPlaneSize": "SMALL"
  }
}

@tenthirtyam tenthirtyam modified the milestones: v2.12.1, Backlog Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement need-info Needs Additional Information vvs/dri Developer Ready Infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants