In my first blog post HERE I started test driving the Modern Application Platform tool (aka vSphere K8s Console fling) and went through the process of deploying and configuring the MAP appliance and UI and then I created a Tanzu cluster using MAP on top of TKGs as cluster provider.
In part II of this blog series I will be using MAP to deploy some operational services (for example Contour & Grafana) to Tanzu clusters and then will be upgrading one of the attached clusters to a higher TKG version using MAP.
For software versions I used the following:
For virtual hosts and appliances sizing I used the following specs:
We need to ensure that we meet the below requirements:
Operational services add extra functionality to your Tanzu cluster, such as Contour for Ingress, Prometheus and Grafana for metrics collection and monitoring in addition to other functionalities.
I have already deployed Octant to one of my TKG clusters, so I will be deploying Fluent Bit tool in this section.
To deploy operational services, just login to your MAP UI and under Cluster Management choose Operational Services and then click on ADD SERVICE
Choose on which cluster you want to deploy the service
Validate the service deployment and then Click on ADD
Now, give it sometime till MAP deploys the required container images and configure the cluster, if successful you should see the service as Ready
You can check the status of the fluent-bit pods and make sure that they are all in Running state
You can also see under Overview that there is a deployed service
One of the important aspects of multi-cluster management is the ability to monitor nodes utilisation and states of the running workloads (pods, jobs, daemonsets and so on.). MAP offers a very simple yet effective means of providing fundamental usage and state info of your TKG clusters.
From MAP UI, navigate to Clusters and click on the Cluster you want to get more information about
You can see under Summary some basic information about the cluster components
Click on Computes and then on View which is next to any of the cluster nodes
You can see details of the node
Patching and upgrading are very common operational tasks and in a multi-cluster world, a one-click approach for upgrades comes in very handy. MAP keeps track of your TKG cluster deployments and suggests upgrades when your deployment is “too old” such as my Caffeine TKG cluster which running Kubernetes 1.19.11. It is important to mention that MAP will need to pull the upgrade images from image templates in vCenter, which implies that you have to upload your TKG images and create them as templates in vCenter before you can deploy or upgrade TKG clusters using MAP (if you need guidance on how to create image templates in vCenter check one of my previous blog posts HERE).
From Clusters, click on the cluster that you want to upgrade (Caffeine in my case) and then click on Upgrade
Then you need to select a version from the list of supported versions and then click on CONFIRM
I chose version 1.20.12 and once I clicked on confirm I was able to see in vCenter that a process of deploying new OVF template has been started and MAP is busy rolling out a new cluster with the TKG image I selected.
After about 20 minutes, I got my cluster nicely upgraded to v1.20.12
Although Modern Application Platform is a community driven fling, it is yet very handy tool for multi-cluster management in test/dev and/or air-gapped Tanzu environments.
Hope you have enjoyed and learned something from this blog post. Thanks for reading!
Overview NSX Advanced Load Balancer (a.k.a Avi) offers variety of advanced load balancing and application…
Overview With the release of VMware NSX 4.0 VMware announced the deprecation of NSX standard…
Overview Backup and restore is the main building block in any organisation's disaster recovery policy…
Overview In this blog post I am going to walk you through the configuration of…
Overview NodePortLocal is a feature that is part of the Antrea Agent, through which a…
Overview In part two of this blog post, we will be using NSX DFW to…