lets test
This commit is contained in:
@@ -15,6 +15,16 @@ spec:
|
||||
name: svc-truenas
|
||||
port:
|
||||
number: 443
|
||||
- host: "pinry.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-mylar3
|
||||
port:
|
||||
number: 80
|
||||
- host: "mylar3.local"
|
||||
http:
|
||||
paths:
|
||||
|
39
k8s_manifests/pinry/deployment.yaml
Normal file
39
k8s_manifests/pinry/deployment.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pinry
|
||||
labels:
|
||||
app.kubernetes.io/name: pinry
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: pinry
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: pinry
|
||||
spec:
|
||||
volumes:
|
||||
- name: data
|
||||
nfs:
|
||||
server: 192.168.0.99
|
||||
path: /mnt/test1/media/pinry
|
||||
containers:
|
||||
- name: pinry
|
||||
image: getpinry/pinry
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
|
14
k8s_manifests/pinry/service.yaml
Normal file
14
k8s_manifests/pinry/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-pinry
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: pinry
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
|
||||
|
@@ -26,13 +26,13 @@ spec:
|
||||
containers:
|
||||
- name: soularr
|
||||
image: mrusse08/soularr:latest
|
||||
#livenessProbe:
|
||||
#httpGet:
|
||||
# path: /
|
||||
# port: 8989
|
||||
#initialDelaySeconds: 60
|
||||
#failureThreshold: 6
|
||||
#periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8989
|
||||
initialDelaySeconds: 21600
|
||||
failureThreshold: 6
|
||||
periodSeconds: 10
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
|
Reference in New Issue
Block a user