Once you have deployed your management cluster, you can deploy additional CNCF conformant Kubernetes clusters and manage their full lifecycle. These clusters are designed to run your application workloads, managed via your management cluster. These clusters canrun different Kubernetes versions as required. These clusters use Antrea networking by default.
These types of clusters are also referred to as “workload” clusters, or “guest” clusters, with the latter typically referring to the Tanzu Kubernetes Grid Service running in vSphere.
Deploying a Guest Cluster
Login to your Tanzu environment Management Cluster with the following:
Alternatively, we can use the existing YAML file in our ~/.tanzu/tkg/clusterconfigs folder used for the management cluster deployment and change a few settings to make it ready for our workload guest cluster.
This was my preferred method as it contained all my Azure settings already.
#Find existing cluster config file
ls -lh ~/.tanzu/tkg/clusterconfigs/
#Copy file to a new config
cp ~/.tanzu/tkg/clusterconfigs/6x4hl1wy8o.yaml tanzu-veducate-guest-azure.yaml
# Edit file = CLUSTER_NAME
# Workload cluster names must be 42 characters or less.
This is the first architectural components to be deployed for creating a TKG instance. The management cluster is a dedicated cluster for management and operation of your whole TKG instance infrastructure. A management cluster will have Antrea networking enabled by default. This runs cluster API to create the additional clusters for your workloads to run, as well as the shared and in-cluster services for all clusters within the instance to use.
It is not recommended that the management cluster be used as a general-purpose compute environment for your application workloads.
Tanzu Kubernetes (Guest) Clusters
Once you have deployed your management cluster, you can deploy additional CNCF conformant Kubernetes clusters and manage their full lifecycle. These clusters are designed to run your application workloads, managed via your management cluster. These clusters can run different Kubernetes versions as required. These clusters use Antrea networking by default.
These clusters are referred to as Workload Clusters when working with the Tanzu CLI.
I sometimes use the term “Guest” for these clusters, as a cross-over with the vSphere with Tanzu architecture, which has similar concepts as above however uses the terms “Supervisor Cluster” and “Guest Cluster”.
For this blog post, I’ll be deploying everything from my local Mac OS X machine. You will need the following:
2017 is kicking off with my third interview blog post, this time focusing on Dave Kawula, MVP and author focusing on Microsoft Technologies. Let’s kick off straight into the interview itself, Dave likes to type! Longest interview yet, but its a great read.
(Dave is the one on the left, little known fact, but there is more pictures of Dave and Clint Wyckoff together on twitter than Dave and his wife 🙂 )
The interview is split into three area’s of discussion;
Life and Worklife
Thoughts on the industry
Thoughts for those working in IT, and those wanting to work in IT
Lets kick off with a brief introduction of yourself
I’m a Microsoft Most Valuable Professional (MVP) with over 20 years of experience in the IT industry. My background includes data communications networks within multi-server environments, led architecture teams for virtualization, System Center, Exchange, Active Directory, and Internet gateways. Very active within the Microsoft technical and consulting teams, providing deep-dive technical knowledge and subject matter expertise on various System Center and operating system topics. Continue reading Interview – Dave Kawula – MVP, Consultant, Author→