Review the supported cluster configurations and select your desired cluster configuration. The cluster configuration will determine the number of servers you need to prepare before you can provision a Kubernetes cluster.
A number of defaults are automatically selected and presented. A number of options are available for customization
Geo Location
Specify a location for the cluster (for multi cluster workflows)
Cluster Blueprint
Select cluster blueprint and version. Users can select the default-upstream blueprint based on the requirement. To use the default-upstream blueprint, a storage node is mandatory
Note: On Day 1 operation, you can select any blueprint other than default-upstream if storage node is not available
Kubernetes Version
Select the Kubernetes version required to deploy. For arm worker nodes, the supported k8s version is always 1.20 onwards and the supported Operating System is Ubuntu
On upgrading k8s version to v1.26, containerd version is upgraded to 1.6.10
The Cluster Settings let users add their custom Cluster Labels needed during cluster provisioning. Include either Key-Value Labels or simply Key-Only Labels. You can also select the existing labels from the drop-down as shown below
Users can set the storage provider details along with the cluster creation process only when selecting a blueprint other than default-upstream. This is because no storage providers are integrated to those blueprint options.
Security
By default, as a security precaution, nodes need to be approved before it is allowed to join a cluster. Auto Approval of nodes is available and this can help streamline the cluster provisioning and expansion workflows.
Enable "Approve Nodes Automatically" if you do not require an approval gate for nodes to join the cluster
Kubernetes Masters
Select Multi Master if you need a highly available k8s master configuration
Select Dedicated Master if want the k8s masters to be tainted to not allow workload pods
HTTP Proxy
Select "Enable Proxy" if the infrastructure being used to provision the cluster is behind a forward proxy.
Review the Node Installation Instructions section on the Console
Download the cluster bootstrap binary (i.e. Conjurer)
Download the cluster activation secrets (i.e. passphrase and credential files)
SCP the three (3) files to the nodes you created in the previous step
Important
Note that the activation secrets (passphrase and credentials) are unique per cluster. You cannot reuse this for other clusters.
An illustrative example is provided below. This assumes that you have the three downloaded files in the current working directory. The three files will be securely uploaded to the “/tmp” folder on the instance.
$ scp -i <keypairfile.pem> * ubuntu@<Node's External IP Address>:/tmp
It is strongly recommended to perform the automated preflight tests on every node to ensure that the node has "compatible" hardware, software and configuration. View the detailed list of preflight checks.
SSH into the node and run the installer using the provided passphrase and credentials.
From the node installation instructions, copy the preflight check command and run it
If there are no errors, proceed to the next step
If there are warnings or errors, fix the issues, run the preflight check before proceeding to the next step
Conjurer is a “cluster bootstrap agent” that connects and registers the nodes with the Controller. Information about the Controller and authentication credentials for registration is available in the activation secrets files.
Once this step is complete, the node will show up on the Web Console as DISCOVERED.
This is an optional step that acts as a security control to ensure that administrators can review and approve a node before it can become part of the cluster.
Click on Approve button to approve the node to this cluster
In a few seconds, you will see the status of the node being updated to “Approved" in the Web Console
Once approved, the node is automatically probed and all information about the node is presented to the administrator on the Web Console.
At this point, we have provided everything necessary where the Controller can start provisioning Kubernetes and all required software add-ons. These will be automatically provisioned and configured to operationalize the cluster.
Click on Provision
A progress bar is displayed showing progress as the software is downloaded, installed and configured on all the nodes.
Important
The end-to-end provisioning process can take ~10 minutes and is dependent on the number of nodes you are provisioning and the Internet bandwidth available to your nodes to download necessary software.
Once the "minion/node agent" installed on the node by conjurer successfully and is registered with the controller, it establishes a "long running" web socket with the controller providing "continuous updates" to the controller about progress and status. This information is then presented to authorized administrators via the Console for insights. Optionally, administrators can also view the logs generated by the minion/node agent for detailed visibility.
Althought "conjurer" provides a built in battery of "preflight tests" that can be used to verify the environment and configuration, there are some scenarios where provisioning can fail.
If your instances (for the nodes) have a host firewall such as firewalld or iptables rules, it may be silently dropping all packets destined for the Controller. This will result in provisioning failure. Ensure that the host firewall is configured to allow outbound communications on tcp/443 to the controller.
The Maximum Transmission Unit (MTU) is the largest block of data that can be handled at Layer-3 (IP). MTU usually refers to the maximum size a packet can be. Certain MTU/MSS settings can result in fragmentation related issues with mTLS connections between the agents and the controller.
Unstable or unreliable network connectivity. Remote cluster provisioning in remote, low bandwidth locations with unstable networks can be very challenging. Please review how the retry and backoff mechanisms work by default and how they can be customized to suit your requirements.