Calicoctl in Tanzu Kubernetes Clusters

There are two CNIs that are avaiable for container networking in Tanzu kubernetes guest clusters: Antrea and Calico In this post, lets take a closer look at Calico and how to deploy and use Calicoctl Pods can fail if they do not get an ip address from the CNI. A common error is: k get events 4m31s Warning FailedCreatePodSandBox pod/validationservice-59cbc867c-pt7k5 (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "2c0a340dfe947ad27564e0b73d5efac7f13951a77aa9c0a6e5e5d90b7d299e4c": rate: Wait(n=1) would exceed context deadline 4m31s Warning FailedCreatePodSandBox pod/validationservice-59cbc867c-qhdjr (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "c0f9ecf1f5a73954bbc3733ff1342fec6896d339bc6039473765e5f143b7850d": rate: Wait(n=1) would exceed context deadline To view the ip blocks provided by IPAM(Calico) in the Tanzu Kubernetes cluster...

September 15, 2021 · 2 min · Jahnin Rajamoni

Blogging as code - Moving your blog from blogger to a static site : Netlify + Hugo

Ive been hearing a lot about static sites lately. This post is a run down of all the steps I took to move my blog from blogger to a static site. Before we begin, few gotchas My blog is relatively small. About 60 odd posts I decided to use Netlify as my CDN. Used Hugo to generate the static content. Used the PaperMod theme Reasons why I decided to go to a static site...

September 12, 2021 · 2 min · Jahnin Rajamoni

vSphere with Tanzu - Creating a Tanzu Kubernetes Cluster fails - Failed to deploy OVF package.

Creating a Tanzu Kubernetes Cluster fails. In vCenter server, the resource pool gets created under the namespace resource pool. However, the control/worker vms do not get created. The OVF deployment starts but fails and is in a constant loop with the error, “Failed to deploy OVF package” Looking at the vpxd logs in vCenter Server, the error was: info vpxd[63733] [Originator@6876 sub=Default opID=62236dfd] [VpxLRO] -- ERROR lro-43350730 -- task-637327 -- vim....

August 21, 2021 · 1 min · Jahnin Rajamoni

vSphere with Tanzu and NSX-T - Enable workload management - Stuck configuring

If you run into any issue where the config status is stuck in “configuring” state, one of the first things to check is the wcpsvc logs on the vCenter appliance here: /var/log/vmware/wcp/wcpsvc.log Interestingly I ran into an issue where the logs were complaining about authorization. You probably will see the following events in a loop: 2021-05-30T11:48:11.077Z error wcp [kubelifecycle/spherelet.go:923] [opID=domain-c8-host-28] **Failed to get Kubernetes cluster node list: Unauthorized** 2021-05-30T11:48:11.078Z error wcp [kubelifecycle/node\_controller....

May 31, 2021 · 2 min · Jahnin Rajamoni

Where are vCenter Advanced Settings saved?

Recently, we had to prove to a customer that the vCenter advanced settings that we were seeing on the html5 client was not cached in the browser(long story) So where are vCenter advanced settings saved? All advanced settings are saved in the VPX_PARAMETER table in the vCenter DB. If you’re using vCenter Server appliance,  Connect to the vCenter Server DB:  /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres List the contents of the VPX_PARAMETER table select \* from VPX\_PARAMETER;

May 20, 2021 · 1 min · Jahnin Rajamoni