Skip to content

Commit

Permalink
try fix health
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlyJazz committed Nov 20, 2023
1 parent 78ffdfa commit 5fbeac4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions api-gateway/auth-health-check-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ spec:
config:
type: HTTP
httpHealthCheck:
portSpecification: USE_FIXED_PORT
port: 8000
requestPath: /auth/api/health
requestPath: /api/health
targetRef:
group: ""
kind: Service
Expand Down
10 changes: 10 additions & 0 deletions auth-microservice/k8s/auth-microservice-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ spec:
- name: auth-microservice
image: charlyjazz/auth-microservice:latest
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /api/health
scheme: HTTP
port: 8000
readinessProbe:
httpGet:
path: /api/health
scheme: HTTP
port: 8000
ports:
- containerPort: 8000
hostPort: 8000
Expand Down

0 comments on commit 5fbeac4

Please sign in to comment.