Skip to main content

Scaleway Kapsule

@sntxrr/scaleway-kapsulev2026.10.14.1· MIT(was none)· 12d agoBEHAVIORS
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.

02Release Notes

Declare SPDX license (MIT) in manifest.

03Behaviors1
@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.
region?stringRegion, 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.
cni?stringContainer 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.
upgradePools?booleanWhether 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).
fn list-pools()
Discover all node pools attached to this cluster (factory).
fn get-kubeconfig()
Fetch the cluster's kubeconfig (base64) and store it in a sensitive snapshot.

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)
04Previous Versions2
2026.07.19.1
2026.07.18.1
05Stats
A
100 / 100
Downloads
27
Archive size
11.4 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
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels