Skip to content

Commit

Permalink
Merge pull request #7302 from wazuh/enhancement/6736-update-kubernetes
Browse files Browse the repository at this point in the history
Update kubernetes deployment docs
  • Loading branch information
javimed authored May 10, 2024
2 parents 3bf3d4a + 7766e16 commit 7c87546
Showing 1 changed file with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
.. meta::
:description: Learn more about Kubernetes deployment with Wazuh in this section of the Wazuh documentation.

.. _kubernetes_deployment:

Deployment
==========

Expand Down Expand Up @@ -180,14 +178,15 @@ In case you created domain names for the services, you should be able to access
dashboard LoadBalancer xxx.xx.xxx.xxx xxx.xx.xxx.xxx 80:31831/TCP,443:30974/TCP 15m app=wazuh-dashboard
**Optional**: On a local cluster deployment where the external IP address is not accessible, you can use port-forward:
**Optional**: On a local cluster deployment where the external IP address is not accessible, you can use ``port-forward``:

.. code-block:: console
$ kubectl -n wazuh port-forward service/dashboard 8443:443
.. code-block:: console
$ kubectl -n wazuh port-forward --address <INTERFACE_IP_ADDRESS> service/dashboard 8443:443
The Wazuh dashboard will be accessible on ``https://localhost:8443``.
Where ``<INTERFACE_IP_ADDRESS>`` is the IP address of the Kubernetes host.

The Wazuh dashboard is accessible on ``https://<INTERFACE_IP_ADDRESS>:8443``.

The default credentials are ``admin:SecretPassword``.

Expand Down Expand Up @@ -304,9 +303,17 @@ Applying the changes

#. Apply the manifest changes

.. code-block:: console
- EKS cluster

.. code-block:: console
# kubectl apply -k envs/eks/
- Other cluster types

.. code-block:: console
# kubectl apply -k envs/eks/
# kubectl apply -k envs/local-env/
#. Start a bash shell in ``wazuh-indexer-0`` once more.

Expand Down

0 comments on commit 7c87546

Please sign in to comment.