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

Kubernetes clusters

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

The Kubernetes cluster application is an integrated application that a service provider publishes to the application catalog. An end-user opens the application to create a Kubernetes cluster on the machines of the provider. The application builds the cluster from k3s and operates it for the user.

The application creates the cluster as a stack: one group of resources that belong together. The stack holds the state drive, the private network, the service and the public links of the cluster. UCloud/IM for Kubernetes creates and manages the machines of the stack. See Architecture.

flowchart TB
    user["End-user<br/>Personal workspace or project"]:::diagram-external-user-group
    core["UCloud/Core<br/>Web interface and APIs"]:::diagram-external-ucloud
    app["Application<br/>Kubernetes cluster application"]:::diagram-provider-puzzle-piece
    cluster["Cluster<br/>K3s on virtual machines"]:::diagram-provider-kubernetes
    clients["Client applications<br/>Reached through public links"]:::diagram-external-user-group

    user -->|"opens the application"| core
    core -->|"starts a session"| app
    app -->|"creates and maintains"| cluster
    user -->|"connects with kubectl"| cluster
    clients -->|"reach the applications of the cluster"| cluster

The systems around the Kubernetes cluster application. It does not show the parts of the application, or the parts of one cluster.

What a cluster provides

PartPurpose
Control planeAn odd number of nodes, from 1 to 7, that run the Kubernetes API server and etcd. Most clusters use 1 node or 3 nodes.
WorkersOne or more pools of worker nodes. Each pool has its own machine type and disk size. The workloads of the user run on the workers.
Kubernetes APIA public link that serves the Kubernetes API on port 6443. The user downloads a kubeconfig from the dashboard and connects with kubectl.
Cluster dashboardThe web interface of the cluster. It shows the state of the cluster, the Kubernetes resources, the maintenance operations, the backups and the permissions.
Application accessThe controller watches the Ingress resources of the cluster and creates a public link for every eligible host.
StorageThe local-path provisioner serves persistent volumes from shared storage. A volume is available from every node. See Networking and storage.
BackupsA backup coordinator takes hourly etcd snapshots. A cluster keeps up to 48 hourly and 14 daily backups. See Backup and recovery.
MaintenanceKubernetes upgrades, operating-system updates and node removal, one node at a time. An automatic policy can run them inside a time window. See Maintenance and upgrades.

Enabling the application

The provider publishes the application to the application catalog once. The provider also configures the platform for the resources that a cluster needs. The platform must offer:

  • machine types with virtual-machine support for the nodes;
  • a public link product for the Kubernetes API and the Ingress hosts;
  • a service product for the Kubernetes API and the Ingress traffic;
  • private networks, so that the nodes can reach each other on a fixed address plan;
  • a drive product that users can create for the state drive of the stack.

The provider publishes the application executable as a UCX application and signs it with the provider key. See Reference for the manifest and the publication steps.

Limits

LimitValue
Control plane nodesAn odd number from 1 to 7
Nodes in total256
Cluster IDAt most 30 characters from a-z, 0-9 and -
Worker pool namesAt most 30 characters from a-z, 0-9 and -
Disk per nodeFrom 10 GB to 1024 GB

The Reference holds the full set of limits.

What the application does not do

  • It does not manage the workloads that run on the cluster. The user owns the workloads, the Kubernetes objects and the applications that Ingress exposes.
  • It does not use the Kubernetes cluster of the provider. It creates a separate cluster on virtual machines.
  • It does not upgrade the nodes before the provider or the user enables maintenance.

Troubleshooting

SymptomChecks
The cluster stays in the provisioning phaseCheck the jobs of the nodes and their logs. Check that the state drive and the node input files exist, and that the machines can pull the image.
The cluster enters the error phaseRead the failure reason on the dashboard home page. The cluster record holds the same reason.
The cluster stays in the cleanup-pending phaseRead the pending resources on the dashboard home page or the provisioning view. The application retries the cleanup. You can also remove the listed job or reservation yourself. Maintenance, backup and recovery stay available.
kubectl cannot connectCheck the API public link, the service of the cluster, and the members of the service. See Networking and storage.
An application is not reachableCheck the Ingress host, the public link of the host, and the controller log. See Networking and storage.
A node never becomes readyCheck the join tokens in the node input, the k3s unit on the node, and the node agent.
A backup does not runCheck that a control plane node is reachable and that the node agent answers. See Backup and recovery.
Automatic maintenance does not runCheck the policy, the window and the checks on the dashboard page. See Maintenance and upgrades.

Next steps

  • Architecture describes the processes, the machines and the stack KV-state.
  • Creating a cluster describes the deployment and the start of a cluster.
  • Cluster dashboard describes the web interface of a cluster.
  • Networking and storage describes the address plan, the public links and the files of a cluster.
  • Maintenance and upgrades describes the node operations, the rolling upgrade and the automatic policy.
  • Backup and recovery describes the backups and the disaster recovery.
  • Reference holds the limits, the ports, the records of the stack KV-state and the deployment details.
Previous Integrated terminal
Next Architecture