Obtaining the Kubernetes config file for kubectl

Use the edaadm command to obtain the Kubernetes configuration file for use with kubectl. The following parameter is relevant for this procedure:

-c: Specifies your EDAADM configuration file.

  1. Obtain the Kubernetes configuration file.
    Execute the following command in the folder where the eda-input-6-node.yaml is stored, as well as where the folder with the Talos configuration files was executed:
    edaadm get-kubeconfig -c eda-6-node-deployment.yaml
    The command creates a ​kubeconfig​ file in the folder with the name of your cluster according to the EDAADM config file.
  2. You can configure your environment to use the ​kubeconfig​ file for use with the kubectl command.
    export KUBECONFIG=eda-compute-cluster/kubeconfig
  3. Inspect your server and check if all nodes are up and running.
    You can use the typical kubectl commands.
    kubectl get nodes
When all the nodes are up and Kubernetes is stable, continue with Setting up the Rook Ceph storage cluster.