Bootstrap the Talos Kubernetes cluster#
When all the virtual machines are deployed and running, you can set up the Kubernetes cluster on the virtual machines using Talos.
Note
The procedures in this chapter use the edaadm
command. Ensure that the command is available, as well as the original EDAADM configuration file from which you generated Talos files.
Bootstrapping Kubernetes on the primary node#
After booting the Talos VMs, you can now bootstrap the Kubernetes cluster using the edaadm
command.
Execute the following command:
-c
: Specifies the EDAADM configuration file.
Wait for several minutes for the Kubernetes cluster to come up and for all the nodes join the cluster. The process should take less than 15 minutes.
Obtaining the Kubernetes config file for kubectl#
Use the talosctl command to obtain the Kubernetes configuration file for use with kubectl.
Obtain the Kubernetes configuration file with:
-c
: Specifies the EDAADM configuration file.
You can configure your environment to use the kubeconfig
file for use with the kubectl command.
Inspect your k8s cluster and check if all nodes are up and running.
When all the nodes are up and Kubernetes is stable, continue with Setting up the Rook Ceph storage cluster.
Setting up the Rook Ceph storage cluster#
EDA uses Rook Ceph as a secure, distributed, and redundant data store for all the data it stores. Using Ceph guarantees redundancy and high availability of all data by providing multiple copies of all data. The following steps guide you through the configuration and deployment of Rook Ceph.
-
Add the Rook Ceph Helm chart.
Caution
Only do this step for an Internet based installation, not for an Air-Gapped installation.
-
Using the
rook-ceph-operator-values.yaml
file that edaadm generated based on the configuration, deploy the Rook Ceph Operator. -
Using the
rook-ceph-cluster-values.yaml
file that theedaadm
tool generated, deploy the Rook Ceph Cluster.The output from this command can report missing CRDs; wait until the Rook Ceph Operator is running in the Kubernetes cluster.
-
Using
kubectl
commands, verify that the operator is deployed and the necessary pods are deployed before installing the EDA application. This example is for a six-node cluster, with six storage nodes.Note
Some of the pods may restart as they initiate Ceph. This behavior is expected.