Skip to content
Snippets Groups Projects
Verified Commit bc991e96 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(jellyfin): Add services for web and transfer

This patch adds two services, one for web, which can be exposed by an
ingress, and one of type LoadBalancer that is exposed directly, to cut
down on transfer overhead using a relay or alike.
parent 03964cf1
No related branches found
No related tags found
No related merge requests found
...@@ -60,4 +60,38 @@ spec: ...@@ -60,4 +60,38 @@ spec:
accessModes: [ "ReadWriteOnce" ] accessModes: [ "ReadWriteOnce" ]
resources: resources:
requests: requests:
storage: 70Gi storage: 70Gi
\ No newline at end of file ---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: syncthing
name: syncthing
namespace: syncthing
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: web
selector:
app.kubernetes.io/name: syncthing
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: syncthing
name: syncthing
namespace: syncthing
spec:
ports:
- name: transfer-tcp
port: 22000
protocol: TCP
targetPort: transfer-tcp
selector:
app.kubernetes.io/name: syncthing
type: LoadBalancer
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment