feat(plex): Enable Remote Access

This commit is contained in:
Peter 2026-01-30 12:38:01 +01:00
parent f5aefe9388
commit 192a8375ed
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
3 changed files with 18 additions and 2 deletions

View file

@ -6,3 +6,4 @@ metadata:
spec: spec:
blocks: blocks:
- cidr: "10.13.37.30/32" - cidr: "10.13.37.30/32"
- cidr: "10.13.37.31/32"

View file

@ -12,6 +12,6 @@ spec:
- "plex.wheatley.in" - "plex.wheatley.in"
rules: rules:
- backendRefs: - backendRefs:
- name: plex - name: plex-ui
port: 80 port: 80

View file

@ -2,7 +2,7 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: plex name: plex-ui
spec: spec:
selector: selector:
app: plex app: plex
@ -10,3 +10,18 @@ spec:
- port: 80 - port: 80
protocol: TCP protocol: TCP
targetPort: 32400 targetPort: 32400
---
apiVersion: v1
kind: Service
metadata:
name: plex-remote-access
spec:
selector:
app: plex
type: LoadBalancer
loadBalancerIP: 10.13.37.31
externalTrafficPolicy: Local
ports:
- port: 32400
protocol: TCP
targetPort: 32400