Skip to content

Commit

Permalink
doc: replace references to HUBBLE_DEFAULT_SOCKET_PATH by HUBBLE_SERVER
Browse files Browse the repository at this point in the history
As of Hubble v0.7.0, which ships with Cilium 1.9, this environment
variable is now deprecated. Let's encourage the use of the new one
instead.

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
  • Loading branch information
rolinh authored and aanm committed Oct 23, 2020
1 parent 160d6b9 commit 1ec611e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Documentation/gettingstarted/hubble-enable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ networking infrastructure in a completely transparent manner.
kubectl port-forward -n $CILIUM_NAMESPACE svc/hubble-relay --address 0.0.0.0 --address :: 4245:80
hubble observe --server localhost:4245
(**For Linux / MacOS**) For convenience, you may set and export the ``HUBBLE_DEFAULT_SOCKET_PATH``
(**For Linux / MacOS**) For convenience, you may set and export the ``HUBBLE_SERVER``
environment variable:

.. code:: bash
export HUBBLE_DEFAULT_SOCKET_PATH=localhost:4245
export HUBBLE_SERVER=localhost:4245
This will allow you to use ``hubble status`` and ``hubble observe`` commands
without having to specify the server address via the ``--server`` flag.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/gettingstarted/hubble.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ In order to avoid passing ``--server localhost:4245`` to every command, you may
export the following environment variable:

.. parsed-literal::
$ export HUBBLE_DEFAULT_SOCKET_PATH=localhost:4245
$ export HUBBLE_SERVER=localhost:4245
Let's now issue some requests to emulate some traffic again. This first request
is allowed by the policy.
Expand Down

0 comments on commit 1ec611e

Please sign in to comment.