fix liveness probe port
This commit is contained in:
parent
e4335ed3e7
commit
ac3c23428d
1 changed files with 4 additions and 4 deletions
|
|
@ -29,13 +29,13 @@ spec:
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: / # or /index.html if needed
|
path: / # or /index.html if needed
|
||||||
port: 80
|
port: 8080
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 80
|
port: 8080
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
---
|
---
|
||||||
|
|
@ -51,6 +51,6 @@ spec:
|
||||||
app: paaas-landing
|
app: paaas-landing
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 8080
|
||||||
targetPort: 80
|
targetPort: 8080
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue