fix: add nodeport to rabbitmq
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: rabbitmq-nodeport
|
||||||
|
namespace: atlantis
|
||||||
|
spec:
|
||||||
|
externalTrafficPolicy: Cluster
|
||||||
|
internalTrafficPolicy: Cluster
|
||||||
|
ipFamilies:
|
||||||
|
- IPv4
|
||||||
|
ipFamilyPolicy: SingleStack
|
||||||
|
ports:
|
||||||
|
- name: amqp
|
||||||
|
nodePort: 30672
|
||||||
|
port: 5672
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 5672
|
||||||
|
- name: amqp-http
|
||||||
|
nodePort: 30673
|
||||||
|
port: 15672
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 15672
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: rabbitmq
|
||||||
|
app.kubernetes.io/name: rabbitmq
|
||||||
|
sessionAffinity: None
|
||||||
|
type: NodePort
|
||||||
|
|
||||||
Reference in New Issue
Block a user