cluster-api-provider-vsphere icon indicating copy to clipboard operation
cluster-api-provider-vsphere copied to clipboard

Where to execute "kubectl apply -f infrastructure-components-supervisor.yaml "

Open ruifaling opened this issue 3 years ago • 5 comments
trafficstars

I just started to contact this project and want to build my own environment. In release, I found two deployed yaml files (infrastructure components supervisor. yaml

And infrastructure-components.yaml

)Where are the two files executed respectively (there is no public network environment, and the environment cannot be deployed through clusterctl)

ruifaling avatar Sep 29 '22 08:09 ruifaling

/help

ruifaling avatar Sep 29 '22 08:09 ruifaling

@ruifaling: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Sep 29 '22 08:09 k8s-ci-robot

Hi @ruifaling welcome to the CAPV community and thanks for raising this issue. The 2 infrastructure components yaml are to be used separately. The infrastructure-components.yaml deploys the CRDs and controllers responsible for interaction with the classical CAPV resources under the infrastructure.cluster-x.k8s.io API group. It is responsible for creating CAPI clusters with the classic govmomi based vCenter APIs.

Whereas the infrastructure-components.yaml deploys the CRDs and controllers responsible for interaction with the CAPV resources under the vmware.infrastructure.cluster-x.k8s.io API group. These are responsible for creating Supervisor cluster based CAPI clusters.

srm09 avatar Sep 30 '22 02:09 srm09

To deploy classic CAPV through clusterctl, follow the guide https://cluster-api.sigs.k8s.io/user/quick-start.html You will need access to a vCenter environment and CAPV based images, example

srm09 avatar Sep 30 '22 02:09 srm09

Reference

Thanks

ruifaling avatar Oct 04 '22 02:10 ruifaling

/close Feel free to open another one in case of other questions.

srm09 avatar Oct 17 '22 19:10 srm09

@srm09: Closing this issue.

In response to this:

/close Feel free to open another one in case of other questions.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Oct 17 '22 19:10 k8s-ci-robot