Deploy the Wazuh Agent as a DaemonSet in Kubernetes using Helm.
Add the Helm repository to your local Helm client:
helm repo add wazuh-agent https://aiskandarovv.github.io/wazuh-agent-helm/
helm repo updateInstall the chart with default values:
helm install wazuh-agent wazuh-agent/wazuh-agent \
--namespace wazuh-agent \
--create-namespace \
--set manager.host=your-managers-ip \
--set image.tag=4.13.1This will deploy a Wazuh Agent DaemonSet on all nodes in your cluster.
Values
Key Type Default Description
namespace string wazuh-agent Namespace where the DaemonSet is deployed
image.repository string wazuh/wazuh-agent Wazuh Agent image repository
image.tag string 4.13.1 Image tag/version
image.pullPolicy string IfNotPresent Image pull policy
manager.host string your-managers-ip Wazuh Manager hostname or IP
manager.port int 1514 Wazuh Manager port
securityContext.runAsUser int 0 User ID to run container
securityContext.privileged bool true Whether to run container in privileged mode
nodeSelector map {} Node selector labels
tolerations list [] Pod tolerations
affinity map {} Pod affinity rules
resources map {} Resource requests/limits