github.com/argoproj/argo-events@v1.9.1/docs/eventsources/webhook-health-check.md (about) 1 # Webhook Health Check 2 3 For `webhook` or `webhook` extended event sources such as `github`, `gitlab`, 4 `sns`, `slack`, `Storage GRID` and `stripe`, besides the endpoint configured in 5 the spec, an extra endpoint `:${port}/health` will also be created, this is 6 useful for LB or Ingress configuration for the event source, where usually a 7 health check endpoint is required. 8 9 For example, the following EventSource object will have 4 endpoints created, 10 `:12000/example1`, `:12000/health`, `:13000/example2` and `:13000/health`. An 11 HTTP GET request to the health endpoint returns a text `OK` with HTTP response 12 code `200`. 13 14 ```yaml 15 apiVersion: argoproj.io/v1alpha1 16 kind: EventSource 17 metadata: 18 name: webhook 19 spec: 20 webhook: 21 example: 22 port: "12000" 23 endpoint: /example1 24 method: POST 25 example-foo: 26 port: "13000" 27 endpoint: /example2 28 method: POST 29 ```