Components
1. Prerequisites
1.1 Choose a deployment mode
1.2 Sizing
Elasticsearch uses an 8 GB heap by default (
ES_JAVA_OPTS). With more RAM, you can raise the heap up to half of the memory available to Elasticsearch.
For Kubernetes, you also need Kubernetes 1.25+, kubectl, an Ingress controller, and either a default StorageClass or local disks on the nodes. Helm needs Helm 3.10+.
1.3 Network requirements
If outbound traffic goes through an HTTP proxy, set
HTTP_PROXY / HTTPS_PROXY for the cloud connector.
1.4 Credentials
Get these values from app.onefirewall.com:
You choose the local credentials yourself:
2. Install
Every mode starts from theonefirewall-wcf-platform deployment package. Each folder in the package has a README.md with the full list of parameters.
- Docker Compose
- Kubernetes manifest
- Helm
All parameters are in the Put the Kibana password hash in single quotes: The script creates the storage folders, sets the Elasticsearch permissions, and generates a self-signed certificate if To enable optional services, set
.env file.1
Configure
REPORT_PASSWORD_HASH='$6$...'.2
Prepare the host
haproxy/certs/onefirewall.pem does not exist.3
Start
COMPOSE_PROFILES in .env, for example COMPOSE_PROFILES=blocklist,fluentbit. The available profiles are blocklist, fluentbit, intersect-data, and es-cleaner.To use your own certificate, concatenate the certificate and the key into haproxy/certs/onefirewall.pem, then run docker compose restart haproxy.Local disks (bare-metal Kubernetes)
If your cluster has no dynamic storage, create PersistentVolumes on the node disks before you install:- Set your node names (
kubectl get nodes) ink8s/optional/local-persistent-volumes.yaml. - Create the folders listed in the file on each node. Run
chown -R 1000:0on the Elasticsearch folder. - Run
kubectl apply -f k8s/optional/local-persistent-volumes.yaml. - Single manifest only: uncomment the
storageClassName: local-storage-*lines.
Choose the Elasticsearch mode before the first installation. To move existing data from a single node to a cluster, you need a migration. Contact [email protected].
3. Verify
- Kibana: open
https://<host>/report/and sign in withREPORT_USER(defaultonefirewall) and your password. - Docker:
docker compose pslists every service asrunning. - Kubernetes:
kubectl -n ofa get podslists every pod asRunning.
4. Troubleshooting
For any other problem, contact [email protected]. Include the output of
docker compose logs, or of kubectl -n ofa get pods and kubectl -n ofa logs <pod>.
