Setting up the prerequisites¶
This guide describes how to install the prerequisites required to deploy Carbyne Stack.
Warning
Carbyne Stack has been tested using the exact versions of the tools specified below. Deviating from this battle tested configuration may create all kinds of issues.
Prerequisites¶
This part of the tutorial is developed and tested with Ubuntu 22.04. Please refer to this link for Ubuntu installation steps.
Platform Setup Prerequisites¶
Software to be installed throughout this tutorial step:
- go 1.18
- Docker Engine v25.0.5
- Kind v0.17.0
- kubectl v1.26.1
- Helm v3.11.1
Please set the following software version strings before you continue with our installation instructions.
export go_ver=1.18
export dock_ver=5:25.0.5-1~ubuntu.22.04~jammy
export kind_ver=0.17.0
export kub_ver=1.26.1
export helm_ver=3.11.1
go¶
The go language is a prerequisite for the Kind package. In this guideline go 1.18 will be installed. Detailed installation instructions for go can be found here. Alternatively, you can install go by following the instructions below.
-
Download go language for Linux.
-
Extract to
/usr/local
. You may need to provide the password for sudo permissions. -
Check if there is a
go
folder in/usr/local
. -
Update
PATH
for go with the commands below. -
Verify if
PATH
is updated. Now go is successfully installed.
Docker Engine¶
Detailed installation instructions for Docker Engine can be found here. Alternatively, you can install Docker Engine by following the instructions below.
-
Update repository index and install dependencies.
-
Add Docker’s official GPG key.
-
Set up the stable repository.
-
Install Docker Engine with the commands below.
-
Manage Docker as a non-root user.
-
Verify the installation.
Kind¶
Detailed installation instructions for Kind can be found here. Alternatively, you can install Kind by following the instructions below.
-
Install Kind
-
Add the local go path to
PATH
. You may have a different go path. Please checkGOPATH
withgo env
and replace~/go
in the below command with yourGOPATH
. -
Verify Kind installation.
kubectl¶
Detailed installation instructions for kubectl can be found here. Alternatively, you can install kubectl by following the instructions below.
-
Download kubectl
-
Install kubectl with the command below.
-
Verify the installation.
Helm¶
Detailed installation instructions for the Helm package manager can be found here. Alternatively, you can install Helm by following the instructions below.
-
Download the Helm package manager.
-
Unpack the downloaded compressed file.
-
Move the unpacked content (the
helm
file) toPATH
. -
Verify your installation.
Stack Deployment Prerequisites¶
Software to be installed:
- Helmfile v0.142.0
- Helm Diff Plugin v3.1.3
- OpenJDK 8
Please set the following software version strings before you continue with our installation instructions.
Helmfile¶
Detailed installation instructions for the Helmfile package can be found here. Alternatively, you can install Helmfile by following the instructions below.
-
Download the Helmfile package.
-
Give execution permission to Helmfile.
-
Move Helmfile to
PATH
. -
Verify your installation.
Helm Diff Plugin¶
Detailed installation instructions for the Helm Diff plugin can be found here. Alternatively, you can install Helm Diff by following the instructions below.
-
Download Helm Diff plugin compressed file.
-
Unpack the compressed file.
-
Put the unpacked contents into the helm plugins folder. You may have a different folder. Please check
HELM_PLUGINS
withhelm env
command. Please create the folders if they do not exist. Note that thediff
folder must not exist in the helm plugins folder before executing the command below. -
Verify your installation.
OpenJDK¶
Tip
For easy installation and management of parallel JDK versions check sdkman.
Detailed installation instructions for OpenJDK can be found here. Alternatively, you can install OpenJDK by following the instructions below.
-
Install with the command.
-
Verify your installation.