Automate Windows NTP Server Config

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....

March 16, 2022 · 1 min · Jahnin Rajamoni

Workload management configuration failed: A specified parameter was not correct: spec.url

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....

January 31, 2022 · 2 min · Jahnin Rajamoni

VMware Certified Professional - Application Mordernization [VCP-AM] exam review

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....

November 15, 2021 · 1 min · Jahnin Rajamoni

Configure conditional forwarding in coredns - Tanzu Kubernetes Clusters

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....

November 11, 2021 · 2 min · Jahnin Rajamoni

PodSecurityPolicy: unable to admit pod: in Tanzu Kubernetes Clusters

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...

November 1, 2021 · 2 min · Jahnin Rajamoni