k3s-cluster/cluster/apps/media/plex/service.yaml

18 lines
384 B
YAML

apiVersion: v1
kind: Service
metadata:
name: plex
namespace: media
annotations:
metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10"
spec:
type: LoadBalancer
loadBalancerIP: 192.168.87.10
ports:
- name: plex-http
protocol: TCP
port: 32400
targetPort: 32400
selector:
app.kubernetes.io/instance: plex
app.kubernetes.io/name: plex