Skip to content

Commit

Permalink
feat(frontend): add health endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
lindtvedtsebastian committed Aug 1, 2024
1 parent 74e6e2c commit 1b782a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/helm/backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ common:
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
path: /health
path: "/health"
readinessProbe:
tcpSocket:
port: 3000
Expand Down
5 changes: 5 additions & 0 deletions next-tavla/app/health/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { NextResponse } from 'next/server'

export function GET() {
return NextResponse.json({ status: 'OK' })
}
1 change: 1 addition & 0 deletions next-tavla/helm/tavla/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ common:
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
path: '/health'
readinessProbe:
tcpSocket:
port: 3000
Expand Down

0 comments on commit 1b782a3

Please sign in to comment.