cluster-autoscaler/cloudprovider/coreweave/README.md
The Cluster Autoscaler for CoreWeave automatically adjusts the size of your Kubernetes cluster by adding or removing nodes in CoreWeave NodePools based on pending workloads and resource utilization.
The CoreWeave provider does not require a separate cloud config file. All configuration is managed via Kubernetes CoreWeave NodePool resource and standard Cluster Autoscaler flags.
To build and test the CoreWeave provider
cluster-autoscaler binary:
make build-in-docker
To build and test the CoreWeave provider in k8s:
Build the cluster-autoscaler docker image:
REGISTRY=gcr.io/k8s-staging-autoscaling TAG=dev make make-image
Push the Docker image to your registry:
REGISTRY=gcr.io/k8s-staging-autoscaling TAG=dev make push-image
To enable the CoreWeave provider, set the following flag when running the autoscaler:
./cluster-autoscaler --cloud-provider=coreweave
When deploying the Cluster Autoscaler for CoreWeave using the provided Helm chart, you can customize its behavior using the extraArgs section in your values.yaml file.
These arguments are passed directly to the Cluster Autoscaler container.
You can deploy the Cluster Autoscaler for CoreWeave using the official Helm chart.
Below are the basic steps:
Add the Helm repository (if not already added):
helm repo add autoscaler https://kubernetes.github.io/autoscaler
helm repo update
Customize your values.yaml: (Replace image.repository and image.tag below with your registry and the tag you chose)
cloudProvider: coreweaveautoDiscovery.clusterName: cluster.localimage.tag: devimage.repository: gcr.io/k8s-staging-autoscaling/cluster-autoscaler-arm64extraArgs as shown parametersInstall or upgrade the chart:
helm upgrade --install cluster-autoscaler autoscaler/cluster-autoscaler \
--namespace kube-system \
-f values.yaml
Verify deployment:
kubectl -n kube-system get pods -l app.kubernetes.io/name=coreweave-cluster-autoscaler
For more advanced configuration, refer to the values.yaml in this repository.
Contributions are welcome! Please open issues or pull requests for bug fixes, improvements, or new features.
This project is licensed under the Apache 2.0 License.