Study FAQ
How do you deploy and verify a Kubernetes application in a VKS workload cluster?
Also asked as 2
- How do you apply a VKS app manifest to the right guest context and verify its rollout?
- What is the workflow for releasing an app into a VKS guest namespace and checking that it works?
Answer
Apply the application's Kubernetes manifests to the VKS guest cluster API and its intended Kubernetes namespace. On VCF 9.0, use the supported VCF CLI or configured authentication workflow to obtain guest-cluster access, then check that kubectl points to the guest endpoint and that you have permissions to deploy there.
- In
kubectl config get-contexts, identify the context for the expected guest cluster and verify the endpoint against the platform inventory. Checkkubectl config current-contextand confirm you can create the intended workload resources in the guest namespace. - Validate the image source, namespace policy, referenced configuration and secrets, and any StorageClass or Service dependencies. For an approved Deployment manifest, apply it to the intended target with
kubectl --context <guest-context> -n <app-namespace> apply -f app.yaml. - Check
kubectl --context <guest-context> -n <app-namespace> rollout status deployment/<name>and inspect the Pods. Verify any PVC is usable and the Service and its ready endpoints serve a representative request. On failure, inspect workload events and logs in the same guest context.
Manage the application declaration through your normal delivery process. Changes to VKS node pools and the guest control plane are separate platform operations on the Supervisor.
References
Full explanation
Deploying Workloads with Kubernetes, VM Service, and Supervisor Pods
Study guide · 3V0-24.25
Read the full explanation