Installing Kannika Armory
This guide helps you to install Kannika Armory on your Kubernetes cluster.
Prerequisites
Before continuing with the installation, make sure you have the following tools available:
- kubectl 1.24+
- Kubernetes 1.24+
- Helm 3.9+
- A valid license key. You can request a free trial license.
See Requirements for system specifications and other requirements.
Installing Kannika Armory
Kannika Armory consists of the following components:
- The operator component, which is responsible for managing the platform.
- The API component, which provides a GraphQL and REST API for managing the platform.
- The console component, which provides a responsive user interface.
- The core component, which does the actual heavy lifting of backing up and restoring data. This does not need to be installed, as it is managed by the operator.
The easiest way to install the platform is by using the Helm chart. This will install all components at once.
Install the Custom Resource Definitions
Before installing the platform itself, you need to install the Custom Resource Definitions (CRDs) first. These are installed separately from the Helm chart to allow for a more flexible upgrade process.
Using kubectl
Using Helm
Create a namespace
Kannika Armory should be installed in its own namespace.
By convention, the namespace kannika-system
is used for this.
Install the license key
Kannika Armory requires a valid license to run.
You must store the license key in a Kubernetes secret with the type kannika.io/license
,
using the key license
.
Make sure to install it in the same namespace as the platform itself.
The operator will automatically pick up the license key and check its validity.
Install the platform using the Helm chart
Install the chart with the release name kannika
in the kannika-system
namespace:
Verifying the installation
After installing the Helm chart and waiting for a short period of time, verify that the following Deployments are running:
The output should look similar to this:
Installing components
If you want to install the components separately, or if you want to install a subset of the components, you can do so in different ways.
Enabling or disabling components
The Helm chart allows you to enable or disable components using the following settings:
api.enabled
: Enable the API component. Defaults totrue
.console.enabled
: Enable the console component. Defaults totrue
.operator.enabled
: Enable the operator component. Defaults totrue
.
For example, to install only the operator component and disable the API and console components, you can use the following command:
Installing components separately
We also provide separate Helm charts for each component. These are the same charts that are used by the main Helm chart.
Installing the operator
The operator is responsible for managing the platform. It is required for the platform to function. To install the operator separately, run the following command:
Installing the API
The API is a web API for managing all resources. It is not required for the platform to function, but is optional in case you want to manage the platform using a REST or GraphQL API.
Installing the console
The console is a web-based user interface for managing the platform. It is not required for the platform to function, but is optional in case you want to manage the platform using a web-based user interface.
Further steps
After installing Kannika Armory, you can continue with the following steps.
Expose the API and/or console
The Helm chart does not expose the API or console to the outside world. You need to set up access to the API and/or console yourself. This is usually done by setting up an ingress and an ingress controller. Since this is different for each Kubernetes cluster, we do not provide specific instructions for this.
Security is enabled by default. Please check the Security section for more details.