Skip to content

Instantly share code, notes, and snippets.

@cclloyd
Created February 9, 2019 01:34
Show Gist options
  • Save cclloyd/a852836d029beba36f83a8f451de5748 to your computer and use it in GitHub Desktop.
Save cclloyd/a852836d029beba36f83a8f451de5748 to your computer and use it in GitHub Desktop.
---
kind: Service
apiVersion: v1
metadata:
name: plex-udp
annotations:
metallb.universe.tf/address-pool: production-public-ips
metallb.universe.tf/allow-shared-ip: plex
spec:
selector:
app: plex
ports:
- name: plex-5
protocol: UDP
port: 1900
targetPort: 1900
- name: plex-6
protocol: UDP
port: 32410
targetPort: 32410
- name: plex-7
protocol: UDP
port: 32412
targetPort: 32412
- name: plex-8
protocol: UDP
port: 32413
targetPort: 32413
- name: plex-9
protocol: UDP
port: 32414
targetPort: 32414
type: LoadBalancer
---
kind: Service
apiVersion: v1
metadata:
name: plex-tcp
annotations:
metallb.universe.tf/address-pool: production-public-ips
metallb.universe.tf/allow-shared-ip: plex
spec:
selector:
app: plex
ports:
- name: plex
protocol: TCP
port: 32400
targetPort: 32400
- name: plex-2
protocol: TCP
port: 3005
targetPort: 3005
- name: plex-3
protocol: TCP
port: 8324
targetPort: 8324
- name: plex-4
protocol: TCP
port: 32469
targetPort: 32469
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment