Choose your installation method
Before installing the application, you'll have to choose between three installation types:
- Embedded Cluster,
- Existing Cluster using KOTS,
- Existing Cluster using Helm.
This guide will explain the differences between these methods and help you decide which is the best for your needs.
What is an embedded cluster installation
The Embedded Installation is an "all in one" installation, where the Kubernetes cluster is created on your machine and all components needed for the application are installed.
You can find more details about Embedded Cluster Installation in the Replicated documentation.
What is an existing cluster installation
You can install the application on an existing Kubernetes cluster that already contains nodes. You have to check that this cluster meets the system and network requirements.
You can find more details about Existing Cluster Installation in the Replicated documentation
If you plan to install GitGuardian on an OpenShift cluster, please refer to the detailed guidelines for OpenShift cluster installation.
On existing clusters, you can choose between two installation methods:
Existing cluster installation using KOTS
With this installation method, you'll use the Web KOTS Admin Console
provided
by Replicated. This interface will allow you to configure, deploy, backup and
troubleshoot your application without writing code.
This installation is also referred as KOTS-based installation.
Existing cluster installation using Helm
Helm is a package management tool for Kubernetes clusters. It allows fine-tuning the configuration through a YAML file that can be versioned in a Git Repository. It also integrates well with CD tools like Argo CD.
This installation is also referred as Helm-based installation.
How to choose between these options
Before installing the application, you'll have to reply to some considerations:
- do you possess the necessary resources and expertise to manage your Kubernetes cluster?
- do you have security policies in place in your Kubernetes cluster?
- do you have the expertise and resources to handle your own databasess?
- do you lean towards a user-friendly web UI or prefer configuring as code?
- will you require fine-tuning of the application?
If you already have a Kubernetes cluster, that is running different applications, with precise management and security policies and a dedicated maintainer in your teams, you should use the existing cluster installation using KOTS or the existing cluster installation using Helm. Please, note you will also need access to a Postgres and Redis databases.
While KOTS Admin Console is well suited where you won't need to fine-tune the application, Helm installation will offer more configuration options and will be more easily integrated into automation pipelines. Choosing between these 2 installation methods also depends on your processes and resources. Web UI doesn't require specific knowledge as Helm does.
If you don't have resources dedicated to the maintenance of a Kubernetes cluster and databases, prefer the embedded installation. However, please note that embedded installations are not recommended for production use and are better suited for trial or Proof of Concept (PoC) purposes.
Using external databases
For both solutions, you can use databases external from your Kubernetes cluster. The database preparation section will help you correctly configure them for your environment.
If you are using external databases, remember to open ports between the GitGuardian application cluster and your databases.