Datacenters

Overview

There are 2 types of datacenters:

  • Seed datacenter, where Kubermatic’s controller-manager and the control planes for each customer cluster are running.
  • Node datacenter, where the customer worker nodes are provisioned.

Both are defined in a file named datacenters.yaml:

Sample datacenters.yaml

The datacenter structure contains the following fields:

  • seed – Tells whether the DC is supposed to be a seed or a normal DC. true or false.
  • spec:
    • seed – Which seed to use to deploy the master components of this DCs clusters.
    • country – Country code of the DC location. It’s purely cosmetic and reflected by a flag shown in the UI.
    • location – Name of the DC’s location.
    • provider – Name of the providing entity. Optional.
    • requiredEmailDomain – (deprecated since v2.13) Optional string. Limits the availability of the datacenter to users with email addresses in the given domain.
    • requiredEmailDomains – (since v2.13) Optional string array. Limits the availability of the datacenter to users with email addresses in the given domains.
    • digitalocean – Cloud-specific configuration for DigitalOcean DCs.
    • bringyourown – Specifies a DC that doesn’t use any cloud-provider-specific features
    • aws – Cloud-specific configuration for AWS DCs.
    • azure – Cloud-specific configuration for Azure DCs.
    • openstack – Cloud-specific configuration for Openstack DCs.
    • packet – Cloud-specific configuration for Packet DCs.
    • gcp – Cloud-specific configuration for GCP DCs.
    • hetzner – Cloud-specific configuration for Hetzner DCs.
    • vsphere – Cloud-specific configuration for vSphere DCs.
    • kubevirt – Cloud-specific configuration for KubeVirt DCs.