Skip to content

Commit

Permalink
Try to fix the problem with clusterIp still nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlyJazz committed Nov 20, 2023
1 parent 8bef5d9 commit 372c6a2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion api-gateway/auth-health-check-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ metadata:
name: auth-healthcheck
spec:
default:
checkIntervalSec: 10
timeoutSec: 10
logConfig:
enabled: true
config:
type: HTTP
httpHealthCheck:
port: 8000
portSpecification: USE_FIXED_PORT
port: 8000
requestPath: /auth/api/health
targetRef:
group: ""
Expand Down
2 changes: 1 addition & 1 deletion api-gateway/auth-http-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
backendRefs:
- kind: Service
name: auth-microservice-service
port: 8000
port: 8000
2 changes: 1 addition & 1 deletion api-gateway/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
gatewayClassName: gke-l7-global-external-managed
listeners:
- name: http
- name: http-listener
protocol: HTTP
port: 80
allowedRoutes:
Expand Down
4 changes: 2 additions & 2 deletions auth-microservice/k8s/auth-microservice-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: auth-microservice-service
app: microservice
spec:
type: LoadBalancer
type: ClusterIP
ports:
- port: 8000
targetPort: 8000
selector:
app: auth-microservice
type: microservice
type: microservice

0 comments on commit 372c6a2

Please sign in to comment.