diff --git a/api-gateway/auth-health-check-policy.yaml b/api-gateway/auth-health-check-policy.yaml index 79a0839..fbfeea5 100644 --- a/api-gateway/auth-health-check-policy.yaml +++ b/api-gateway/auth-health-check-policy.yaml @@ -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: "" diff --git a/api-gateway/auth-http-route.yaml b/api-gateway/auth-http-route.yaml index b60e498..6ec4df0 100644 --- a/api-gateway/auth-http-route.yaml +++ b/api-gateway/auth-http-route.yaml @@ -14,4 +14,4 @@ spec: backendRefs: - kind: Service name: auth-microservice-service - port: 8000 + port: 8000 \ No newline at end of file diff --git a/api-gateway/gateway.yaml b/api-gateway/gateway.yaml index 0d67f3a..5eb743e 100644 --- a/api-gateway/gateway.yaml +++ b/api-gateway/gateway.yaml @@ -5,7 +5,7 @@ metadata: spec: gatewayClassName: gke-l7-global-external-managed listeners: - - name: http + - name: http-listener protocol: HTTP port: 80 allowedRoutes: diff --git a/auth-microservice/k8s/auth-microservice-service.yaml b/auth-microservice/k8s/auth-microservice-service.yaml index 18e9c7c..101f907 100644 --- a/auth-microservice/k8s/auth-microservice-service.yaml +++ b/auth-microservice/k8s/auth-microservice-service.yaml @@ -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 \ No newline at end of file + type: microservice