Time synchronization is paramount when configuring NSX-T and WCP based labs. Lately I’ve had to configure a windows server as a time server more than once! I dont enjoy repititive tasks and decided to write a quick powershell script to configure NTP server on a windows server.
The script is straight forward and is based on the content here
Modify the upstream time server by changing time.vmware.com to a NTP server of your choice in the script below....
Configuring Workload Management on a cluster failed with the error: ÄPI request to VMware vCenter Server (vpxd) failed. Details ‘SeverFaultCode: A specified parameter was not correct: spec.url’'
TLDR Do you have multiple vmkernel management interfaces? To resolve the issue, temporarily disable management service on the vmkernel interface that is not reachable by vCenter Server, enable Workload Management and then enable management services back again on the vmkernel interface. Interesting Error! I started troubleshooting by looking at the wcpsvc....
I passed the VCP-AM exam today! Yay!
This exam consists of 55 multiple choice questions with a passing score of 300/500.
Key tech relevant to the certification vSphere with Tanzu Tanzu Kubernetes Grid Tanzu Mission Control Kubernetes Experience and Prepration Started by going through the exam blueprint here
vSphere with Tanzu I have installed and troubleshot vSphere with Tanzu; deployed and played with Tanzu Kubernetes Clusters along with enabling the harbor image registry, pushing container images and deploying pods from the harbor registry....
So how do you conditionally forward dns requests from pods that are running in your Tanzu Kubernetes Clusters to specific DNS Servers?
Begin by editing the coredns configMap kubectl -n kube-system edit configmap coredns root@debian:~# k -n kube-system edit configmap coredns configmap/coredns edited Add the following section to the coredns configmap. Replace domain-name and dns-server-ip with the domain name and dns server ip you want to conditionally forward to....
In vSphere with Tanzu, when you deploy Tanzu Kubernetes Clusters, the clusters are deployed with PodSecurityPolicy Admission Controller enabled. This would mean that you would need a pod security policy to deploy workloads to the guest clusters. Read the documentation here for more information.
When you set permissions for a user on the supervisor cluster, a Cluster Role Binding will get created.
You can review this by running the command kubectl get clusterrolebinding | grep vmware-system...