Set the default kubeconfig file for Qubernetes projects
You can set a default kubeconfig file for Qubernetes projects by adding the kubeconfig field to the Q8Sproject file. This field specifies the path to the kubeconfig file to use when running jobs on the Qubernetes cluster.
Q8Sproject
name: project-with-default-kubeconfig
kubeconfig: /path/to/kubeconfigYou can override the default kubeconfig file by specifying the --kubeconfig flag when running Qubernetes commands.
user@host:~$ q8sctl execute \
--kubeconfig /path/to/other/kubeconfig \
--target gpu \
demo.pyor for Jupyter:
user@host:~$ q8sctl jupyter \
--kubeconfig /path/to/other/kubeconfig
--target gpu