https://github.com/rexlow/wazuh-daemons
Wazuh DaemonSet Agent for Kubernetes
https://github.com/rexlow/wazuh-daemons
Last synced: about 1 year ago
JSON representation
Wazuh DaemonSet Agent for Kubernetes
- Host: GitHub
- URL: https://github.com/rexlow/wazuh-daemons
- Owner: rexlow
- Created: 2022-11-08T03:32:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T08:50:36.000Z (over 3 years ago)
- Last Synced: 2025-01-23T11:23:56.230Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Wazuh DaemonSet Agent for Kubernetes
If you are running a kubernetes cluster for a compliance workload, you're probably thinking how to install wazuh agent in worker nodes.
Technically, we can ssh into individual compute instance and install the wazuh-agent from the terminal.
However, this is not the best way to do it considering the auto-scale nature of kubernetes as the agent will not be installed in new nodes.
One way to achieve that is through a DaemonSet workload.
This repo installs wazuh-agent in CentOS. If you're deploying it in other OS, feel free to update the ConfigMap in `agent.yaml`
## Configuration
1. Replace `your-domain.com` across all files with your wazuh domain.
2. Replace your dockerhub handler in `build.sh`
## Installation
```
bash build.sh
```
## Note
This tool does not offer auto remove and auto add agent if an existing agent is found. If you need to add a new agent with the same name, login to your master node and run the below command to remove the agents first
```
/var/ossec/bin/manage_agents
```