I’ll try and maintain a list of commands that I use frequently for interacting with the tanzu cli and the kubectl cli. Probably also some helm commands. Tanzu CLI Commands Kubectl Commands Helm Commands
Tanzu Kubernetes Grid – Create an L7 Ingress with Avi
If you’re following along in the guides for TKGm, this is the last step, deploying the L7 ingress with Avi. Please make sure to read the post about deploying the L4 Type LoadBalancer since it covers creating the k8s docker secret: Create an L4 Type LoadBalancer with Avi Enable Ingress in the management cluster The…
Tanzu Kubernetes Grid – Create an L4 Type LoadBalancer with Avi
At this point in the guides, we’ve deployed TKGm. Also we’ve deployed a management cluster, and a single guest cluster. Now it’s time to create some applications and test it out! K8s housekeeping Create a K8s secret for Docker login If you are running this cluster in your own personal lab, you might be ok….
Tanzu Kubernetes Grid – Deploy Guest Cluster
Now that the management cluster has been deployed, we can deploy our first guest cluster. This is done via another yaml file and some cli commands. Deploy Guest Cluster Prepare the guest-cluster.yaml file The guest cluster will be deployed similarly to how you can deploy the management cluster via the CLI, using a yaml file….
Tanzu Kubernetes Grid – Deploy Management Cluster
Ok so now we have the bootstrap vm ready, and photon is deployed as a template in vCenter. Additionally Avi is configured with either vCenter or NSX-T cloud, and a DNS and IPAM profile are configured on the cloud. Now it’s time to deploy the management cluster There’s 2 ways you can deploy the management…
Tanzu Kubernetes Grid – Create Photon Template in vCenter
In order for Tanzu to spin up management and guest clusters, it’s needs an ova template to use. This photon ova will be used for the control and data plane. Import the OVA in to vCenter Convert the VM to a template The last step is simple, just convert the newly created VM, into a…
Tanzu Kubernetes Grid – Configure Bootstrap VM
This step is really optional, but it’s helpful. The idea here is that you will have a VM running docker, kubectl, and some other utilities, and from this VM, you will deploy the management k8s cluster, guest clusters, etc. You can also switch tanzu contexts in this VM and access all the other clusters via…
Tanzu Kubernetes Grid – Download the Tanzu, K8s binaries
TKG requires a few downloads. Tanzu CLI – binary Kubectl – binary TKG Template ova – ova used for deploying the photon images. Download Go to my.vmware.com and navigate to the VMware Tanzu Kubernetes Grid downloads.
ESXi Power Management Setting
It’s also worth setting the physical ESXIs in your home lab to run on a High Performance setting. The default is Balanced, and after modifying mine to High performance, I am definitely seeing a performance improvement.
AKO – L7 Ingress on vSphere with Kubernetes (WCP – TKGs) with NSX-T
Long title, but basically this is a guide to deploy L7 ingress on top of your WCP and NSX-T setup. If you’ve followed my previous guides, you should have NSX and WCP configured, and a supervisor cluster and guest cluster already configured. We will need to add a little bit more config to NSX-T and…