wazuh / wazuh-kubernetes

Wazuh - Wazuh Kubernetes
https://wazuh.com/
GNU General Public License v2.0
270 stars 166 forks source link

Helm chart to install Wazuh #138

Open manisha-tanwar opened 3 years ago

manisha-tanwar commented 3 years ago

Hi Team,

Is there any existing helm charts to install wazuh. I found this https://github.com/GoVanguard/wazuh-helm but doesn't look like anyone used it.

xr09 commented 3 years ago

Hi there @manisha-tanwar, we don't have a Helm chart just now but we just refactored the master branch using Kustomization's overlay feature to create two variants: eks and local-env, you can customize each variant with your own values.

What's your use case specifically?

kajov commented 3 years ago

@xr09 to fill in on use-case why to request helm chart. "Kustomize is built into the kubectl command is more like a feature. You use kustomization.yaml files to glue things together. Helm is a full package manager tool that also builds YAML files. Helm uses templating logic. Kubes allows for both YAML merging and templating. It provides additional conveniences like building the Docker image" Source

This helps in multitude of things, already, version control, templating as mentioned above and quick chart updates whenever new modules/deployment features are integrated.

I am planning at some point to start writing wazuh 4.0.4 helm chart that works with AWS ECS2, GCS, vSphere and Azure. Generally helm covers multitude of services and just focuses on kubernetes in general. I can keep you in loop whenever I will start creating helm chart. They are generally easy to make.

manisha-tanwar commented 3 years ago

@xr09 I'm new to Kubernetes and helm charts are easy to install. I've never installed Wazuh before & was thinking to install it on K8 directly. @kajov Thanks I'll wait 👍

Jordy694 commented 2 years ago

+1 for creating a helm chart :-) this will help us in different ways with CI/CD. Any plans to create an official helm chart?

VladTimo commented 2 years ago

+1 for creating an official helm chart.

kajov commented 2 years ago

Oh, thanks all for the praise, I have somewhat stopped maintaining the project and have went out of the loop for the helm chart and since I wrote the chart in general before Helm3 it's still on old version v2.17.x and needs refactoring and general fixes. I haven't been in chart game for some time so if you have ideas and can do anything feel free to PR the project and contribute :) https://github.com/kajov/wazuh-kubernetes-helmchart

adeturner commented 1 year ago

+1 it would be very useful to have an official helm chart, e.g. for gitops implementations using fluxcd/argocd. Its the gold standard and a bit surprised to find it doesn't exist.

kedras commented 1 year ago

agree with @adeturner, also opened thread on Wazuh Discord...but remains silent since then

Bec-k commented 1 year ago

Was also surprised that they don't have helm chart. It's standard practice to use helm chart for versioned releases.

kedras commented 1 year ago

got reply on Wazuh Slack channel though... "I have to inform you that unfortunately we do not have a Helm deployment ready, but it's definitely on our radar for future development. In the meantime, we do have a deployment option available using Kustomize(with Kubernetes). While it's not exactly what you were looking for, we hope it can still be helpful for your needs."

Nello-Angelo commented 8 months ago

+1 for this idea

goldpandas commented 8 months ago

+1 we need helm charts as well. Kustomize isn't working for us, although Kustomize can work with Argocd we really need a helm chart to fit this in our infrastructure.

bdellegrazie commented 8 months ago

@goldpandas Just FYI, helmfile supports deploying kustomizations and will work with Argo. I haven't tried this yet but probably will do so.

bmm-alc commented 8 months ago

see issue #597 for a helm chart someone posted

henika1 commented 6 months ago

is there any news on wazuh with helm chart ?

jbreed commented 5 months ago

Still nothing on this? If not, I may take a stab at it as I dont imagine it would be too difficult.

  1. Run kustomize to create manifests
  2. Build helm chart from manifests

or could possibly look at Chartify to see if it can handle this. I assume the current images used will work in a CIS-enabled Kubernetes cluster without issues?

soakes commented 4 months ago

Still nothing on this? If not, I may take a stab at it as I dont imagine it would be too difficult.

1. Run kustomize to create manifests

2. Build helm chart from manifests

or could possibly look at Chartify to see if it can handle this. I assume the current images used will work in a CIS-enabled Kubernetes cluster without issues?

Hey @jbreed just wondering how you are getting on with this? did you make any prograss?

jbreed commented 4 months ago

Still nothing on this? If not, I may take a stab at it as I dont imagine it would be too difficult.

1. Run kustomize to create manifests

2. Build helm chart from manifests

or could possibly look at Chartify to see if it can handle this. I assume the current images used will work in a CIS-enabled Kubernetes cluster without issues?

Hey @jbreed just wondering how you are getting on with this? did you make any prograss?

@soakes - I was planning on it, but then got distracted with other projects. I did a little bit of work here, but didn't finish it.

This item is a little lower on my to-do list, but I do eventually plan on running this in my Kubernetes CIS enabled cluster.

soakes commented 4 months ago

Still nothing on this? If not, I may take a stab at it as I dont imagine it would be too difficult.

1. Run kustomize to create manifests

2. Build helm chart from manifests

or could possibly look at Chartify to see if it can handle this. I assume the current images used will work in a CIS-enabled Kubernetes cluster without issues?

Hey @jbreed just wondering how you are getting on with this? did you make any prograss?

@soakes - I was planning on it, but then got distracted with other projects. I did a little bit of work here, but didn't finish it.

This item is a little lower on my to-do list, but I do eventually plan on running this in my Kubernetes CIS enabled cluster.

Thank you @jbreed for the update. Look forward to seeing and implmenting it.