kubectl, and API Access Tokens are used for programmatic access to CoreWeave Cloud applications such as Prometheus.
kubectlon your Linux system by downloading the binary.
kubectlbinary downloaded, install it by first making the binary executable:
kubectlcan be installed by using the following the command:
kubectlinstalled and the Kubeconfig file is generated and downloaded, you can begin to use CoreWeave's Kubernetes infrastructure! To copy and merge the Kubeconfig file, you can run the following commands using
~/.kube/config, which is the default Linux filepath that Kubernetes uses to source configuration settings.
~/.kube/configwith one of the following, and be sure to replace the
~/Downloadspath in this example with the actual location of your downloaded Kubeconfig file, and the default path with the one applicable to your system.
secretsis a good way to test that proper communication with the cluster is in place. To verify your CoreWeave Kubernetes configuration using
kubectl, invoke the following commands.
secrets, such as: