Skip to content

Commit

Permalink
Fix passes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Sep 30, 2023
1 parent 5ed0dcf commit cbcae71
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions apps/passes/healthcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: passes
namespace: default
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 3000
requestPath: /
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: passes
3 changes: 2 additions & 1 deletion apps/passes/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ resources:
- image.yaml
- service.yaml
- deploy.yaml
- httproute.yaml
- httproute.yaml
- healthcheck.yaml
2 changes: 1 addition & 1 deletion apps/passes/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
- name: http
port: 80
protocol: TCP
targetPort: 8080
targetPort: 3000
selector:
app: passes
sessionAffinity: None
Expand Down

0 comments on commit cbcae71

Please sign in to comment.