Skip to content

Open source, Apache 2.0v0.4.9

Karpenter for Scaleway Kapsule

A Karpenter cloud provider that launches the cheapest Scaleway instance for the pods waiting to run, and removes nodes once their pods fit elsewhere. One controller, one Helm chart, no fixed node pools to size by hand.

// Install on Kapsule

helm install karpenter-scaleway \  oci://rg.fr-par.scw.cloud/karpenter-scaleway/charts/karpenter-scaleway \  --version 0.4.9 \  --namespace karpenter --create-namespace \  --set scaleway.accessKey=$SCW_ACCESS_KEY \  --set scaleway.secretKey=$SCW_SECRET_KEY \  --set scaleway.organizationID=$SCW_DEFAULT_ORGANIZATION_ID \  --set scaleway.projectID=$SCW_DEFAULT_PROJECT_ID \  --set scaleway.clusterID=$SCW_CLUSTER_ID \  --set scaleway.region=fr-par

Fixed pools, or nodes that fit

Kapsule’s autoscaler grows and shrinks the pools you defined. Karpenter decides what to launch from the pods themselves.

TopicKapsule autoscalerKarpenter provider
Instance typeOne type per pool, chosen up frontChosen per launch, from the pods waiting to run
Scaling upAdds a node to a pool you definedLaunches the cheapest instance and zone that fits
Scaling downRemoves nodes from a pool when they’re emptyMoves pods to fewer nodes, then removes the rest
New workload shapesCreate and size a new pool by handCovered by the NodePool requirements
Requested by podsPaid for, unused6 nodes billed

What the provider does

  • Cheapest fit

    Picks the cheapest instance type and zone that fits pending pods.

  • Live prices

    Reads prices from the Scaleway Product Catalog API, refreshed every 12 hours.

  • Multi-zone

    Schedules across the Scaleway zones you list, or all 9 by default.

  • Drift detection

    Replaces nodes whose instance type, zone, tags or image no longer match.

  • Block Storage aware

    Places pods with Scaleway Block Storage volumes in the zone of their volume.

  • Observable

    Opt-in Prometheus metrics, alerts and a Grafana dashboard in the Helm chart.

Get started in five steps

From an existing Kapsule cluster to your first Karpenter node. The full walkthrough is in the repository.

// IAM permission sets, scoped to the cluster’s project

  • KubernetesFullAccessCreate, list and delete pools, and read the cluster
  • InstancesReadOnlyRead server types and stock availability
  • MarketplaceReadOnlyResolve image labels, if your console offers it

Scaleway has no pool-only permission set, so KubernetesFullAccess can also delete the cluster. Scope the policy to the project and keep the key in a Kubernetes Secret.

Compatibility and limits

Kapsule
Supported
Kosmos (multi-cloud)
Experimental, not for production yet
Kubernetes
1.30 or later
Helm
3.10 or later (OCI charts)
Published builds
Binaries for linux/amd64 and linux/arm64
Scale
Up to Scaleway’s 150 pools per cluster: one pool per Karpenter node on Kapsule

Questions

Is the provider free?

Yes. It’s open source under the Apache 2.0 license, and you can run it without Costlyst.

Which Scaleway clusters are supported?

Kapsule is supported. Kosmos (multi-cloud) support is experimental, with known issues listed in the README; don’t use it in production yet.

Why does each Karpenter node get its own Kapsule pool?

Kapsule only creates nodes through pools. The provider creates a pool of size 1 for each NodeClaim, so Karpenter can pick the instance type and zone of every node independently.

What happens near Scaleway’s 150 pools per cluster?

The provider checks the remaining pool quota before launching and exposes it as metrics, so you can alert before the limit blocks new nodes.

Can I keep my existing node pools?

Yes. The controller itself runs on an existing pool, and Karpenter only manages the nodes it creates.

Does it support spot or preemptible instances?

No. The Kapsule API doesn’t expose preemptible capacity, so the provider only launches on-demand instances.

Want help rolling Karpenter out on Kapsule?