Kubernetes
Deploy the data plane with the Helm chart (or plain manifests, or as a sidecar), with a control plane in the cluster if you want one: install, check, upgrade and uninstall.
Welke versie u installeert
De openbare versie is een ontwikkelversie met de naam 0.3.0-dev. De naam blijft gelijk: elke publicatie vervangt de vorige en een build-id onderscheidt twee builds. Er bestaat nog geen stabiele versie: die wordt pas gepubliceerd als elk systeem en elk pakket van begin tot eind is getest. De opdrachten op deze pagina installeren daarom vanuit het kanaal dev. Een ontwikkelversie kan fouten bevatten: probeer haar eerst op een testsite voordat u erop vertrouwt.
At a glance
- Kubernetes 1.25 or later. The data plane is deployed as a Deployment or a DaemonSet, stateless; the policy comes from Helm values (a hot-reloaded ConfigMap) or from a control plane.
- Pods run unprivileged (user 65532), with a read-only root filesystem, all capabilities dropped and the RuntimeDefault seccomp profile.
- The chart, the manifests and the sidecar example are in the deploy folder of your ToutWAF distribution, not in the public repository.
- The in-cluster control plane is a single instance with SQLite (PostgreSQL is not implemented).
The commands, step by step
Installeer met Helm
Rolt de data plane uit als ingress, desgewenst met een control plane in het cluster. De chart en de manifests (sidecar-modus inbegrepen) staan in de map deploy van uw ToutWAF-distributie, niet in de openbare repository, die alleen binaries en installers bevat. De operator bestaat uit CRD's en een geraamte.
helm install toutwaf ./deploy/helm/toutwaf --namespace toutwaf --create-namespace -f my-values.yamlControleer de pods en open de console
kubectl -n toutwaf get pods
kubectl -n toutwaf port-forward svc/toutwaf-cp 9443:9443Bijwerken (containers)
Maak eerst een back-up. De updateknop van de console kan in een container niet werken: vervang de binaries in de map bin (of de image, zodra er een is gepubliceerd) en bouw opnieuw; de volumes, dus uw gegevens, blijven behouden.
helm upgrade toutwaf ./deploy/helm/toutwaf --namespace toutwaf -f my-values.yamlVerwijderen
Het eerste blok verwijdert de services, de binaries en de door ToutWAF toegevoegde firewallregels en bewaart uw data. Het tweede wist ook configuratie, data en logs.
helm uninstall toutwaf --namespace toutwafkubectl delete namespace toutwafWhat is not verified
We prefer to say it plainly.
- The Kubernetes operator is a skeleton: the resource definitions (CRDs), the RBAC and a translation library exist, but no controller binary or operator image is published. Use the Helm “standalone” policy source or a control plane.
- The resource sizes in the sidecar example are example values, not a sizing guarantee.