infra4talos/apps-kustomized/mosquitto/service.yaml

21 lines
412 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: mosquitto
annotations:
external-dns.alpha.kubernetes.io/hostname: mosquitto.martyn.berlin
name: mosquitto
namespace: mosquitto
spec:
ports:
- name: mqtt
port: 1883
targetPort: mqtt
- name: websocket
port: 9090
targetPort: websocket
selector:
app.kubernetes.io/name: mosquitto
type: LoadBalancer