Skip to main content

Scaleway Kapsule

@sntxrr/scaleway-kapsulev2026.07.19.1· 6d agoMODELS
01README

Manage a Scaleway Kubernetes Kapsule cluster — sync state, create, update, upgrade, and delete clusters, discover clusters and node pools in a region, and fetch the kubeconfig, via the Kubernetes API with X-Auth-Token auth.

02Models1
@sntxrr/scaleway-kapsulev2026.07.19.1scaleway_kapsule.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the Kapsule cluster.
regionstringRegion, e.g. fr-par, nl-ams, pl-waw.
clusterId?stringID of the Kapsule cluster this model manages. Optional — `create`
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the Kapsule cluster's current state (GetCluster).
fn create(name: string, version: string, cni: string, type?: string, description?: string, tags?: array, pools?: array)
Provision a new Kapsule cluster (CreateCluster) and snapshot it.
ArgumentTypeDescription
namestringName of the new Kapsule cluster.
versionstringKubernetes version for the cluster, e.g. 1.30.2.
cnistringContainer Network Interface plugin, e.g. cilium, calico, flannel.
type?stringCluster type (offer), e.g. kapsule, kapsule-dedicated-4. Optional.
description?stringOptional human-readable description of the cluster.
tags?arrayTags to attach to the new cluster.
pools?arrayInitial node pools to create with the cluster.
fn update(name?: string, description?: string, tags?: array)
Mutate a cluster's mutable fields (UpdateCluster).
ArgumentTypeDescription
name?stringNew name for the cluster.
description?stringNew human-readable description of the cluster.
tags?arrayReplacement set of tags for the cluster.
fn upgrade(version: string, upgradePools: boolean)
Upgrade the cluster to a target Kubernetes version (UpgradeCluster).
ArgumentTypeDescription
versionstringTarget Kubernetes version to upgrade the cluster to, e.g. 1.31.0.
upgradePoolsbooleanWhether to also upgrade the cluster's node pools to the target version.
fn delete()
Deprovision the Kapsule cluster (DeleteCluster).
fn list()
Discover all Kapsule clusters in the region (factory).

Resources

cluster(infinite)— Snapshot of the Kapsule cluster's state
pool(infinite)— Snapshot of a Kapsule node pool
kubeconfig(infinite)— Snapshot of a cluster kubeconfig (sensitive; cluster-admin credentials)
03Previous Versions1
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
13.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels