transmission
This commit is contained in:
149
transmission/main.yaml
Normal file
149
transmission/main.yaml
Normal file
@@ -0,0 +1,149 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: transmission
|
||||
app.kubernetes.io/version: v3.00
|
||||
helm.sh/chart: transmission-8.4.3
|
||||
name: transmission
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 9091
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
selector:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/name: transmission
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: transmission
|
||||
app.kubernetes.io/version: v3.00
|
||||
helm.sh/chart: transmission-8.4.3
|
||||
name: transmission-config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storageClassName: openebs-3-replicas
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: transmission
|
||||
app.kubernetes.io/version: v3.00
|
||||
helm.sh/chart: transmission-8.4.3
|
||||
name: transmission-downloads
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: nfs-storage
|
||||
volumeName: nfs-media-transmission
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: transmission
|
||||
app.kubernetes.io/version: v3.00
|
||||
helm.sh/chart: transmission-8.4.3
|
||||
name: transmission
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/name: transmission
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: transmission
|
||||
app.kubernetes.io/name: transmission
|
||||
spec:
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
- env:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: TRANSMISSION_DOWNLOAD_DIR
|
||||
value: /downloads/complete
|
||||
- name: TRANSMISSION_INCOMPLETE_DIR
|
||||
value: /downloads/incomplete
|
||||
- name: TRANSMISSION_INCOMPLETE_DIR_ENABLED
|
||||
value: "false"
|
||||
- name: TRANSMISSION_RPC_PASSWORD
|
||||
value: CHANGEME
|
||||
- name: TRANSMISSION_WATCH_DIR
|
||||
value: /watch
|
||||
- name: TRANSMISSION_WATCH_DIR_ENABLED
|
||||
value: "false"
|
||||
- name: TRANSMISSION_WEB_HOME
|
||||
value: /web
|
||||
- name: TZ
|
||||
value: CET
|
||||
image: lscr.io/linuxserver/transmission:4.0.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
tcpSocket:
|
||||
port: 9091
|
||||
timeoutSeconds: 30
|
||||
name: transmission
|
||||
ports:
|
||||
- containerPort: 9091
|
||||
name: http
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
tcpSocket:
|
||||
port: 9091
|
||||
timeoutSeconds: 30
|
||||
startupProbe:
|
||||
failureThreshold: 30
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
tcpSocket:
|
||||
port: 9091
|
||||
timeoutSeconds: 1
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
- mountPath: /downloads
|
||||
name: downloads
|
||||
dnsPolicy: ClusterFirst
|
||||
enableServiceLinks: true
|
||||
serviceAccountName: default
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: transmission-config
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: transmission-downloads
|
||||
Reference in New Issue
Block a user