Local Installation
Use Capact CLI to create a local Kubernetes cluster and install Capact on it.
Prerequisites
- Docker installed
- Capact CLI installed according to the Getting Started guide
CPU and memory requirements
Capact consists of multiple components, which you can find in deploy/kubernetes/charts
. Make sure that Docker has enough resources to install Capact properly.
Minimal:
- 2 CPU cores
- 4GB RAM
Recommended:
- 4 CPU cores
- 8GB RAM
note
While on Linux Docker runs natively, being able to use all CPU and memory if needed, on macOS you need to configure resources manually for Docker virtual machine.
Please check the Docker manual in order to learn how to configure CPU and memory.
Create local Kubernetes cluster
To create a local cluster, run the following command:
- Kind
- K3d
capact environment create kind --wait 5m
note
You can customize the behavior with additional flags. See all the options in the capact environment create kind
command documentation.
capact environment create k3d --wait 5m
note
You can customize the behavior with additional flags. See all the options in the capact environment create k3d
command documentation.
Install Capact
Once you have your local Kubernetes cluster set up, install Capact. You can choose from two types of release channels:
- Stable - refers to the official Capact releases.
- Latest - refers to the latest successful build from the commit on the Capact repository
main
branch.
tip
By default all Capact components are installed. You can disable monitoring installation to reduce time and resource consumption.
To install Capact without monitoring
, add the --install-component=capact,neo4j,ingress-nginx,argo,cert-manager,kubed
flag to the capact install
command.
- Stable
- Latest
capact install
Wait for the command to finish.
capact install --version @latest --helm-repo @latest
Wait for the command to finish.
note
You can customize the behavior with additional flags. See all the options in the capact install
command documentation.
Next steps
Configure Capact CLI to connect to your fresh local Capact installation. Follow the steps in the First use section of the CLI Getting started guide. Enjoy using Capact!
Cleanup
To remove your local Kubernetes cluster created in the Create local Kubernetes cluster section, run the following command:
danger
This command deletes the local cluster with all data, including history of executed Actions and created TypeInstances. Before running it, make sure you cleaned up all external resources (e.g. managed PostgreSQL databases) based on the TypeInstance data.
- Kind
- K3d
capact environment delete kind
capact environment delete k3d