From db02bd753180f20f1a2a38e3f7001415007d0aa6 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Wed, 11 Apr 2018 22:01:15 -0400 Subject: [PATCH] Remove explicit nodePort declarations for RabbitMQ service This lets Kubernetes handle the port mapping, which resolves a port collision issue when running multiple deployments of AWX in a single cluster. --- installer/roles/kubernetes/templates/deployment.yml.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/installer/roles/kubernetes/templates/deployment.yml.j2 b/installer/roles/kubernetes/templates/deployment.yml.j2 index 472b02c3b6..2e89334283 100644 --- a/installer/roles/kubernetes/templates/deployment.yml.j2 +++ b/installer/roles/kubernetes/templates/deployment.yml.j2 @@ -14,12 +14,10 @@ spec: protocol: TCP port: 15672 targetPort: 15672 - nodePort: 31672 - name: amqp protocol: TCP port: 5672 targetPort: 5672 - nodePort: 30672 selector: app: rabbitmq