37 lines
562 B
YAML
37 lines
562 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: transmission
|
|
spec:
|
|
type: LoadBalancer
|
|
ipFamilyPolicy: PreferDualStack
|
|
ipFamilies:
|
|
- IPv4
|
|
- IPv6
|
|
selector:
|
|
app: transmission
|
|
ports:
|
|
- port: 9091
|
|
targetPort: web
|
|
protocol: TCP
|
|
name: web
|
|
- port: 51413
|
|
targetPort: s
|
|
protocol: TCP
|
|
name: torrent
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: webdav
|
|
spec:
|
|
selector:
|
|
app: webdav
|
|
ports:
|
|
- port: 9092
|
|
targetPort: 80
|
|
type: LoadBalancer
|
|
ipFamilyPolicy: PreferDualStack
|
|
ipFamilies:
|
|
- IPv4
|
|
- IPv6 |