Installation on OpenShift
This guide helps you to install Kannika Armory on OpenShift.
Prerequisites
Before continuing with the installation, make sure you have the following tools available:
- oc OpenShift CLI
- OpenShift
- 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 oc
Using Helm
Create a project
Kannika Armory should be installed in its own project.
By convention, the project 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.
Define the security settings
Since OpenShift is by default a more secure environment than Kubernetes, you may need to adjust the security settings in the Helm chart.
Here is an example Helm configuration values.yaml
that sets the security context for all components,
and some other sensible defaults:
Based on the Security Context Constraints of your OpenShift cluster, you may need to adjust these values.
It is also possible to define the settings for each Backup Pod or Restore Pod pod separately.
Install the platform using the Helm chart
Install the chart with the release name kannika
in the kannika-system
project:
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: