kubernetes: update harbor url and health probe paths
All checks were successful
CI / Security Scan (push) Successful in 21s
CI / Lint & Format (push) Successful in 23s
CI / Advanced Security Tests (push) Successful in 16s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / SBOM Generation (push) Successful in 21s
CI / Build & Push Image (push) Successful in 8s
All checks were successful
CI / Security Scan (push) Successful in 21s
CI / Lint & Format (push) Successful in 23s
CI / Advanced Security Tests (push) Successful in 16s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / SBOM Generation (push) Successful in 21s
CI / Build & Push Image (push) Successful in 8s
- use harbor.mymx.me instead of old internal IP - fix liveness/readiness probes to use /health endpoint
This commit is contained in:
@@ -59,7 +59,7 @@ spec:
|
|||||||
- name: harbor-creds
|
- name: harbor-creds
|
||||||
containers:
|
containers:
|
||||||
- name: flaskpaste
|
- name: flaskpaste
|
||||||
image: 192.168.122.154:30443/library/flaskpaste:latest
|
image: harbor.mymx.me/library/flaskpaste:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
@@ -78,14 +78,14 @@ spec:
|
|||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /health
|
||||||
port: 5000
|
port: 5000
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /health
|
||||||
port: 5000
|
port: 5000
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user