Obtaining the Kubernetes config file for kubectl
Use the talosctl command to obtain the Kubernetes configuration file
for use with kubectl. The following parameters are relevant for this procedure:
For more command options, execute --talosconfig
: Specifies the talosconfig.yaml file generated by the edaadm tool.-m
: Specifies merge the configuration with the standard~/.kube/config
file. This argument is optional.-n
: Specifies the VIP address of your Kubernetes cluster.-e
: Specifies another VIP address of the Kubernetes cluster.
talosctl kubeconfig
--help
.-
Obtain the Kubernetes configuration file.
talosctl kubeconfig \ --talosconfig path/to/talosconfig.yaml \ -m \ -n 192.0.2.5 \ -e 192.0.2.5
-
Inspect your server and check if all nodes are up and running.
You can use the typical
kubectl
commands.kubectl get nodes