doc that admin mutations should be posts (#602)

envoyproxy/envoy#2971 adds warning-checks that mutations should be POSTed. This documents that status. In a future PR, mutations will fail if they are not POSTs.

See envoyproxy/envoy#2763 for more detail.

Signed-off-by: Joshua Marantz <jmarantz@google.com>
pull/603/merge
Joshua Marantz 7 years ago committed by htuch
parent 4af506d694
commit b9ab706c90
  1. 17
      docs/root/operations/admin.rst
  2. 2
      docs/root/operations/fs_flags.rst

@ -32,6 +32,9 @@ modify different aspects of the server:
In the future additional security options will be added to the administration interface. This
work is tracked in `this <https://github.com/envoyproxy/envoy/issues/2763>`_ issue.
All mutations should be sent as HTTP POST operations. For a limited time, they will continue
to work with HTTP GET, with a warning logged.
.. http:get:: /
Render an HTML home page with a table of links to all available options.
@ -114,13 +117,13 @@ modify different aspects of the server:
:api:`envoy/admin/v2/config_dump.proto` for more information. That proto is in draft state and is
subject to change.
.. http:get:: /cpuprofiler
.. http:post:: /cpuprofiler
Enable or disable the CPU profiler. Requires compiling with gperftools.
.. _operations_admin_interface_healthcheck_fail:
.. http:get:: /healthcheck/fail
.. http:post:: /healthcheck/fail
Fail inbound health checks. This requires the use of the HTTP :ref:`health check filter
<config_http_filters_health_check>`. This is useful for draining a server prior to shutting it
@ -129,9 +132,9 @@ modify different aspects of the server:
.. _operations_admin_interface_healthcheck_ok:
.. http:get:: /healthcheck/ok
.. http:post:: /healthcheck/ok
Negate the effect of :http:get:`/healthcheck/fail`. This requires the use of the HTTP
Negate the effect of :http:post:`/healthcheck/fail`. This requires the use of the HTTP
:ref:`health check filter <config_http_filters_health_check>`.
.. http:get:: /hot_restart_version
@ -140,16 +143,16 @@ modify different aspects of the server:
.. _operations_admin_interface_logging:
.. http:get:: /logging
.. http:post:: /logging
Enable/disable different logging levels on different subcomponents. Generally only used during
development.
.. http:get:: /quitquitquit
.. http:post:: /quitquitquit
Cleanly exit the server.
.. http:get:: /reset_counters
.. http:post:: /reset_counters
Reset all counters to zero. This is useful along with :http:get:`/stats` during debugging. Note
that this does not drop any data sent to statsd. It just effects local output of the

@ -10,4 +10,4 @@ flag files are:
drain
If this file exists, Envoy will start in HC failing mode, similar to after the
:http:get:`/healthcheck/fail` command has been executed.
:http:post:`/healthcheck/fail` command has been executed.

Loading…
Cancel
Save