- Created a base image template that matches the management cluster’s Kubernetes version.
- Official documentation: https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.5/vmware-tanzu-kubernetes-grid-15/GUID-mgmt-clusters-vsphere.html#import-a-base-image-template-into-vsphere-4
- Import latest available version and -1 to test version upgrade
- In my case for TKGm 1.5.1, I import version Kubernetes v1.21.8 and v1.22.5
- I found out that Ubuntu template is not recognized when trying to deploy workload cluster from TMC, so I also import Photon image.
Tuesday, May 24, 2022
[lunar.lab] Prepare to Deploy TKG Management Clusters to vSphere
Sunday, May 22, 2022
[lunar.lab] Install Harbor Container Registry as Docker Containers
This is an installation note of Harbor container registry for lunar.lab. Keeping in mind to minimize footprint due to resource constraint, I decided to install Harbor service in bootstrap machine VM which I already deployed (See here for the article: https://dy.si/TAg1M72).
- Official documentation followed for this purpose can be found here: https://goharbor.io/docs/2.5.0/install-config/
- List of software version:
- Harbor 2.5.0
- Docker Engine 20.10.16
- Docker Compose 2.5.0
- For a more proper way to deploy Harbor in TKG, you may want to check this official documentation:
Sunday, March 27, 2022
[lunar.lab] Prepare Bootstrap Machine for TKGm Deployment
Having a bootstrap machine is one of the step required for deploying TKGm to vSphere as stated here:
This article will run through the step I took to configure that bootstrap machine which involves these following 4 steps.
Step 1 - Starting Point: Ubuntu VM
I create Ubuntu VM from scratch with the following configuration:
- Virtual Hardware specification
- 8 vCPU
- 8GB RAM
- 40GB disk
- Ubuntu 20.04
- Minimum install + OpenSSH
- Configure static IP
- Configure Internet access (using proxy)
Thursday, March 17, 2022
Help! Where is my tanzu cluster Plugin?
So you have lost your tanzu cluster Plugin after upgrading Tanzu CLI?
I tried to upgrade my TKG from version 1.4.2 to 1.5.1. One of the first step is to upgrade Tanzu CLI. Once upgraded, I realize that tanzu cluster plugin is missing! 😱 How can I manage my TKG cluster then? This did not happen when I did the upgrade from 1.3.1 to 1.4.2!
Tuesday, March 15, 2022
Help, I Cannot Pass IaaS Provider Step when Deploying TKG 1.4.2 Management Cluster to vSphere!
In TKG 1.4, if you deploy management clusters to vSphere with the installer interface, as a first step of configuring vCenter Server as IaaS Provider, you’ll need to fill in your vCenter Server IP Address or FQDN, username/password then hit Connect. If your vCenter use the default certificate, you’ll found this error:
Failed to connect to the specified vCenter Server. Post "https://IP_or_FQDN/sdk": x509: cannot validate certificate for IP_or_FQDN because it doesn't contain any IP SANs
Saturday, March 12, 2022
[lunar.lab] Configuring NSX Advanced Load Balancer for Tanzu Kubernetes Grid (TKG) on VMware vSphere
Disclaimer:
- This is for lunar.lab only and not intended as a guide for production environment.
- All deployed on vSphere environment.
- I use nested environment.
- I use vSphere 7, NSX ALB 20.1.6, TKGm 1.5.1
- The official documentation is here: https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.5/vmware-tanzu-kubernetes-grid-15/GUID-mgmt-clusters-install-nsx-adv-lb.html
- ESXi: management network vmkernel - 192.168.110.0/24
- vMotion: vmotion vmkernel - 10.10.30.0/24
- storage: storage vmkernel - 10.10.20.0/24
- VM: VM management network - 192.168.110.0/24
- tkg-vip-network: load balancer/ingress virtual IP - 192.168.120.0/24
- tkg-network: management/workload cluster nodes - 192.168.100.0/24
- avi-internal: placeholder network for ALB Service Engine
Saturday, June 9, 2018
[lunar.lab] NSX-T Deploy & Initial Configuration
Disclaimer:
- This is for lunar.lab only and not intended as a guide for production environment. I’m aware that some configurations I use here are not supported configuration.
- All deployed on vSphere environment.
- I use nested environment.
- The official documentation is here: https://docs.vmware.com/en/VMware-NSX-T/2.1/com.vmware.nsxt.install.doc/GUID-414C33B3-674F-44E0-94B8-BFC0B9056B33.html
- The documentation is quite clear, I just add some notes specific to my deployment.
- Deploy
- NSX-T Manager: https://docs.vmware.com/en/VMware-NSX-T/2.1/com.vmware.nsxt.install.doc/GUID-FA0ABBBD-34D8-4DA9-882D-085E7E0D269E.html
- NSX-T Controller (for lab purpose I only deploy 1 NSX-T Controller): https://docs.vmware.com/en/VMware-NSX-T/2.1/com.vmware.nsxt.install.doc/GUID-24428FD4-EC8F-4063-9CF9-D8136740963A.html
- NSX-T Edge (for lab purpose I only deploy 1 NSX-T Edge): Please note that PKS requires Large (8 vCPU 16GB RAM) size of NSX-T Edge Node. https://docs.vmware.com/en/VMware-NSX-T/2.1/com.vmware.nsxt.install.doc/GUID-AECC66D0-C968-4EF2-9CAD-7772B0245BF6.html

