27 lines
392 B
YAML
27 lines
392 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: svc-plex
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: plex
|
|
ports:
|
|
- name: webui
|
|
protocol: TCP
|
|
port: 80
|
|
targetPort: 32400
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: svc-plex-lb
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
app.kubernetes.io/name: plex
|
|
ports:
|
|
- name: plex
|
|
protocol: TCP
|
|
port: 32400
|
|
|