forked from username/flaskpaste
kubernetes: update harbor url and health probe paths
- 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
|
||||
containers:
|
||||
- name: flaskpaste
|
||||
image: 192.168.122.154:30443/library/flaskpaste:latest
|
||||
image: harbor.mymx.me/library/flaskpaste:latest
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
protocol: TCP
|
||||
@@ -78,14 +78,14 @@ spec:
|
||||
cpu: "250m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /health
|
||||
port: 5000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /health
|
||||
port: 5000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
|
||||
Reference in New Issue
Block a user