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 node.kubernetes.io/instance-type label to nodes #536

Open
viveksyngh opened this issue Nov 1, 2023 · 3 comments
Open

Add node.kubernetes.io/instance-type label to nodes #536

viveksyngh opened this issue Nov 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@viveksyngh
Copy link
Member

viveksyngh commented Nov 1, 2023

Is your feature request related to a problem? Please describe.

We would like to add node.kubernetes.io/instance-type labels to nodes provisioned using CAPVCD similar to other cloud provider node.kubernetes.io/instance-type.

https://kubernetes.io/docs/reference/labels-annotations-taints/#nodekubernetesioinstance-type

Describe the solution you'd like

We can add the sizing policy of VCDMachine object as instanceType of the nodes. These labels can be added as metadata in init or join configuration of the nodes.

Describe alternatives you've considered

No response

Additional context

No response

@viveksyngh viveksyngh added the enhancement New feature or request label Nov 1, 2023
@dlipovetsky
Copy link
Contributor

As far as I understand, the instance-type label is set by kubelet, based on information it retrieves using the InstanceType method of the Cloud Provider Interface (CPI).

For example, the vSphere Cloud Provider implements this method.

I think this issue should be moved to the VCD Cloud Provider, https://github.com/vmware/cloud-provider-for-cloud-director

@Anirudh9794
Copy link
Contributor

Hi @viveksyngh
can you please open the issue in CPI project as the changes need to be done in https://github.com/vmware/cloud-provider-for-cloud-director repository ?

Thank you!

@viveksyngh
Copy link
Member Author

Sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants