infrastructure/kustomization/bases/nats.yaml

21 lines
357 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nats-lb
namespace: stage
spec:
type: NodePort
selector:
app.kubernetes.io/name: nats
ports:
- protocol: TCP
port: 4222
targetPort: 4222
name: nats
nodePort: 30022
- protocol: TCP
port: 8222
targetPort: 8222
name: nats-monitor
nodePort: 30023