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.
This commit is contained in:
Shane McDonald
2018-04-11 22:01:15 -04:00
parent e9ddf7b9db
commit db02bd7531

View File

@@ -14,12 +14,10 @@ spec:
protocol: TCP protocol: TCP
port: 15672 port: 15672
targetPort: 15672 targetPort: 15672
nodePort: 31672
- name: amqp - name: amqp
protocol: TCP protocol: TCP
port: 5672 port: 5672
targetPort: 5672 targetPort: 5672
nodePort: 30672
selector: selector:
app: rabbitmq app: rabbitmq