Working services using NodePorts and still no ingress

This commit is contained in:
atusa-bw
2022-09-24 16:00:59 -06:00
parent 3faa49b7ef
commit 5b9ba965f9
13 changed files with 60 additions and 103 deletions
+3 -1
View File
@@ -3,11 +3,13 @@ kind: Service
metadata:
name: transmission
spec:
type: NodePort
ports:
- port: 9091
protocol: TCP
targetPort: 9091
name: webui
nodePort: 30007
selector:
run: transmission
---
@@ -34,7 +36,7 @@ spec:
initContainers:
- name: chown
image: busybox
command: ["sh", "-c", "chown -R 1000:1000 /config"]
command: ["sh", "-c", "chown -R 1000:1000 /config && chown -R 1000:1000 /downloads"]
volumeMounts:
- mountPath: /config
name: htpc-home