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:
|
||||
httpGet:
|
||||
path: / # or /index.html if needed
|
||||
port: 80
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
---
|
||||
|
|
@ -51,6 +51,6 @@ spec:
|
|||
app: paaas-landing
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
type: ClusterIP
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue