Deployment on K8s

69 views
Skip to first unread message

Haidar Majd Merhej

unread,
Jul 6, 2023, 7:53:48 AM7/6/23
to Wazuh mailing list
i have alraedy deploy wazuh on K8s cluster but i face a problem which is  the wazih indexer and manager and worker still in pending status while dashboard is running
can any one help me solve this issue please?

Nicolas Curioni

unread,
Jul 7, 2023, 9:47:37 AM7/7/23
to Wazuh mailing list

Hello Haidar,

Thanks for sharing your doubts with the community.

Could you please provide the following information?

  • How did you perform the deployment?
  • Is this an On-Prem or Cloud environment?

Please note that this kind of deployment is intended for Cloud environments. In case you are deploying it in an On-Prem environment, you need to take into account some considerations.
For example, On-Prem deployments do not use Load Balancer. Instead, you need to use Nodeport for networking.
Also, you need to define the persistent volumes manually, as they are not created automatically.

I hope this information would be useful.
Best regards.

Nicolas Curioni

unread,
Jul 10, 2023, 10:19:25 AM7/10/23
to Wazuh mailing list

Hello Haidar,

Thanks for your reply.

As previously mentioned, deploying Wazuh in an On-Prem environment with Kubernetes, needs some prerequisites, such as the Persistent Volumes creation and the networking configuration. You can share with us the events for every pod, in order we can check for errors.

In addition to this, you can use the following Github repository, which explains the deployment of Wazuh in an On-Premise environment with Kubernetes. Take into account that you need to use this repo from scratch, not applying it with the current installation:

Looking forward to hearing from you.

Best regards.

Nicolas Curioni

unread,
Jul 13, 2023, 3:33:17 PM7/13/23
to Wazuh mailing list

Hello Haidar,

Thanks for your answer.

It would be important to check the reason why the indexer container is not being created. To check this, you can run the following commands:

# kubectl -n wazuh describe pod <pod-name> # kubectl get events

Check this and let us know the output for these commands.
Best regards.

Reply all
Reply to author
Forward
0 new messages