kind: Service apiVersion: v1 metadata: name: plex-udp # annotations: # metallb.universe.tf/allow-shared-ip: plexserver # annotation name to combine the Service IP, make sure it's same name as in the service UDP yaml spec: selector: app: plexserver ports: - port: 1900 targetPort: plex-dlna-udp name: dlna-udp protocol: UDP - port: 5353 targetPort: plex-discovery name: discovery-udp protocol: UDP --- kind: Service apiVersion: v1 metadata: name: plex-tcp # annotations: # metallb.universe.tf/allow-shared-ip: plexserver spec: selector: app: plexserver ports: - port: 80 targetPort: http name: http protocol: TCP - port: 32469 targetPort: plex-dlna name: dlna-tcp protocol: TCP