add app plex
This commit is contained in:
42
apps/plex/base/deployment.yaml
Normal file
42
apps/plex/base/deployment.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: plex
|
||||
namespace: plex
|
||||
labels:
|
||||
app.kubernetes.io/name: plex
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: plex
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: plex
|
||||
spec:
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
containers:
|
||||
- name: plex
|
||||
image: plexinc/pms-docker
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Australia/Sydney"
|
||||
- name: PLEX_CLAIM
|
||||
value: "0"
|
||||
ports:
|
||||
- protocol: TCP
|
||||
containerPort: 8088
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: assets
|
||||
mountPath: /www/assets
|
||||
volumes:
|
||||
- name: assets
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/homer/www/assets
|
||||
type: Directory
|
||||
3
apps/plex/base/kustomization.yaml
Normal file
3
apps/plex/base/kustomization.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: []
|
||||
Reference in New Issue
Block a user