Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Documentation and deployment minor tweaks #4

Merged
merged 2 commits into from
Jun 1, 2018

Conversation

JPLachance
Copy link
Contributor

@JPLachance JPLachance commented May 4, 2018

Since I created this project, some question were answered and it's time to update the code and the documentation in here.

* Update the main README, add information about Wazuh agents and how to deploy them (Fixes #3)
* Update the mount path of the ossec.conf file (see wazuh/wazuh-docker#42)
* Set a shorter sync interval for the cluster managers (see wazuh/wazuh#398 (comment))
! Fix Logstash LS_HEAP_SIZE VS LS_JAVA_OPTS (see elastic/logstash-docker#27, LS_HEAP_SIZE does not exist anymore and was replaced by LS_JAVA_OPTS)
* Use the Parallel pod management policy for managers since deployment order is not important

…to deploy them

! Fix Logstash LS_HEAP_SIZE VS LS_JAVA_OPTS
* Set a shorter sync interval for the cluster managers
* Use the Parallel pod management policy for managers since deployment order is not important
* Update the mount path of the ossec.conf file
README.md Outdated
@@ -2,21 +2,23 @@
Wazuh (3.2) cluster on top of Kubernetes (tested with 1.8.6) with a working simple ELK stack.

## Abstract
Wazuh best practices recommend to deploy multiple instances of the Wazuh manager so it can support a larger amount of events and can be fault tolerant.
Wazuh best practices recommends deploying multiple instances of the Wazuh manager so it can support a larger amount of events and can be fault tolerant.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Wazuh best practices recommend . . .

README.md Outdated
@@ -77,6 +79,9 @@ Then, all the pieces should be up!
* All manager nodes of your Wazuh manager cluster should be reachable at wazuh-manager.some-domain.com:1514
* Kibana and the Wazuh Kibana application should be available at https://wazuh.some-domain.com:443

## Wazuh agents deployment
This repository does not show how to deploy the Wazuh agent in a Kubernetes cluster. Normally, we would use a DaemonSet to deploy the agent on each Kubernetes node. To do that, we would need a Docker image with the Wazuh agent installed on it and then we would need to mount almost every folders of the host inside that container (`/bin`, `/etc`, `/var/log`, etc.). It would be a very complicated task since you cannot simply mount the `/bin` folder of you host in the `/bin` folder of your container. Therefore, creating such Docker image an using it in a Kubernetes DaemonSet is not the ideal way to deploy a Wazuh agent. Instead, you should take a look at the [Wazuh Ansible playbooks project](https://github.com/wazuh/wazuh-ansible) or at the [Wazuh Puppet module project](https://github.com/wazuh/wazuh-puppet) to deploy your Wazuh agents.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost every folder

... folder of your host ...

creating such Docker images and using them in . . .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"creating such Docker images and using them in" is not the intent here. You only need one image, you don't need many. :)

@JPLachance JPLachance merged commit 3d76717 into master Jun 1, 2018
@JPLachance JPLachance deleted the fix-documentation-and-config-mount branch September 17, 2018 20:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants