Merge pull request #145 from sirius0xdev/fix/trading-startup-probes
fix(trading-platform): dashboard port 3000 + startupProbe grace for data/dashboard/execute services
This commit is contained in:
commit
8c12536130
3 changed files with 14 additions and 14 deletions
|
|
@ -29,7 +29,7 @@ spec:
|
|||
image: ghcr.io/sirius0xdev/trading-dashboard:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
- containerPort: 3000
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
|
|
@ -60,20 +60,20 @@ spec:
|
|||
key: password
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: 8000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 5
|
||||
failureThreshold: 6
|
||||
path: /
|
||||
port: 3000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: 8000
|
||||
initialDelaySeconds: 30
|
||||
path: /
|
||||
port: 3000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: 8000
|
||||
path: /
|
||||
port: 3000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@ spec:
|
|||
app: trading-dashboard
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
targetPort: 3000
|
||||
name: http
|
||||
type: ClusterIP
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ spec:
|
|||
path: /health
|
||||
port: 8001
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 5
|
||||
failureThreshold: 6
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue