-
Overview
-
Practical sheets
-
-
-
-
-
-
-
- Backup : Agent-Level B&R via NSS for IAAS offer
- Backup : Create VCOD Backup
- Backup : Netbackup Agent Installation for Linux
- Backup : Netbackup Agent Installation for Windows
- Backup : Overall Design for VCOD Offer
- Backup : User's Guide for VCOD Offer
- NSX-T : Configuring a Distributed Firewall [FR]
- NSX-T : Create a VPN Ipsec
- NSX-T : Creation of T1
- NSX-T : DNAT configuration
- NSX-T : How to configure a Gateway Firewall
- NSX-T : SNAT configuration
- NSX-T: Create and Configure a Geneve Overlay Segment [FR]
- NSX-T: How to configure an IPSEC solution
- vCenter : Clone a VM [FR]
- VCenter : Create a new VM
- VCenter : Create a snapshot of a VM
- VCenter : Reset cloudadmin password
- VCenter : Storage Vmotion on a VM
- VCenter : Upgrade Vmware tools on a VM
- Show all articles (5) Collapse Articles
-
-
Q & A
-
Services
- Backup
- Bare metal server
- Block Storage [FR]
- BVPN access
- Certifications [FR]
- Cross Connect [FR]
- Dedicated Cluster
- DRaaS with VCDA
- Dual Site [FR]
- HA Dual-Room
- Internet access
- Kubernetes [FR]
- Licenses
- LoadBalancer As A Service
- Network
- Network Storage
- Object storage
- QoS Appliance
- Security
- Support and Coaching
- Tools [FR]
- VCenter On Demand
- VM Replication [FR]
- Show all articles (8) Collapse Articles
KaaS – Create Cluster
Prerequisite
- a VirtualDatacenter
- A routed network with Internet access (snat)
- Internet DNS resolution
- For Internal IaaS only : Source NAT for API Access
Deploy the Cluster
- Launch & connect to the vCloud Director console
- Go to More > Kubernetes Container Clusters
- Clic New
- Choose VMware Tanzu Kubernetes Grid then click Next

- Fill the Name field
- Select the version you want to use
- Fill your SSH public key on OpenSSH format (for help follow this link : KaaS – SSHKey for node access)
- Clic Next

- Select the Virtual datacenter where to create the cluster

- Set 1 Control plane node & 1 worker node (or more as it is needed)
- Select the sizing policy
- Clic Next

- Choose the storage profil to use for the nodes

- Select the network where to create the cluster
À noter !
Recommendation : Do not activate the checkbox “Allow external traffic….” as it will take a random IP in your external network and allow traffic to the Kubernetes API.

- You can choose here the internal CIDR for the PODS and the Services.
Note !
These IPs are only used locally to the cluster, you can have the same CIDR on multiple clusters

- Click next then Finish
- Wait for the cluster creation until the status is CREATE:SUCCEEDED
Retrieve kubeconfig file
To interact with your Kubernetes cluster it is required to have the kubeconfig file corresponding to the cluster.
- Launch & connect to the vCloud Director console
- Go to More > Kubernetes Container Clusters
- Select the cluster you want to get the kubeconfig file
- Clic Download Kubeconfig button
Create a Storage Class
Using KaaS Standard you can consume storage in your Virtual Data center Automatically for the Persistent Volume for your PODS.
For that you have to create K8S Storage Class that is link to a VCD Storage Policy. In that way you can use storage with different performance.
Create a file mystorageclass.yaml and copy the content provided on the right and replace
by the storage policy of your choice.
The example provided create a default storage class, if you don’t want to set this Storage Class as default you can simply change the annotation storageclass.kubernetes.io/is-default-class to false.
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
name: storage-class-name
provisioner: named-disk.csi.cloud-director.vmware.com
reclaimPolicy: Delete
parameters:
storageProfile: "YOUR_STORAGE_POLICY"
filesystem: "ext4"