Deploy to docker-compose
Deploy Option 1: Run in docker-compose using Kafka, Zookeeper, Memcached and Cassandra
-
Config: edit
.env
andenv-creds
files. (default values should work fine) -
Set your kubernetes context to the cluster you want k8guard to run against.
kubectl config use-context REPLACE_WITH_YOUR_CONTEXT
-
Bring up the core services (cassandra, kafka, memcached):
make up-core-compose
-
Bring up action, in a new terminal run:
make up-action-compose
-
Bring up discover, in a new terminal run:
make up-discover-compose
-
To bring up report, in a new terminal run:
make up-report-compose
- Open the discover service url in the browser:
http://localhost:3000
- Open the report service url in the browser:
http://localhost:3001
Clean up docker-compose
-
To clean the docker-compose
make clean-compose
-
Hint alternatively, you can clean individual services:
make clean-action-compose
make clean-discover-compose
make clean-report-compose
make clean-core-compose
Deploy Option 2: Alternatively, run in docker-compose with lighter weight dependencies of Redis and Cassandra
-
Config: edit
.env
andenv-creds
files. (default values should work fine) -
Set your kubernetes context to the cluster you want k8guard to run against.
kubectl config use-context REPLACE_WITH_YOUR_CONTEXT
-
Bring up the core services (cassandra, kafka, memcached):
make up-core-compose-lightweight
-
Bring up action, in a new terminal run:
make up-action-compose-lightweight
-
Bring up discover, in a new terminal run:
make up-discover-compose-lightweight
-
To bring up report, in a new terminal run:
make up-report-compose-lightweight
- Open the discover service url in the browser:
http://localhost:3000
- Open the report service url in the browser:
http://localhost:3001
Clean up docker-compose
-
To clean the docker-compose
make clean-compose-lightweight
-
Hint alternatively, you can clean individual services:
make clean-action-compose-lightweight
make clean-discover-compose-lightweight
make clean-report-compose-lightweight
make clean-core-compose-lightweight