Platform

Kubernetes

Build a Kubernetes cluster on servers CloudOps manages, or register a cluster you already run read-only with one command, and see its live state in the console.

Two ways in

Open Compute → Kubernetes. You can bring a cluster into CloudOps in two ways:

  • Create Cluster builds a new cluster on servers and VMs that CloudOps manages. CloudOps installs Kubernetes with Kubespray, and can then scale, upgrade and destroy it.
  • Register Existing (read-only) connects a cluster you already run, wherever it runs. CloudOps reads its live state and never changes it.

Both kinds appear in the same list, with their region, version, CNI, status and node count. A registered cluster carries an Observe badge.

Create a cluster

Pick the region in the console header first: a cluster lives in one region, and the form offers only that region's machines. Then press Create Cluster. The form has four steps.

  1. Basics: a cluster name, an optional description, and the Kubernetes version (1.32 to 1.34). Names are unique in your account, whatever the case.
  2. Node Selection: under Available Servers, press CP to add a server as a control-plane node, or Worker to add it as a worker. You need at least one of each, on different machines. Offline servers and servers already in another cluster cannot be picked.
  3. Configuration: the CNI plugin (Calico, Flannel or Cilium), the kube-proxy mode (IPVS or iptables), the pod CIDR, service CIDR and DNS domain, and the addons. Helm, the Nginx Ingress Controller, Metrics Server and Node Monitoring (Prometheus) are on by default. Kubernetes Dashboard and MetalLB are off; MetalLB needs an IP range from your network.
  4. Review & Deploy: CloudOps checks every node, then you press Deploy Cluster.

Nodes must be machines CloudOps manages. A server you imported can be a node only after you take it over, so until then the form does not list it and says how many it left out; see Import existing servers.

What the pre-deploy check looks at

  • Every node has an IP address or FQDN.
  • Control-plane nodes have at least 2 CPU cores and 1,500 MB of RAM, workers at least 1 core and 1,024 MB. If CloudOps does not know a server's CPU or RAM, Kubespray checks it during the deploy.
  • No node belongs to another cluster that is still active.
  • No node already runs a Kubernetes that CloudOps did not deploy. That is an error, because deploying over it would fail and destroying would wipe it. Remove it from the machine first. If it is already gone, press Discover Hardware on the server so CloudOps sees that.

A node that was in a failed or destroyed cluster gets a warning instead. Press Clean Nodes & Deploy to clean the old Kubernetes state off it and deploy.

While it deploys

A deploy usually takes 15 to 30 minutes. The Logs tab shows the Kubespray output. When it finishes, CloudOps fetches the cluster's kubeconfig and the page shows Cluster is running. If the deploy fails, fix the cause shown in the logs and press Retry Deploy.

For high availability use three or five control-plane nodes. With fewer than three, the page shows an HA degraded warning: one control plane is a single point of failure, and two tolerate no failure at all. You choose control-plane nodes when you create the cluster. Scaling later adds and removes workers only.

The Kubeconfig tab shows the cluster's admin kubeconfig, with Copy and Download. It is a cluster-admin credential, so only the admin role can open it.

Register an existing cluster

Registering gives you the live views below for a cluster CloudOps did not build. CloudOps never deploys to, scales, upgrades or reconfigures a registered cluster. You need the admin role, because registering stores a credential. The cluster is filed under the region selected in the header, so pick the right one first.

How one-command registration works
  1. Your machineRegistration commandRuns where kubectl already points at the cluster
  2. Your clusterRead-only service accountget, list and watch only
  3. CloudOpsChecks and storesRefuses a credential that can change anything
  4. CloudOps consoleLive viewsRead from the Kubernetes API
The admin credential you run the command with stays on your machine. CloudOps holds only the read-only token.

With one command

  1. Press Register Existing (read-only). Under Quickest: run one command, press Generate command and copy it.
  2. Run it on a machine where kubectl already points at the cluster, with cluster-admin rights. They are needed once, to create the read-only role.

The command:

  • creates a service account, cloudops-observer in kube-system, with a token and a cluster role that grants only get, list and watch;
  • waits for the token, then builds a kubeconfig from it and the cluster's CA;
  • sends that kubeconfig to CloudOps.

Those RBAC objects are the only thing it creates in the cluster. The admin credential you run it with stays on your machine: CloudOps receives only the read-only token. The command needs kubectl and curl. It works for one hour, and the page shows how long is left.

The cluster is named after your current kubectl context. To choose the name, set CLOUDOPS_CLUSTER_NAME before you run the command:

export CLOUDOPS_CLUSTER_NAME=prod-eu
    # then paste and run the command from the console

If the API server address in your kubeconfig is one CloudOps cannot reach, such as an internal name, 127.0.0.1 or localhost, set CLOUDOPS_API_SERVER to an address it can reach, for example https://k8s.example.com:6443. CloudOps then uses that address instead of the one in your kubeconfig. Without it, the command stops when your kubeconfig points at 127.0.0.1 or localhost, and it also stops if CLOUDOPS_API_SERVER itself is such an address.

By hand

To read and apply the RBAC yourself, use the RBAC manifest on the same page: Copy it or press Download manifest, apply it with kubectl apply -f cloudops-observer.yaml, and build a kubeconfig for the service account with the instructions shown. Press I've applied the manifest, enter a Cluster Name, paste or upload the kubeconfig, and press Register Cluster.

What registration checks

  • The kubeconfig carries its credential inline: a token, or a client certificate and key. Exec plugins such as cloud or OIDC helpers, auth providers, basic auth, references to files, and plain http:// API servers are refused.
  • CloudOps can reach the API server over HTTPS and the credential works. The API server must accept HTTPS connections from CloudOps.
  • The credential is read-only. CloudOps asks the cluster what the credential may do across its namespaces, and refuses it if it holds any verb that can change something, such as create, update, patch, delete or impersonate.

Nothing is stored unless all of these pass. The stored kubeconfig is encrypted.

Live views

For every cluster CloudOps holds a kubeconfig for, built or registered, the cluster page reads live state from the Kubernetes API. Each view is cached for up to 45 seconds.

  • Metrics: CPU and memory in use and committed, against what the nodes can allocate; pods and restarts per node, per namespace and for the top workloads; and Needs attention, a list of unhealthy pods with their container errors and warning events. Live usage needs metrics-server in the cluster. Without it you still see requests, limits and pod health.
  • Nodes: roles, status (including cordoned nodes and pressure conditions), version, internal IP, allocatable and total CPU and memory, pod capacity, taints and OS image. For a cluster CloudOps built, the nodes CloudOps manages are listed below.
  • Namespaces: status, Pod Security level and age.
  • Workloads: Deployments, StatefulSets and DaemonSets with ready and available replicas. Click one for its containers, images, labels and conditions.
  • Networking: Services with type, cluster IP, external address, ports and ready backends; Ingresses with hosts, paths, TLS secret names and address; and core Kubernetes NetworkPolicies. Policies that Calico or Cilium enforce through their own resources are not read.
  • Storage: persistent volume claims and persistent volumes, with capacity, access mode, reclaim policy, class and what they are bound to.
  • Events: recent events. Warnings are kept even when a busy cluster produces many routine events.

The Security tab lists known Kubernetes CVEs for the cluster's version, and a Security posture panel: which application workloads run privileged, use a host namespace, add strong Linux capabilities or mount sensitive host paths. For a registered cluster it also shows what the stored credential may do, as the cluster itself reports it. For a cluster CloudOps manages, it says that CloudOps holds the cluster's admin credential, which it needs to manage the cluster.

On a cluster CloudOps built, open a workload to change its replica count or a container's image, then press Apply changes. A registered cluster's workloads can be inspected but not changed.

The other tabs: Health shows per-node CPU, memory, disk and load from the CloudOps monitoring agent, so it is empty for a registered cluster. Logs shows Kubespray output, Activity shows who did what, and Connect lets you download the kubeconfig and shows how to point kubectl at it. To publish a service from a running cluster on a public HTTPS name, press Expose to internet; see Edge Connections.

Scale a cluster

Scaling applies to running clusters that CloudOps built. Open the Nodes tab.

  • Add workers: under Add Worker Nodes, tick one or more servers and press the Add button, which shows how many nodes you picked. A new worker must be a machine CloudOps manages, in the cluster's region, not in another cluster, and not running a Kubernetes that CloudOps did not deploy. The list shows only servers that meet the first three, and says how many it left out.
  • Remove a worker: press Remove on its row and confirm. The node is drained and reset. A cluster always keeps at least one worker.

The page shows Scaling cluster... while Kubespray runs. Adding a node can take 25 to 40 minutes on a busy host. If it is stuck, press Cancel scale: the job stops and the cluster returns to running. A node that was only partly added may need adding again.

Upgrade

On a running cluster CloudOps built, press Upgrade, pick the target version and press Start upgrade. Kubespray upgrades one node at a time and drains its workloads first. It typically takes 20 to 60 minutes. You can go up one minor version at a time, and never down.

Remove a cluster

  • Destroy, for a cluster CloudOps built, runs Kubespray's reset on every node. The control plane and all workloads, etcd data and certificates, CNI networking, kubeconfig access, container images and iptables rules are removed. Type the cluster name to confirm. It cannot be undone. The servers stay in CloudOps.
  • Delete removes only the cluster record. Kubernetes keeps running on the nodes, and CloudOps refuses to use those servers in a new cluster until it is removed from them.
  • Remove from CloudOps, for a registered cluster, deletes the record and the stored credential. Your cluster is not changed. To revoke the credential inside the cluster too, delete what registration created:
kubectl delete clusterrolebinding cloudops-observer-readonly
    kubectl delete clusterrole cloudops-observer-readonly
    kubectl -n kube-system delete secret cloudops-observer-token
    kubectl -n kube-system delete serviceaccount cloudops-observer

Regions

A cluster cannot span regions. A cluster CloudOps built takes its region from its nodes, so to move it, move its servers. A registered cluster can be moved directly with the map-pin button on its row in the list. See Regions.

Who can do what

  • Every role can see clusters and their live views.
  • The member role or higher can create, deploy, scale, upgrade, edit, destroy and delete clusters, and change workloads.
  • The admin role or higher can register an existing cluster, generate the registration command, open the kubeconfig, and move a cluster to another region.