Skip to content

Commit

Permalink
🥅 Use HTTP probes rather than TCP
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePooN committed Dec 18, 2024
1 parent 70152af commit 3d9e947
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
4 changes: 2 additions & 2 deletions osu/osu-web/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2024.1119.0
version: 2024.1218.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2024.1116.0"
appVersion: "2024.1216.0"

dependencies:
- name: osu-beatmap-difficulty-lookup-cache
Expand Down
12 changes: 4 additions & 8 deletions osu/osu-web/templates/deployment-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,13 @@ spec:
containerPort: 8080
protocol: TCP
livenessProbe:
tcpSocket:
httpGet:
path: /site.webmanifest
port: http
# httpGet:
# path: /
# port: http
readinessProbe:
tcpSocket:
httpGet:
path: /site.webmanifest
port: http
# httpGet:
# path: /
# port: http
lifecycle:
preStop:
exec:
Expand Down
12 changes: 4 additions & 8 deletions osu/osu-web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,13 @@ spec:
containerPort: 8000
protocol: TCP
livenessProbe:
tcpSocket:
httpGet:
path: /home
port: http
# httpGet:
# path: /home
# port: http
readinessProbe:
tcpSocket:
httpGet:
path: /home
port: http
# httpGet:
# path: /home
# port: http
lifecycle:
preStop:
exec:
Expand Down

0 comments on commit 3d9e947

Please sign in to comment.