app-autoscaler-release icon indicating copy to clipboard operation
app-autoscaler-release copied to clipboard

Create liveliness endpoint

Open asalan316 opened this issue 1 year ago • 4 comments

This change introduces new /health/liveness endpoint, allowing users to check the health of the individual services The response

{"overall_status":"UP","checks":[]}

Also, the following existing endpoints are now moved to the new paths

Golang Microservices

Exisiting Routes New Health Routes
/ /health/prometheus
/debug/pprof /health/debug/pprof
/debug/pprof /health/debug/pprof
- /health/liveness (new)
- /health (respond to /health/liveness )

Scheduler Microservice

Exisiting Routes New Health Routes
/health /health/prometheus
/prometheus /health/prometheus
- /health/liveness (new)
- /health (respond to /health/liveness )

By default, all health routes are protected with basic auth.

However, routes can be configured to be unprotected by using the configuration autoscaler.apiserver.health.unprotected_endpoints

asalan316 avatar Mar 02 '23 11:03 asalan316

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: joergdw (75532c3b396f1538f7b99f9a2b114761c50a1f77, 00a13e4048238d75a0e16cdd40e10461f44d6b8f, e444bbce4665060e18a751b3a54a6d33e90e8f1c, b6a4f662f070ef9bea8a2206081c592a9bb8af4d, 92d47e1ed2bfa40545c0a771cb650018d4ed0275, d4cf916fade9efc856b9c0eda72a8aabbfe19747, 09d6dc51d4726a4030b6bbdf8604a54fc23534a8, d52d757f4d61382f74ac0723ac92f37e44800656, 55ac5e74e7a43ccc8861402a9d51275a36696227, 63410579e206bd573e02e309c705715cf678097b, fa43fcf75735d3ee9fbbf61a61de4413e7ce44c5, fdb2517b41799d37e4cfdc1349fee6d7b827ffee, 8e7895992291a19037170cb7adb459adc7933bbf)
  • :white_check_mark: login: asalan316 / name: Arsalan Khan (89c1d2728a2f5d07a7f0ae9cf2784ace567723a1, b4ab911b7f21918f5e59c2172fd71c27d86abaa4, ca1f6236291734e1d8fc5fef1419bb80f30a09c3, 3e350946c0d96fed530ddde9434606520be001e9, d3892e6590b265ed5343c5656fef1e0714f18e7a, f9f2b222770d950d5cf1ccc59e18745023bf592f, 2e0fa5721a473c66346db29472a63568a9022bab, a7ba83bd188ee9bf1dced276947b017a8e7fc749, d246a4d5fefad2b0aa17239fa55c3200e6b315cb, b6818eb17b10ff05e28dfbc23f7642d80dc5988d, d3a5531a1f60ee07171ede7fba16953ce9c3cf11, dc2876bdef6ae9f155722de6accea743274d8185, f09bc70995c09e5aa038d76d26eda85f38c6f119, f853498b6b4342f8de9576e0f8f5f949147e40db, 9688bf52e31b867e2afac50ba5551e36b3d94aae, 1906dd9588e8dc132ad038057ffaa7be80722abf, 6c3ffefc41619dac293832142742f6801ce92930, 4abcaadd865c632c4c0112e057e6c206072d2bda, 87416bc7cbef7dd106add66a14fe17b9ed942b6e, 145d4261636ff56cc11c1e3b23826b99f0e39ab3, 3aeb2ae56b17edfccc0f81c5e11547d55eeaee18, 0a8b9dbb2a2c7dbe1c8d97c701daf668ea33aee6)
  • :white_check_mark: login: salzmannsusan / name: Susanne Salzmann (8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 8e7895992291a19037170cb7adb459adc7933bbf, 88c62c00800db8ac29aca15df84e7abb22a6d64c, 88c62c00800db8ac29aca15df84e7abb22a6d64c)
  • :white_check_mark: login: OliverMautschke / name: Oliver Mautschke (16becb08050357e925729476ba5d9ba3c36794d8)

/easycla

asalan316 avatar Apr 20 '23 12:04 asalan316

/easycla

jarias-lfx avatar Apr 21 '23 17:04 jarias-lfx

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jun 15 '23 15:06 sonarqubecloud[bot]