Obtaining the Kubernetes the 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.
-
Obtain the Kubernetes configuration file.
Execute the following command in the folder where the eda-assets-deployment.yaml file is stored.
edaadm get-kubeconfig -c eda-assets-deployment.yaml
The command creates a kubeconfig file in the folder with the name of your cluster according to the EDAADM config file. -
Configure the Kubernetes configuration file in our environment.
Use the kubeconfig file for use with the kubectl command.
export KUBECONFIG=eda-airgap-assets/kubeconfig
-
Inspect your server and check if all nodes are up and running.
You can use the typical
kubectl
commands.kubectl get nodes
When the node is up and ready, continue with Deploying the Assets VM services.