Open
Description
As discussed in #3228 (comment), we should restrict /flush
and /shutdown
ingester endpoints to POST
HTTP method only.
When doing it we should also:
- Make it clear in the
/
page that they'rePOST
only (because if you will click these links from the browser, it will show a 405 error) - Change
tools/migrate-ingester-statefulsets.sh
because calls GET /shutdown, but then we would have to use something different than wget (and curl is not available in Cortex images)