mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
remove unused files
This commit is contained in:
+2
-2
@@ -15,13 +15,13 @@ spec:
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: configs-nfs
|
||||
claimName: configs
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: downloads-nfs
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: linuxserver/sonarr@sha256:5f2be8adff5048623434f37846fb54b29c936291a84f8e6021a75683012042de
|
||||
image: linuxserver/sonarr
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
imagePullPolicy: Always
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: badger
|
||||
labels:
|
||||
app: badger
|
||||
release: prometheus # this can make the service monitor be discovered by prometheus
|
||||
spec:
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- apps
|
||||
selector:
|
||||
matchLabels:
|
||||
app: badger
|
||||
endpoints:
|
||||
- port: metrics-port
|
||||
interval: 30s
|
||||
-115
@@ -1,115 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: plex-2
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: plex-2
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: plex-2
|
||||
spec:
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: configs-nfs
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: downloads-nfs
|
||||
nodeSelector:
|
||||
dell: "true"
|
||||
containers:
|
||||
- name: plex
|
||||
image: plexinc/pms-docker:latest
|
||||
# securityContext:
|
||||
# runAsUser: 0
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 32400
|
||||
name: plex-port
|
||||
protocol: TCP
|
||||
- containerPort: 3005
|
||||
protocol: TCP
|
||||
- containerPort: 8324
|
||||
protocol: TCP
|
||||
- containerPort: 32469
|
||||
protocol: TCP
|
||||
- containerPort: 1900
|
||||
protocol: UDP
|
||||
- containerPort: 32410
|
||||
protocol: UDP
|
||||
- containerPort: 32412
|
||||
protocol: UDP
|
||||
- containerPort: 32413
|
||||
protocol: UDP
|
||||
- containerPort: 32414
|
||||
protocol: UDP
|
||||
env:
|
||||
- name: TZ
|
||||
value: Australia/Melbourne
|
||||
- name: PLEX_CLAIM
|
||||
value: "claim-b_w2MErxts9BHa8p356c"
|
||||
- name: HOSTNAME
|
||||
value: home-server
|
||||
- name: PLEX_UID
|
||||
value: "1000"
|
||||
- name: PLEX_GID
|
||||
value: "1000"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
subPath: plex
|
||||
- name: downloads
|
||||
mountPath: /data
|
||||
resources:
|
||||
requests:
|
||||
cpu: 400m
|
||||
memory: 700Mi
|
||||
limits:
|
||||
cpu: 1200m
|
||||
memory: 1500Mi
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: plex-2
|
||||
labels:
|
||||
app: plex-2
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: plex-port
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: plex
|
||||
---
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: plex2-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
kubernetes.io/tls-acme: "true"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- plex2.home.toozhao.com
|
||||
secretName: plex-tls
|
||||
rules:
|
||||
- host: plex2.home.toozhao.com
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: plex-2
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user