Install on Alauda OS

The global cluster is the platform's control plane: it runs the platform services and manages every workload cluster. This section installs the global cluster when its nodes run Alauda OS. To install it on a non-Alauda OS such as Ubuntu or RHEL, see Install on Non-Alauda OS.

How the Installation Works

You describe the cluster in one install-config.yaml and run ac adm alpha global create on a temporary bootstrap node:

  1. ac checks install-config.yaml, the registry, and the infrastructure.
  2. It starts a temporary bootstrap cluster on the bootstrap node and installs the Cluster Bootstrap Provider and the infrastructure provider into it. All images come from the external registry.
  3. The providers create the global machines, and the control plane is initialized.
  4. The platform is installed on the global cluster.
  5. Handover: the global cluster takes over its own machines and manages them from then on.
  6. ac installs the two providers on the global cluster, writes the cluster's kubeconfig, and removes the bootstrap cluster.

After the installation, the global cluster runs the Cluster Bootstrap Provider and the infrastructure provider of its own platform, and the bootstrap node is no longer needed. On Huawei DCS, VMware vSphere, and Huawei Cloud Stack, ac stores the infrastructure credential in the global-credential Secret on the global cluster; update that Secret when you change the IaaS password. Keep the installation directory, <install-dir>: install-config.yaml, the rendered manifests, output/kubeconfig, and the logs exist nowhere else. Copy it to a safe place before you reclaim the bootstrap node. See Installation Directory.

Disaster Recovery

A disaster recovery pair is two global installations, a primary and a standby, each from its own bootstrap node with its own install-config.yaml. Global Cluster Disaster Recovery on the standby copies the primary's data to it. The two sides share the platform domain, the console certificate, the encryption key, and, on Bare Metal, the ServiceAccount signing key; each keeps its own control plane VIP, registry, and infrastructure credentials. Failover is a manual switch of the platform domain; see Fail Over to the Standby global Cluster. Metrics and logs are not replicated, so plan where workload clusters send them before you install either side; see Observability Placement. See Create a Global Cluster Disaster Recovery Pair.

Deployment Path

  1. Prepare. Meet the common prerequisites, then the prerequisites of your provider.
  2. Decide whether you need disaster recovery. It cannot be added to an installed global cluster without technical support: read Create a Global Cluster Disaster Recovery Pair before you write the first install-config.yaml.
  3. Install the global cluster on your provider. For a disaster recovery pair, install both sides as that page describes, then start the synchronization.
  4. Create workload clusters. See Create on Alauda OS.

The installation stages and the failures every provider shares are in Troubleshooting. The common install-config.yaml fields and the create and destroy commands are in Installation Reference.

Not Covered Here