We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0c16d commit 9a5ffa9Copy full SHA for 9a5ffa9
cmd/gateway.go
@@ -82,6 +82,12 @@ var gatewayCmd = &cobra.Command{
82
83
// Set up HTTP handler
84
http.Handle("/", gatewayInstance)
85
+ http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
86
+ w.WriteHeader(http.StatusOK)
87
+ })
88
+ http.HandleFunc("/readyz", func(w http.ResponseWriter, r *http.Request) {
89
90
91
92
// Replace the /metrics endpoint handler
93
http.Handle("/metrics", promhttp.Handler())
0 commit comments