Hi,
We are using rabbitmq operator version 2.5.0 and rabbitmq version 3.11.26
kubernetes platform: GKE
When we deploy RabbitMQ with service type loadbalancer, below ports are exposed by default. We would like to expose only the ports 5671,5672,15671 and 15672 and we don't want to expose the other ports.
Would it be possible to achieve this? I have tried by specifying the above ports under service override section but that did not work.
ports:
- appProtocol: mqtt
name: mqtt
nodePort: 31624
port: 1883
protocol: TCP
targetPort: 1883
- appProtocol: stomp.github.io/stomp
name: stomp
nodePort: 30591
port: 61613
protocol: TCP
targetPort: 61613
- appProtocol: amqps
name: amqps
nodePort: 30693
port: 5671
protocol: TCP
targetPort: 5671
- appProtocol: https
name: management-tls
nodePort: 31240
port: 15671
protocol: TCP
targetPort: 15671
- appProtocol: mqtts
name: mqtts
nodePort: 30779
port: 8883
protocol: TCP
targetPort: 8883
- appProtocol: prometheus.io/metric-tls
name: prometheus-tls
nodePort: 30960
port: 15691
protocol: TCP
targetPort: 15691
- appProtocol: amqp
name: amqp
nodePort: 30425
port: 5672
protocol: TCP
targetPort: 5672
- appProtocol: http
name: management
nodePort: 30862
port: 15672
protocol: TCP
targetPort: 15672
- appProtocol: http
name: web-mqtt
nodePort: 31056
port: 15675
protocol: TCP
targetPort: 15675
- appProtocol: http
name: web-stomp
nodePort: 31672
port: 15674
protocol: TCP
targetPort: 15674
- appProtocol: stomp.github.io/stomp-tls
name: stomps
nodePort: 30257
port: 61614
protocol: TCP
targetPort: 61614