Update src/index.js, manifests/upn-qr.yaml

This commit is contained in:
Aljaž Starc
2022-04-07 23:39:40 +00:00
parent 73152814de
commit 0aad805143
2 changed files with 19 additions and 1 deletions

View File

@@ -21,6 +21,23 @@ spec:
- name: upn-qr-ct
image: registry.gitplac.si/aljaxus/upn-qr
imagePullPolicy: Always
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
readinessProbe:
httpGet:
path: "/healthcheck"
port: 80
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: "/healthcheck"
port: 80
initialDelaySeconds: 10
periodSeconds: 20
ports:
- containerPort: 80