From 3d9e947dc494101b16ab1ae593917c58e49cc2d4 Mon Sep 17 00:00:00 2001 From: ThePooN Date: Wed, 18 Dec 2024 16:37:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=85=20Use=20HTTP=20probes=20rather=20t?= =?UTF-8?q?han=20TCP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osu/osu-web/Chart.yaml | 4 ++-- osu/osu-web/templates/deployment-assets.yaml | 12 ++++-------- osu/osu-web/templates/deployment.yaml | 12 ++++-------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/osu/osu-web/Chart.yaml b/osu/osu-web/Chart.yaml index fc2024f..5ed4430 100644 --- a/osu/osu-web/Chart.yaml +++ b/osu/osu-web/Chart.yaml @@ -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 diff --git a/osu/osu-web/templates/deployment-assets.yaml b/osu/osu-web/templates/deployment-assets.yaml index 9d21c03..ecaccae 100644 --- a/osu/osu-web/templates/deployment-assets.yaml +++ b/osu/osu-web/templates/deployment-assets.yaml @@ -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: diff --git a/osu/osu-web/templates/deployment.yaml b/osu/osu-web/templates/deployment.yaml index 6bd3767..5c74af3 100644 --- a/osu/osu-web/templates/deployment.yaml +++ b/osu/osu-web/templates/deployment.yaml @@ -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: