Deploy with Helm
In this option you will deploy k8guard with a Helm chart. Helm reduces the number of files needed for editing by using templates, and consolidates the deployment.
Prerequisites
- Ensure you have a kubernetes cluster running that you can connect to, with the docker images for each microservice (report, action, etc…) published to the contianer registry.
- Install Helm
- To try k8guard with an older version Kubernetes please refer to version compatibility matrix.
Configuration
Edit the values in k8guard-start-from-here/helm/values.yaml
as appropriate.
Deployment
From within the k8guard-start-from-here directory:
With the make command:
make helm-deploy
Or directly with helm:
helm upgrade -i k8guard-chart helm -f helm/values.yaml
And to cleanup:
With make:
make clean-helm
Or, with helm:
helm delete k8guard-chart
Try It in Browser:
Give it a couple minutes, then hit the urls.
If ingress is configured:
- Discover-api url:
http://k8guard.domain.local/discover
- Report url:
http://k8guard.domain.local/report
Or, if you’re using minikube:
- Discover-api service url:
minikube service k8guard-discover-service
- Report service url:
minikube service k8guard-report-service