Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/testing/e2e: correct cilium-cli usage for helm mode #26840

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions Documentation/contributing/testing/e2e.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ Running End-To-End Connectivity Tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The connectivity tests are implemented in such a way that they can be run against
any K8s cluster running Cilium. The built-in feature detection allows the testing
any K8s cluster running Cilium. The built-in feature detection allows the testing
framework to automatically skip tests when a required test condition cannot be met
(for example, skip the Egress Gateway tests if the Egress Gateway feature is disabled).

Running tests locally
^^^^^^^^^^^^^^^^^^^^^

Before running the connectivity tests you need to install `Cilium CLI <https://github.com/cilium/cilium-cli#installation>`_.
.. include:: /installation/cli-download.rst

Alternatively, ``Cilium CLI`` can be manually built and installed by fetching
``https://github.com/cilium/cilium-cli``, and then running ``make install``.

Expand Down Expand Up @@ -63,11 +64,11 @@ Assuming that Cilium was built with:
...
^^^ Images pushed, multi-arch manifest should be above. ^^^

You can install Cilium with the following:
You can install Cilium with the following command:

.. code-block:: shell-session

$ cilium install --wait --rollback=false \
$ cilium install --wait \
--chart-directory=$GOPATH/src/github.com/cilium/cilium/install/kubernetes/cilium \
--helm-set=image.override=localhost:5000/cilium/cilium-dev:local \
--helm-set=image.pullPolicy=Never \
Expand All @@ -90,7 +91,7 @@ Finally, to run tests:
Alternatively, you can select which tests to run:

.. code-block:: shell-session

$ cilium connectivity test --test north-south-loadbalancing
...
[=] Test [north-south-loadbalancing]
Expand Down Expand Up @@ -151,7 +152,7 @@ Finally, you can SSH into the VM to start a K8s cluster, install Cilium, and fin
# git config --global --add safe.directory /host/cilium
# ./contrib/scripts/kind.sh "" 3 "" "" "none" "dual"
# cd /host/cilium-cli
# ./cilium install --wait --rollback=false \
# ./cilium install --wait \
--chart-directory=../cilium/install/kubernetes/cilium \
--version=v1.13.2 \
--helm-set-string=tunnel=vxlan \
Expand Down