Repository navigation
kubernetes
github-actions[bot] edited this page Jul 14, 2026
·
7 revisions
Deployment layouts live under deployments/. See deployments/README.md for which path to use.
| Path | Use case |
|---|---|
deployments/k8s/reaperc2/ |
DocumentDB on EKS or k3s — DEPLOY.md
|
deployments/k3s/ |
OnPrem k3s: NFS MongoDB + in-cluster Ollama |
deployments/k8s/k3s/ |
Short pointer: k3s + DocumentDB → reaperc2/
|
Legacy samples: full-deployment.yaml, OnPrem/full-deployment.yaml.
Always review placeholders (registry secrets, Mongo credentials, hostnames, TLS) before applying.
DocumentDB (EKS / k3s):
cd deployments/k8s/reaperc2
./build-push-image.sh --arch amd64 # or arm64 for Pi nodesOnPrem NFS + Ollama:
cp deployments/k3s/config.example.env deployments/k3s/config.env
./deployments/k3s/scripts/build-push-image.shRequires Go on the build machine for the OnPrem script (host cross-compile + Dockerfile.pack).
The binary listens on 8080 (beacon) and 8443 (admin) by default.
-
Expose 8080 through Ingress / LoadBalancer for implant traffic. Configure
BEACON_PUBLIC_BASE_URL(and per-beacon base URL in the UI) to that public HTTPS origin. -
Do not publish 8443 on a public Ingress for routine operation. Use
kubectl port-forward(or an SSH tunnel via a bastion) from a trusted workstation to reach the admin UI athttp://127.0.0.1:8443on that machine.
kubectl port-forward -n reaperc2-ns deployment/reaperc2-deployment 8443:8443DocumentDB:
cd deployments/k8s/reaperc2
REAPER_CLUSTER=k3s ./deploy-cluster.sh all # or default aws for EKS
./deploy-cluster.sh apply-ingressOnPrem NFS + Ollama:
./deployments/k3s/scripts/deploy.sh-
OnPrem / in-cluster Mongo:
deployments/k3s/scripts/deploy.shortest/setup_mongo.sh. -
DocumentDB:
deployments/k8s/reaperc2/README.md.
-
deployments/k8s/operator-ai.yaml— template with Ollama enabled by default; copy tooperator-ai.local.yamlfor secrets. -
In-cluster Ollama:
deployments/k8s/ollama.yaml— applied by./deploy-cluster.sh apply-ollama/all, ordeployments/k3s/scripts/deploy.sh. Skip withSKIP_OLLAMA=1.
See Operator AI for variable details.