Loading video player...
This video description covers: Login to The Cluster and Deploy An Application, a core component of the VMware Cloud Foundation (VCF) and vSphere with Tanzu workflow. This module demonstrates how to use the unified VCF Command Line Interface (VCF CLI) to manage Kubernetes workloads on vSphere Kubernetes Service (VKS). Video Overview In this 30-minute basic tutorial, we walk through the end-to-end process of deploying an nginx application onto a VKS cluster. You will learn how to set up your command-line environment, authenticate to a Supervisor cluster, and manage resources within a vSphere Namespace. Detailed Chapter Breakdown 1. Environment Preparation & CLI Verification Verify VCF CLI Version: Ensure you are using the latest version of the VCF CLI, which unifies the functionality of the older kubectl-vsphere and tanzu CLI tools. Create Supervisor Context: Authenticate your local environment with the Supervisor cluster to establish a management connection. Set Namespace Context: Switch your active context to Namespace-1 (or your designated vSphere Namespace) to begin managing localized resources. 2. VKS Cluster Connectivity Check Kubernetes Cluster: Use kubectl get nodes or vcf commands to verify the health and status of your underlying Supervisor-managed infrastructure. Create & Set VKS Cluster Context: Connect specifically to the VKS-01 workload cluster. This step populates your kubeconfig with the necessary credentials to deploy applications directly to the worker nodes. 3. Application Deployment Workflow Create Application Namespace: Establish a dedicated logical boundary (app namespace) on the VKS-01 cluster for your nginx deployment. Set Pod Security Policy: Configure the necessary security standards to allow your pods to run with the appropriate privileges. Create Harbor Pull Secret: Authenticate your cluster with the Harbor Registry to securely pull the nginx container image. Deploy nginx: Apply your YAML manifest to launch the nginx application within the designated namespace. 4. Verification & Testing List Deployed Resources: Use kubectl get all -n app to view the status of your pods, services, and deployments. Final Connectivity Check: Verify that the nginx web server is active and accessible via its assigned service address. Key Technical Concepts VCF CLI: The primary tool for modern vSphere administrators to manage both the Supervisor and VKS workload clusters. Supervisor Cluster: The management plane that enables Kubernetes natively within vCenter. vSphere Kubernetes Service (VKS): Formerly known as TKGs, this service allows for the programmatic deployment of fully upstream-compatible Kubernetes clusters.