2018-05-07 08:21:53 +02:00
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
|
|
|
|
output "ingress_static_ipv4" {
|
|
|
|
description = "Global IPv4 address for proxy load balancing to the nearest Ingress controller"
|
|
|
|
value = "${google_compute_global_address.ingress-ipv4.address}"
|
2017-06-27 06:55:39 +02:00
|
|
|
}
|
2017-11-08 09:19:49 +01:00
|
|
|
|
2018-04-12 08:19:35 +02:00
|
|
|
# Outputs for worker pools
|
|
|
|
|
|
|
|
output "network_name" {
|
|
|
|
value = "${google_compute_network.network.name}"
|
|
|
|
}
|
|
|
|
|
2018-02-26 23:06:18 +01:00
|
|
|
output "kubeconfig" {
|
|
|
|
value = "${module.bootkube.kubeconfig}"
|
|
|
|
}
|
2018-05-07 08:21:53 +02:00
|
|
|
|
|
|
|
# Outputs for custom firewalling
|
|
|
|
|
|
|
|
output "network_self_link" {
|
|
|
|
value = "${google_compute_network.network.self_link}"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Outputs for custom load balancing
|
|
|
|
|
|
|
|
output "worker_instance_group" {
|
|
|
|
description = "Full URL of the worker managed instance group"
|
|
|
|
value = "${module.workers.instance_group}"
|
|
|
|
}
|