Deploying Workloads on vSphere 7 with Tanzu Kubernetes Grid Service (TKGS)

Prerequisites

Deploying TKGS Workloads

vSphere workload Management setup

Installing TKGS on vCenter Server Network (Supports Tanzu Kubernetes clusters)
Pre-flight Tanzu checks
Supervisor cluster sizing options
scp root@10.64.2.10:/etc/haproxy/ca.crt ca.crt && cat ca.crt
Configuring HA proxy within the workload manager
Configuring the management network
Workload configuration screen for Tanzu TGKS
Defining our workload cluster
Tanzu content library
Tanzu setup finalization

Tanzu supervisor cluster installation

Tanzu errors during setup
Resource Type Deployment, Identifier vmware-system-netop/vmwa-resystem-netop-controller-manager is not found.
No resources of type Pod exist for cluster domain-c8
Kubernetes cluster heath endpoint problem at <IP unassigned>. Details: Waiting for API Master IP assignment.
Our working Tanzu cluster.

Connecting to our new supervisor cluster

Kubernetes CLI tools landing page

Troubleshooting

Tanzu configuration settings overview
Kubernetes events

Connecting to the supervisor cluster

wget https://10.64.32.1/wcp/plugin/linux-amd64/vsphere-plugin.zip
$ kubectl vsphere login --server=10.64.32.1 --insecure-skip-tls-verify

Username: administrator@test.corp
Password:
Logged in successfully.

You have access to the following contexts:
10.64.32.1

If the context you wish to use is not in this list, you may need to try logging in again later, or contact your cluster administrator.

To change context, use `kubectl config use-context <workload name>`
$ kubectl config use-context 10.64.32.1
$ kubectl get nodesNAME              STATUS   ROLES    AGE     VERSION
420f1f569680d.. Ready master 5d17h v1.18.2-6+38ac483e736488
420fdbfa2080b.. Ready master 5d17h v1.18.2-6+38ac483e736488
420fe058fd6bd.. Ready master 5d17h v1.18.2-6+38ac483e736488
kubectl api-resources --namespaced=false

Its all over!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store