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
Updated vSphere cloud provider config for Kubernetes >= v1.9.2 and added resource pool deployment variable #2221
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Overall changes lgtm, is there any way you can refactor it so the template is a bit more DRY? |
docs/vsphere.md
Outdated
@@ -34,10 +34,12 @@ Then, in the same file, you need to declare your vCenter credential following th | |||
| vsphere_datastore | TRUE | string | | | Datastore name to use | | |||
| vsphere_working_dir | TRUE | string | | | Working directory from the view "VMs and template" in the vCenter where VM are placed | | |||
| vsphere_scsi_controller_type | TRUE | string | buslogic, pvscsi, parallel | pvscsi | SCSI controller name. Commonly "pvscsi". | | |||
| vsphere_vm_uuid | FALSE | string | | | VM Instance UUID of virtual machine that host K8s master. Can be retrieved from instanceUuid property in VmConfigInfo, or as vc.uuid in VMX file or in `/sys/class/dmi/id/product_serial` | | |||
| vsphere_vm_uuid | FALSE | string | | | VM Instance UUID of virtual machine that host K8s master. Can be retrieved from instanceUuid property in VmConfigInfo, or as vc.uuid in VMX file or in `/sys/class/dmi/id/product_serial` (only optional for Kubernetes <= 1.9.2) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the wording to Optional, only used for Kubernetes <= 1.9.2
1ca0c01
to
9cdd221
Compare
@bradbeam |
ci check this |
@Xuxe just need to wait on ci and we should be good. |
passed ci. merging. |
Hi all,
as discussed here:
kubernetes/kubernetes#58927
and documented here:
https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/existing.html
the syntax for the vSphere cloud provider has been slightly changed for Kubernetes >= 1.9.2
I updated the vsphere-cloud-provider template and added a new deployment variable for resource pools.
Is it okay to make the decision inside the template? Or should we create seperated tasks for it?