UCloud logo UCloud logo UCloud
v2026.7.0-k8s.18
  1. UCloud/Core
  2. 1. Introduction
  3. 2. Projects
  4. 3. API Tokens
    1. 3.1. Platform API Tokens
    2. 3.2. Provider API Tokens
  5. 4. Accounting
  6. 5. Orchestration
  7. 6. Frontend
  8. UCloud/IM for Slurm-based HPC
  9. 7. Installation
  10. 8. Architecture and Networking
  11. 9. User and Project Management
  12. 10. Filesystem Integration
    1. 10.1. Inter-provider file transfers
  13. 11. Slurm Integration
    1. 11.1. Application Management
    2. 11.2. Built-in Applications
  14. 12. Reference
    1. 12.1. Configuration
    2. 12.2. CLI
  15. 13. Appendix
    1. 13.1. Built-in Application Index
  16. UCloud/IM for Kubernetes
  17. 14. Installation
  18. 15. Architecture and Networking
  19. 16. Filesystem Integration
  20. 17. Compute Jobs
    1. 17.1. Networks
    2. 17.2. Public Links
    3. 17.3. Public IPs
    4. 17.4. License Servers
    5. 17.5. SSH Servers
    6. 17.6. Job Audit Log
    7. 17.7. Virtual machines
  21. 18. AI Inference
    1. 18.1. Architecture
    2. 18.2. Chat Middleware
    3. 18.3. Chat Playground
    4. 18.4. Model Discovery and Catalog
    5. 18.5. Dynamo Deployments
    6. 18.6. Usage and Accounting
    7. 18.7. Audit
    8. 18.8. Metrics
    9. 18.9. Security
  22. 19. Integrated applications
    1. 19.1. Syncthing
    2. 19.2. Integrated terminal
    3. 19.3. Kubernetes clusters
      1. 19.3.1. Architecture
      2. 19.3.2. Stacks
      3. 19.3.3. Creating a cluster
      4. 19.3.4. Cluster dashboard
      5. 19.3.5. Networking and storage
      6. 19.3.6. Maintenance and upgrades
      7. 19.3.7. Backup and recovery
      8. 19.3.8. Reference
  23. 20. UCX applications
    1. 20.1. Hello world
    2. 20.2. Data binding
    3. 20.3. UI events
    4. 20.4. Component reference
    5. 20.5. API reference
  24. 21. Reference
    1. 21.1. Configuration
    2. 21.2. CLI
  25. Style guidelines
  26. 22. Branding and identity for UCloud
  27. 23. Documentation
  28. H: Procedures
  29. 24. H: Procedures
  30. 25. H: Introduction
  31. 26. H: Auditing
  32. 27. H: Auditing scenario
  33. 28. H: GitHub actions
  34. 29. H: Deployment
  35. 30. H: 3rd party dependencies (risk assesment)
  36. Glossary
  37. 31. Glossary
  1. Links
  2. Source Code
  3. Releases

Reference

The Kubernetes cluster application is a pre-release. It is not ready for production use, and the behavior and the interfaces can change.

This page holds the values that an operator needs: the limits, the ports, the releases, the records of the stack KV-state, the files and the deployment details of the Kubernetes cluster application.

Limits

ItemLimit
Cluster IDAt most 30 characters from a-z, 0-9 and -. It must not start with control-plane.
Worker pool nameAt most 30 characters from a-z, 0-9 and -. The name must be unique and it must not be control-plane.
Control plane nodesAn odd number from 1 to 7.
Nodes in total256.
Disk per nodeFrom 10 GB to 1024 GB.
Machine providerAll machines of a cluster come from one provider. The provider must also run the cluster.
Machine typeThe machine type must support virtual machines.

Maintenance bounds

ItemValue
Timeout of an operation30 seconds to 3600 seconds
Stale heartbeat2 minutes
Rolling upgradeOne node at a time in each group. The control plane upgrades first.
Control plane spreadThe control plane nodes stay within one minor release of each other.
Worker spreadA worker may not run a newer minor release than the oldest control plane node, and it may be at most three minor releases behind the newest control plane node.
Upgrade stepA forward patch of the same minor release, or the next minor release.
Node removalThe cluster keeps at least two control plane nodes, and only one removal runs at a time.
Automatic window4 hours. The default start is 02:00 UTC.
Automatic backup age1 hour by default.

Ports

PortServesOn
6443Kubernetes APIControl plane nodes
30080Ingress trafficThe ingress service, on the control plane nodes
43102Cluster dashboardControl plane nodes
43103Recovery applicationThe recovery job
9444Maintenance API of the node agentEvery node, on its private address

Kubernetes releases

The application holds a catalog of pinned k3s releases. A release records the exact version, the SHA-256 checksum for amd64 and arm64, the date it becomes available (14 months), the date its support ends, and the channel.

ReleaseChannelAvailable fromSupport ends
v1.36.4+k3s1stable22 April 202622 June 2027
v1.35.8+k3s1stable17 December 202517 February 2027
  • A new cluster selects a release that is inside its support window. When no release qualifies, the application falls back to the stable releases.
  • An upgrade selects a forward patch of the same minor release, or the next minor release. The automatic maintenance selects the highest supported release that every node can reach in one step.
  • The catalog is compiled into the application. A new release becomes available with a new version of the application.

Stack KV-state

The stack KV-state holds one value per key, and every key has a revision. Every write names the revision that the writer read, and a write that meets a newer revision fails. The application then retries from the new value. Stacks describes the store that keeps the records and the way the processes reach them.

KeyRecord
cluster/recordThe cluster record: the phase, the nodes, the pools, the provider, the network, the service, the bundle and the next node number.
maintenance/nodes/<node name>The maintenance operation of one node.
maintenance/rolling-upgradeThe active rolling upgrade.
maintenance/auto/policyThe policy of the automatic maintenance.
maintenance/auto/stateThe state and the reports of the automatic maintenance.
traffic/stateThe traffic record.
backup/stateThe schedule and the attempts of the backup coordinator.
backup/requestA manual backup request.
recovery/stateThe active recovery and its stage.

Every record carries a schema revision. The application rejects a record that an incompatible version of the application wrote.

Stack files

PathContentMode
management/kubeconfigThe public kubeconfig.0600, owner 11042
management/kubeconfig-internalThe kubeconfig for the dashboard service.0600, owner 11042
management/kube-api-tokenThe administrator token.0600
management/tokens/serverThe published join token of the control plane.0600
management/tokens/agentThe published join token of the workers.0600
management/maintenance-tokens/<hostname>The enrollment secret of one node.0600
management/kubeconfig.tplThe template of the public kubeconfig.0660
nodes/<number>/input/node.jsonThe description of the node: role, name, address, release, checksums, subnets.0660
nodes/<number>/input/server-tokenThe join token of the control plane. The first control plane node only.0600
nodes/<number>/input/agent-tokenThe join token of the workers. The first control plane node only.0600
nodes/<number>/input/server-token.caThe published join token of the control plane.0600
nodes/<number>/input/agent-token.caThe published join token of the workers.0600
nodes/<number>/input/controller-tokenThe registration token of the controller. Control plane nodes only.0600
nodes/<number>/input/maintenance-enrollment-secretThe enrollment secret of the node agent.0600
nodes/<number>/input/stack-identity.jsonThe stack, the provider and the owner of the node.0600
nodes/<number>/input/decommissionedThe marker that stops a node from starting k3s again.0600
bundles/<revision>/<release>/The bootstrap scripts of one release and one script revision.0550
backups/<backup id>/snapshotThe etcd snapshot.0600
backups/<backup id>/credentials/The join tokens of the backup.0600
backups/<backup id>/metadata.jsonThe metadata of the backup.0600
k3s-storage/The persistent volumes of the workload.-
vm-disks/<hostname>/The disk of one virtual machine.-

Credentials

CredentialWhere it livesLifetime
Join token of the control planeThe input of the first control plane node, then management/tokens/serverThe lifetime of the cluster.
Join token of the workersThe input of the first control plane node, then management/tokens/agentThe lifetime of the cluster.
Administrator tokenmanagement/kube-api-token and both kubeconfigsIt does not expire.
Controller registration tokenThe input of a control plane node, then /var/lib/ucloud-k8s/controller/tokenThe lifetime of the cluster.
Maintenance enrollment secretThe input of the node, then management/maintenance-tokens/<hostname>The lifetime of the cluster.

The administrator token belongs to the admin service account in the default namespace, which has the cluster-admin role. Anyone who reads the token has full access to the cluster. The application does not rotate the credentials of a cluster.

Job labels

LabelValueOn
ucloud.dk/k8s-node-groupThe name of the pool, or control-plane.Every node
ucloud.dk/k8s-node-idThe node number.Every node
ucloud.dk/k8s-versionThe target k3s release of the node.Every node
ucloud.dk/stack-instanceThe identifier of the stack.Every resource of the stack
ucloud.dk/stack-controllertrue.Control plane nodes
ucloud.dk/k8s-topology-operationThe identifier of the scale-out operation.A node created by a scale-out

Application manifest

The application is one manifest and one signed executable. The manifest holds:

FieldMeaning
applicationThe manifest format, v2.
name, versionThe identifier and the version of the application in the catalog.
title, descriptionThe name and the description that the catalog shows.
software.typeUCX.
software.imageThe image that hosts the application session.
ucx.executable.manifestUrlThe URL of the signed executable manifest.
ucx.executable.publicKeyThe public key of the provider. The platform verifies every delivery with it.
ucx.executable.binaryNameThe name of the executable, k8s-app.
ucx.disasterRecoveryThe recovery job: its image, its resources, its arguments (recovery) and its port (43103).

Deployment

  1. Generate the signing keys of the provider once:

    ucloud ucx-keygen --private ucx-keys/key.priv --public ucx-keys/key.pub
    
  2. Put the public key into the manifest (ucx.executable.publicKey) and upload the manifest through the application studio as an administrator.

  3. Build, sign and publish the executable:

    ucloud ucx-sign --binary bin/k8s-app --private-key ucx-keys/key.priv \
        --provider-domain <domain> --app-name kubernetes --app-version <version>
    ucloud ucx-publish kubernetes <version> ./bin
    
  4. Open the application once, so that the platform registers it.

The provider must also offer the resources that a cluster needs: machine types with virtual-machine support, a public link product, a service product, private networks, and a drive product that users can create. See Enabling the application.

Previous Backup and recovery
Next UCX applications