Skip to content

2. Prerequisites

The following prerequisites are required to initiate and complete the cluster creation process.

GPG key

Make sure you have your own GPG key. To list existing keys, run gpg --list-keys

If you don't have any keys, create a new one with gpg --gen-key

Create a new GitHub repository

Go to and create a new private or internal git repository.

ℹ This repository will be used by okctl to store infrastructure-as-code, which means files containing various configuration for your up-and-coming cluster.

Now, run:

# Clone the repository you just made
git clone<the new repository>.git
cd <the new repository>

Prepare information for cluster creation

ℹ A "cluster" is a Kubernetes cluster in an environment as described in Compare and contrast.

You will soon be creating a cluster, which will ask you for the following information:

  • Username and password: This is your Oslo Kommune AD organization username (oooXXXXX) and its password.
  • Multi factor token (MFA): The same one you use to login to AWS. If you haven't set up MFA yet, you can do that here.
  • AWS account ID: This identifies which account you want to use. You can see which accounts you have access to just after logging in to AWS:


Last update: 2021-09-30