From 88819ada6b627267000f6c2a5b84bd3de71a529c Mon Sep 17 00:00:00 2001 From: James Evans Date: Thu, 18 Oct 2018 14:00:05 -0500 Subject: [PATCH] Remove .cluster.local from service name for rabbitmq FQDNs are not required for service discovery, and having the FQDN in the name prevents the discovery from working in clusters not named cluster.local. --- installer/roles/kubernetes/templates/deployment.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/roles/kubernetes/templates/deployment.yml.j2 b/installer/roles/kubernetes/templates/deployment.yml.j2 index e8067ca63f..1626f4959f 100644 --- a/installer/roles/kubernetes/templates/deployment.yml.j2 +++ b/installer/roles/kubernetes/templates/deployment.yml.j2 @@ -44,7 +44,7 @@ data: ## Clustering cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s - cluster_formation.k8s.host = kubernetes.default.svc.cluster.local + cluster_formation.k8s.host = kubernetes.default.svc cluster_formation.k8s.address_type = ip cluster_formation.node_cleanup.interval = 10 cluster_formation.node_cleanup.only_log_warning = false