LinuxCommandLibrary

exo-compute-sks

Manage Exoscale SKS clusters

TLDR

List the supported SKS cluster versions

$ exo compute sks versions
copy

Create a new SKS cluster
$ exo compute sks create [cluster_name] [[-z|--zone]] [zone]
copy

List all SKS clusters
$ exo compute sks list
copy

Generate a Kubernetes kubeconfig file for an SKS cluster that expires in 1800 seconds
$ exo compute sks kubeconfig [cluster_name|id] [user] --ttl 1800 [[-z|--zone]] [zone]
copy

Create and add a Nodepool containing 3 nodes to an SKS cluster
$ exo compute sks nodepool add [cluster_name|id] [nodepool_name] --size 3 [[-z|--zone]] [zone]
copy

Remove a Nodepool from an SKS cluster
$ exo compute sks nodepool delete [cluster_name|id] [nodepool_name|id]
copy

Evict a Node from a Nodepool in an SKS cluster
$ exo compute sks nodepool evict [cluster_name|id] [nodepool_name|id] [node_name|id]
copy

Enable the Exoscale CSI driver for an existing SKS cluster
$ exo compute sks update [cluster_name|id] --enable-csi-addon [[-z|--zone]] [zone]
copy

SYNOPSIS

exo compute sks <COMMAND> [flags]

PARAMETERS

--zone ZONE
    Exoscale zone (e.g., ch-dk-2, default: current zone)

--output FORMAT
    Output format: table (default), json, yaml

--kube-version VERSION
    Kubernetes version for cluster creation

--nodepool-name NAME
    Name for nodepool in create/update

--nodepool-size SIZE
    Number of nodes in nodepool (create/update)

--instancepool-id ID
    Instance pool ID for anti-affinity

--debug
    Enable debug logging

--help, -h
    Show help

DESCRIPTION

The exo compute sks command is a subcommand of the Exoscale CLI (exo), designed for managing Scalable Kubernetes Service (SKS) clusters on the Exoscale cloud platform. SKS provides fully managed Kubernetes clusters with automated upgrades, scaling, and high availability.

It enables operations such as listing existing clusters, creating new ones with custom configurations (nodes, versions), updating cluster specs, deleting clusters, and retrieving kubeconfig files for kubectl access. Users specify zones like ch-dk-2 or de-mla-1, select Kubernetes versions, and configure nodepools.

Ideal for DevOps teams automating Kubernetes deployments, it integrates seamlessly with Exoscale's IaaS features like load balancers and block storage. Output supports table or JSON formats for scripting. Requires authentication via Exoscale API keys.

CAVEATS

Requires Exoscale account and CLI authentication via exo account login. Not all zones support all K8s versions. Cluster creation can take 10-20 minutes.

SUBCOMMANDS

list - List all SKS clusters
create - Create new SKS cluster
get - Show cluster details
kubeconfig - Download kubeconfig
delete - Delete cluster

AUTHENTICATION

Run exo account login first. Uses API keys from Exoscale portal.

HISTORY

Introduced in Exoscale CLI v1.0 (2020) alongside SKS launch. Enhanced in v1.20+ with nodepool autoscaling and private networking support.

SEE ALSO

exo(1), kubectl(1), k9s(1), helm(1)

Copied to clipboard