Skip to content
Community

logo

VMware vSphere#

K0rdent streamlines the deployment, management, and monitoring of Kubernetes clusters on VMware vSphere, simplifying container orchestration in the cloud.


Looking for Commercial Support? LEARN MORE

Prerequisites#

Deploy k0rdent v1.8.0: QuickStart

Install template to k0rdent#

# k0rdent includes the template for vSphere out of the box

Verify cluster template#

kubectl get clustertemplate -n kcm-system
# NAME                            VALID
# vsphere-hosted-cp-1-0-22         true

Create a cluster on VMware vSphere#

apiVersion: k0rdent.mirantis.com/v1beta1
kind: ClusterDeployment
metadata:
  name: my-vsphere-clusterdeployment1
  namespace: kcm-system
  labels:
    group: demo
spec:
  template: vsphere-hosted-cp-1-0-22
  credential: vsphere-credential
  config:
    vsphere:
      server: vcenter.example.com
      thumbprint: "00:00:00"
      datacenter: "DC"
      datastore: "/DC/datastore/DC"
      resourcePool: "/DC/host/vCluster/Resources/ResPool"
      folder: "/DC/vm/example"
    controlPlaneEndpointIP: "<VSPHERE_SERVER>"
    ssh:
      user: ubuntu
      publicKey: |
        ssh-rsa AAA...
    rootVolumeSize: 50
    cpus: 2
    memory: 4096
    vmTemplate: "/DC/vm/template"
    network: "/DC/network/Net"
    k0smotron:
      service:
        annotations:
          kube-vip.io/loadbalancerIPs: "<VSPHERE_LOADBALANCER_IP>"