-
Notifications
You must be signed in to change notification settings - Fork 22
/
outputs.tf
19 lines (16 loc) · 894 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
output "Kubernetes_Cluster_Info" {
value = "\n\n Run: \n\n\t ssh root@${module.controllers.controller_addresses} kubectl --kubeconfig=/etc/kubernetes/admin.conf get nodes -w \n\n To troubleshoot (or monitor) spin-up, check the cloud-init output:\n\n\t ssh root@${module.controllers.controller_addresses} tail -f /var/log/cloud-init-output.log \n\n The initialization and spin-up process may take 5-7 minutes to complete."
}
output "kubernetes_api_address" {
description = "The address of the Kubernetes API"
value = module.controllers.controller_addresses
}
output "kubernetes_kubeconfig" {
description = "Kubeconfig for the newly created cluster"
value = module.controllers.kubeconfig
sensitive = true
}
output "kubernetes_kubeconfig_file" {
description = "Kubecobnfig file for the newly created cluster"
value = module.controllers.kubeconfig_filename
}