Study FAQ
How do you provision a VKS workload cluster from YAML on VCF 9.0?
Also asked as 2
- How do you prepare and apply a VKS 3.4 Cluster manifest and confirm it reconciles?
- How do you submit and verify a new VKS cluster in a vSphere Namespace?
Answer
On VCF 9.0 with VKS 3.4, provision a workload cluster by applying a release-matched Cluster API cluster.x-k8s.io/v1beta1 Cluster to the target vSphere Namespace on the Supervisor. Submit it after the Supervisor and VKS service are healthy and the platform can supply the requested version, node resources, storage, and networking.
- Use credentials for the Supervisor API with create permission in the target namespace. Confirm the available VM classes, storage classes, quota, placement and network capacity. Confirm the intended vSphere Kubernetes Release (VKr) is compatible and its operating-system image is available through the Supervisor's VKS content library.
- Start with the official example for the installed ClusterClass. Specify the Cluster name and namespace, the documented cluster network settings, and the topology class, VKr version, control-plane count, worker pools and required variables. With the VKS 3.4 built-in class, use
builtin-generic-v3.4.0and itsspec.topology.classNamespacereference tovmware-system-vks-public. Review the installed class before choosing values such asvmClassandstorageClass. - Confirm the kubeconfig context and review the manifest. With an approved change, apply it using
kubectl apply -n <vsphere-namespace> -f cluster.yaml. Watchkubectl describe cluster <name> -n <vsphere-namespace>and the corresponding Machine and vCenter state until reconciliation completes. Then authenticate to the new guest cluster and verify the expected nodes are Ready and core networking and storage work.
Keep the intended configuration in version control and manage credentials separately. VKS 3.5 and later have API changes, so check the served API and installed class before reusing this workflow on a later release.
References
Full explanation
Provisioning VKS Clusters: YAML, VM Classes, Node Pools, and Scaling
Study guide · 3V0-24.25
Read the full explanation