apps(pocketid): Updated image to the distroless one, and updated
healthcheck to use the healthcheck command instead of a HTTP request Signed-off-by: prettysunflower <me@prettysunflower.moe>
This commit is contained in:
@@ -20,7 +20,7 @@ spec:
|
|||||||
claimName: pocketid-pvc
|
claimName: pocketid-pvc
|
||||||
containers:
|
containers:
|
||||||
- name: pocketid
|
- name: pocketid
|
||||||
image: ghcr.io/pocket-id/pocket-id:v1.6.0
|
image: ghcr.io/pocket-id/pocket-id:v1.6.0-distroless
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 1411
|
- containerPort: 1411
|
||||||
@@ -41,15 +41,17 @@ spec:
|
|||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
exec:
|
||||||
path: /healthz
|
command:
|
||||||
port: 1411
|
- /app/pocket-id
|
||||||
|
- healthcheck
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
periodSeconds: 90
|
periodSeconds: 90
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
exec:
|
||||||
path: /healthz
|
command:
|
||||||
port: 1411
|
- /app/pocket-id
|
||||||
|
- healthcheck
|
||||||
failureThreshold: 30
|
failureThreshold: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
Reference in New Issue
Block a user