mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 23:37:43 -02:30
Vsphere (#7306)
* Add terraform scripts for vSphere * Fixup: Add terraform scripts for vSphere * Add inventory generation * Use machines var to provide IPs * Add README file * Add default.tfvars file * Fix newlines at the end of files * Remove master.count and worker.count variables * Fixup cloud-init formatting * Fixes after initial review * Add warning about disabled DHCP * Fixes after second review * Add sample-inventory
This commit is contained in:
31
contrib/terraform/vsphere/output.tf
Normal file
31
contrib/terraform/vsphere/output.tf
Normal file
@@ -0,0 +1,31 @@
|
||||
output "master_ip_addresses" {
|
||||
value = module.kubernetes.master_ip
|
||||
}
|
||||
|
||||
output "worker_ip_addresses" {
|
||||
value = module.kubernetes.worker_ip
|
||||
}
|
||||
|
||||
output "vsphere_datacenter" {
|
||||
value = var.vsphere_datacenter
|
||||
}
|
||||
|
||||
output "vsphere_server" {
|
||||
value = var.vsphere_server
|
||||
}
|
||||
|
||||
output "vsphere_datastore" {
|
||||
value = var.vsphere_datastore
|
||||
}
|
||||
|
||||
output "vsphere_network" {
|
||||
value = var.network
|
||||
}
|
||||
|
||||
output "vsphere_folder" {
|
||||
value = terraform.workspace
|
||||
}
|
||||
|
||||
output "vsphere_pool" {
|
||||
value = "${terraform.workspace}-cluster-pool"
|
||||
}
|
||||
Reference in New Issue
Block a user