Merge branch 'master' of github.com:sirius0xdev/gcloud-lab
please wprl#
This commit is contained in:
commit
37cf8d1276
2 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ spec:
|
|||
image: ghcr.io/sirius0xdev/trading-data-service:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8001
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
|
|
@ -63,19 +63,19 @@ spec:
|
|||
startupProbe:
|
||||
httpGet:
|
||||
path: /health/ready
|
||||
port: 8001
|
||||
port: 8000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8001
|
||||
port: 8000
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health/ready
|
||||
port: 8001
|
||||
port: 8000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@ spec:
|
|||
app: trading-data-service
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8001
|
||||
targetPort: 8000
|
||||
name: http
|
||||
type: ClusterIP
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue