32 lines
665 B
YAML
32 lines
665 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -f compose-syncthing.yaml
|
|
kompose.version: 1.38.0 (HEAD)
|
|
labels:
|
|
io.kompose.service: syncthing
|
|
name: syncthing
|
|
spec:
|
|
type: NodePort
|
|
ports:
|
|
- name: "30384"
|
|
port: 30384
|
|
targetPort: 8384
|
|
nodePort: 30384
|
|
- name: "32000"
|
|
port: 32000
|
|
targetPort: 22000
|
|
nodePort: 32000
|
|
- name: 32000-udp
|
|
port: 32000
|
|
protocol: UDP
|
|
targetPort: 22000
|
|
nodePort: 32000
|
|
- name: "31027"
|
|
port: 31027
|
|
protocol: UDP
|
|
targetPort: 21027
|
|
nodePort: 31027
|
|
selector:
|
|
io.kompose.service: syncthing
|