feat(plex): Enable Remote Access
This commit is contained in:
parent
f5aefe9388
commit
192a8375ed
3 changed files with 18 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,6 @@ spec:
|
||||||
- "plex.wheatley.in"
|
- "plex.wheatley.in"
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- name: plex
|
- name: plex-ui
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue