2020-11-02 22:32:40 -05:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
run: airsonic
|
|
|
|
name: airsonic
|
|
|
|
namespace: pew
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
run: airsonic
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
run: airsonic
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: airsonic
|
2020-11-03 21:24:05 -05:00
|
|
|
image: linuxserver/airsonic:v10.6.2-ls83
|
2020-11-02 22:32:40 -05:00
|
|
|
env:
|
|
|
|
- name: PUID
|
|
|
|
value: "1000"
|
|
|
|
- name: PGID
|
|
|
|
value: "1000"
|
|
|
|
- name: TZ
|
|
|
|
value: "US/Eastern"
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /config
|
|
|
|
name: airsonic-config
|
|
|
|
readOnly: false
|
|
|
|
- mountPath: /media/music
|
|
|
|
name: bigdata-music
|
|
|
|
readOnly: true
|
|
|
|
- mountPath: /media/playlists
|
|
|
|
name: bigdata-playlists
|
|
|
|
readOnly: true
|
|
|
|
- mountPath: /media/podcasts
|
|
|
|
name: bigdata-podcasts
|
|
|
|
readOnly: true
|
|
|
|
- mountPath: /media/media-vtluug
|
|
|
|
name: vtluug-media
|
|
|
|
readOnly: true
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
containerPort: 4040
|
|
|
|
volumes:
|
|
|
|
- name: airsonic-config
|
|
|
|
hostPath:
|
|
|
|
path: /bigdata/k8s-config/airsonic/config
|
|
|
|
- name: bigdata-music
|
|
|
|
hostPath:
|
|
|
|
path: /bigdata/media/music
|
|
|
|
- name: bigdata-playlists
|
|
|
|
hostPath:
|
|
|
|
path: /bigdata/media/playlists
|
|
|
|
- name: bigdata-podcasts
|
|
|
|
hostPath:
|
|
|
|
path: /bigdata/media/podcasts
|
|
|
|
- name: vtluug-media
|
|
|
|
hostPath:
|
|
|
|
path: /media-vtluug
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
run: airsonic
|
|
|
|
name: airsonic
|
|
|
|
namespace: pew
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
run: airsonic
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
port: 4040
|
|
|
|
protocol: TCP
|