第一次尝试在任何地方设置 kubernetes,我在让 terraform 使用我在 vCenter 中设置的分布式端口组方面遇到了挑战。错误信息是:
* vsphere_virtual_machine.kubevm1: 1 error(s) occured:
* vsphere_virtual_machine.kubevm1: cannot traverse type VmwareDistributedVirtualSwitch
相关的地形设置:
network_interface.#: "" => "1"
network_interface.0.ip_address: "" => "<computed>"
network_interface.0.ipv4_address: "" => "<computed>"
network_interface.0.ipv4_gateway: "" => "<computed>"
network_interface.0.ipv4_prefix_length: "" => "<computed>"
network_interface.0.ipv6_address: "" => "<computed>"
network_interface.0.ipv6_gateway: "" => "<computed>"
network_interface.0.ipv6_prefix_length: "" => "<computed>"
network_interface.0.label: "" => "Development/dvDevCluster/dvDHCP115"
network_interface.0.mac_address: "" => "<computed>"
network_interface.0.subnet_mask: "" => "<computed>"
我们vCenter的网络清单: 分布式端口组目录树
我们正在尝试使用分布式端口组 dvDHCP115。任何帮助将不胜感激 - 我在这方面花了太长时间!