-
Notifications
You must be signed in to change notification settings - Fork 296
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
Incorporate VCP vsphere.conf zones & regions into envvars.txt and manifest generation #674
Comments
Hi @MnrGreg, I'm not sure if we want to continue to support the in-tree provider. I would think all new work should focus on the external cloud provider. Thoughts? |
Yes, agreed. Our use-cases still involve using Will the Trying to gage if is it worth ones time updating the |
I agree this is a good ask, but it just isn't something I've had time to do. Can you possibly file a PR? Thanks! |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This is now simple enough to do with clusterctl cluster-template.yaml overrides. Example: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: VSphereCluster
metadata:
name: '${ CLUSTER_NAME }'
namespace: '${ NAMESPACE }'
spec:
cloudProviderConfiguration:
labels:
region: '${ VSPHERE_REGION_TAG }'
zone: '${ VSPHERE_ZONE_TAG }' I also noticed that if the vSphere Tag Categories do not exist then the vSphere Cloud Provider fails to start correctly. Probably safer to require that it be explicitly defined. /close |
@MnrGreg: Closing this issue. In response to this:
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. |
/kind feature
Enable infrastructure topology awareness within kubernetes clusters by supporting the configuration of vSphere Cloud Provider
Label:region
andLabel:zones
at manifest generation time.vSphere admins apply vSphere Tags to vSphere Datacenter, Cluster and Host objects to represent Availability Regions and Availability Zones. Kubernetes clusters become aware of these topologies when bootstrapped and take them into account during scheduling.
Possible enablement through:
getting_started.md
Modify /examples/generate.sh to either append to the vsphere.conf ini section:
or to customize cluster.yaml:
controlplane.yaml
andmachinedeployment.yaml
kubelet configuration templates with path to vsphere.conf (might be required for pre-67u3 only?)Environment:
kubectl version
): 1.16.2/etc/os-release
): CentOS7The text was updated successfully, but these errors were encountered: