Quick Start¶
This walks through a minimal single-node cluster.
1. Create a WazuhCluster¶
apiVersion: wazuh.bnerd.com/v1alpha1
kind: WazuhCluster
metadata:
name: demo
namespace: wazuh-demo
spec:
deploymentMode: single-node
indexer:
storage:
size: 20Gi
2. Watch it come up¶
kubectl get wazuhcluster -n wazuh-demo -w
# NAME MODE VERSION PHASE AGE
# demo single-node Provisioning 30s
# demo single-node 4.14.5 Ready 4m
The operator provisions certificates and credentials, renders configuration, then brings up the indexer, manager and dashboard in order, gating each on readiness.
3. Get the dashboard credentials¶
The operator generates credentials into the demo-credentials Secret:
kubectl get secret demo-credentials -n wazuh-demo \
-o jsonpath='{.data.admin-password}' | base64 -d; echo
4. Reach the dashboard¶
kubectl port-forward -n wazuh-demo svc/demo-dashboard 8443:443
# open https://localhost:8443 (user: admin)
See Architecture for everything that was created, and Deployment Modes to scale up to HA.