Skip to content
Snippets Groups Projects
Select Git revision
  • 352297cf8df0e9356a95939309d6f18c28168224
  • master default protected
  • v2.27.1
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
22 results

vsphere.md

Blame
  • user avatar
    Ryler Hockenbury authored and Kubernetes Prow Robot committed
    88249308
    History
    vsphere.md 6.73 KiB

    vSphere cloud provider

    Kubespray can be deployed with vSphere as Cloud provider. This feature supports

    • Volumes
    • Persistent Volumes
    • Storage Classes and provisioning of volumes.
    • vSphere Storage Policy Based Management for Containers orchestrated by Kubernetes.

    Prerequisites

    You need at first to configure your vSphere environment by following the official documentation.

    After this step you should have:

    • UUID activated for each VM where Kubernetes will be deployed
    • A vSphere account with required privileges

    If you intend to leverage the zone and region node labeling, create a tag category for both the zone and region in vCenter. The tags can then be applied at the host, cluster, datacenter, or folder level, and the cloud provider will walk the hierarchy to extract and apply the labels to the Kubernetes nodes.

    Kubespray configuration

    First you must define the cloud provider in inventory/sample/group_vars/all.yml and set it to vsphere.