Working services using NodePorts and still no ingress
This commit is contained in:
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: bazarr
|
name: bazarr
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 6767
|
- port: 6767
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 6767
|
targetPort: 6767
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30003
|
||||||
selector:
|
selector:
|
||||||
run: bazarr
|
run: bazarr
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: emby
|
name: emby
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 8096
|
- port: 8096
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8096
|
targetPort: 8096
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30002
|
||||||
selector:
|
selector:
|
||||||
run: emby
|
run: emby
|
||||||
---
|
---
|
||||||
|
|||||||
+30
-21
@@ -1,64 +1,73 @@
|
|||||||
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: htpc
|
name: htpc
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik
|
||||||
|
ingress.kubernetes.io/protocol: http
|
||||||
|
ingress.kubernetes.io/ssl-redirect: false
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
rules:
|
rules:
|
||||||
- http:
|
- http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: emby
|
name: emby
|
||||||
port:
|
port:
|
||||||
number: 8096
|
name: webui
|
||||||
- path: /jackett
|
- path: /jackett
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: jackett
|
name: jackett
|
||||||
port:
|
port:
|
||||||
number: 9117
|
name: webui
|
||||||
- path: /sonarr
|
- path: /sonarr
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
port:
|
port:
|
||||||
number: 8989
|
name: webui
|
||||||
- path: /radarr
|
- path: /radarr
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: radarr
|
name: radarr
|
||||||
port:
|
port:
|
||||||
number: 7878
|
name: webui
|
||||||
- path: /bazarr
|
- path: /bazarr
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: bazarr
|
name: bazarr
|
||||||
port:
|
port:
|
||||||
number: 6767
|
name: webui
|
||||||
- path: /transmission
|
- path: /transmission
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: transmission
|
name: transmission
|
||||||
port:
|
port:
|
||||||
number: 9091
|
name: webui
|
||||||
- path: /plex
|
|
||||||
pathType: Exact
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: plex
|
|
||||||
port:
|
|
||||||
number: 32400
|
|
||||||
- path: /prowlarr
|
- path: /prowlarr
|
||||||
pathType: Exact
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
port:
|
port:
|
||||||
number: 9696
|
name: webui
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: IngressClass
|
||||||
|
metadata:
|
||||||
|
name: traefik
|
||||||
|
annotations:
|
||||||
|
ingressclass.kubernetes.io/is-default-class: "true"
|
||||||
|
spec:
|
||||||
|
controller: traefik.io/ingress-controller
|
||||||
|
---
|
||||||
|
|||||||
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: jackett
|
name: jackett
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 9117
|
- port: 9117
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 9117
|
targetPort: 9117
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30004
|
||||||
selector:
|
selector:
|
||||||
run: jackett
|
run: jackett
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ resources:
|
|||||||
- bazarr.yaml
|
- bazarr.yaml
|
||||||
- transmission.yaml
|
- transmission.yaml
|
||||||
- emby.yaml
|
- emby.yaml
|
||||||
- plex.yml
|
|
||||||
- prowlarr.yml
|
- prowlarr.yml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
|
|||||||
@@ -1,56 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: plex
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 32400
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 32400
|
|
||||||
name: webui
|
|
||||||
selector:
|
|
||||||
run: plex
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
run: plex
|
|
||||||
name: plex
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
run: plex
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
run: plex
|
|
||||||
spec:
|
|
||||||
securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: PUID
|
|
||||||
value: "1000"
|
|
||||||
- name: PGID
|
|
||||||
value: "1000"
|
|
||||||
image: linuxserver/plex
|
|
||||||
name: plex
|
|
||||||
ports:
|
|
||||||
- containerPort: 32400
|
|
||||||
name: webui
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 32400
|
|
||||||
name: webui-ssl
|
|
||||||
protocol: TCP
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /config
|
|
||||||
name: htpc-home
|
|
||||||
subPath: plex
|
|
||||||
- mountPath: /tv
|
|
||||||
name: htpc-home
|
|
||||||
subPath: media/tv
|
|
||||||
- mountPath: /movies
|
|
||||||
name: htpc-home
|
|
||||||
subPath: media/movies
|
|
||||||
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 9696
|
- port: 9696
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 9696
|
targetPort: 9696
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30005
|
||||||
selector:
|
selector:
|
||||||
run: prowlarr
|
run: prowlarr
|
||||||
---
|
---
|
||||||
|
|||||||
+6
-1
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: radarr
|
name: radarr
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 7878
|
- port: 7878
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 7878
|
targetPort: 7878
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30006
|
||||||
selector:
|
selector:
|
||||||
run: radarr
|
run: radarr
|
||||||
---
|
---
|
||||||
@@ -34,7 +36,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: chown
|
- name: chown
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["sh", "-c", "chown -R 1000:1000 /config && chown -R 1000:1000 /movies"]
|
command: ["sh", "-c", "chown -R 1000:1000 /config && chown -R 1000:1000 /movies && chown -R 1000:1000 /downloads"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
@@ -42,6 +44,9 @@ spec:
|
|||||||
- mountPath: /movies
|
- mountPath: /movies
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
subPath: media/movies
|
subPath: media/movies
|
||||||
|
- mountPath: /downloads
|
||||||
|
name: htpc-home
|
||||||
|
subPath: downloads
|
||||||
- name: config
|
- name: config
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["sh", "-c"]
|
command: ["sh", "-c"]
|
||||||
|
|||||||
+6
-1
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 8989
|
- port: 8989
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8989
|
targetPort: 8989
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30001
|
||||||
selector:
|
selector:
|
||||||
run: sonarr
|
run: sonarr
|
||||||
---
|
---
|
||||||
@@ -34,7 +36,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: chown
|
- name: chown
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["sh", "-c", "chown -R 1000:1000 /config && chown -R 1000:1000 /tv"]
|
command: ["sh", "-c", "chown -R 1000:1000 /config && chown -R 1000:1000 /tv && chown -R 1000:1000 /downloads"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
@@ -42,6 +44,9 @@ spec:
|
|||||||
- mountPath: /tv
|
- mountPath: /tv
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
subPath: media/tv
|
subPath: media/tv
|
||||||
|
- mountPath: /downloads
|
||||||
|
name: htpc-home
|
||||||
|
subPath: downloads
|
||||||
- name: config
|
- name: config
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["sh", "-c"]
|
command: ["sh", "-c"]
|
||||||
|
|||||||
@@ -3,11 +3,13 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: transmission
|
name: transmission
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 9091
|
- port: 9091
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 9091
|
targetPort: 9091
|
||||||
name: webui
|
name: webui
|
||||||
|
nodePort: 30007
|
||||||
selector:
|
selector:
|
||||||
run: transmission
|
run: transmission
|
||||||
---
|
---
|
||||||
@@ -34,7 +36,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: chown
|
- name: chown
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["sh", "-c", "chown -R 1000:1000 /config"]
|
command: ["sh", "-c", "chown -R 1000:1000 /config && chown -R 1000:1000 /downloads"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
|
|||||||
+7
-20
@@ -7,7 +7,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
---
|
---
|
||||||
@@ -20,7 +20,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
---
|
---
|
||||||
@@ -33,7 +33,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
---
|
---
|
||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
---
|
---
|
||||||
@@ -59,7 +59,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
---
|
---
|
||||||
@@ -72,7 +72,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
# persistentVolumeClaim:
|
# persistentVolumeClaim:
|
||||||
@@ -80,19 +80,6 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
|
||||||
name: plex
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
volumes:
|
|
||||||
- hostPath:
|
|
||||||
path: /opt/htpc
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
name: htpc-home
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
metadata:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
spec:
|
spec:
|
||||||
@@ -100,7 +87,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /opt/htpc
|
path: /nfs/htpc
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: htpc-home
|
name: htpc-home
|
||||||
---
|
---
|
||||||
|
|||||||
Binary file not shown.
@@ -18,7 +18,5 @@ images:
|
|||||||
- name: emby/embyserver
|
- name: emby/embyserver
|
||||||
newName: emby/embyserver_arm32v7
|
newName: emby/embyserver_arm32v7
|
||||||
newTag: latest
|
newTag: latest
|
||||||
- name: linuxserver/plex
|
|
||||||
newTag: arm32v7-latest
|
|
||||||
- name: linuxserver/prowlarr
|
- name: linuxserver/prowlarr
|
||||||
newTag: arm32v7-nightly
|
newTag: arm32v7-nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user