DEV Community

Rajesh N
Rajesh N

Posted on

How to control the cluster nodes recreation in Tanzu

In a Tanzu Kubernetes cluster, the Supervisor cluster continuously monitors and reconciles the cluster. If any worker node fails to respond within the monitoring interval, it is marked as failed, and a new worker node is created to replace it. However, this operation may not always be accurate. If you plan to perform any maintenance on the Tanzu environment, it is necessary to pause the cluster reconciliation; otherwise, you may see many nodes being recreated.

If you are planning any network maintenance within your organization and expect any storage latency or network latency/interruption, it is better to pause the cluster reconciliation.

How to Pause the Cluster Reconciliation

Login to the Supervisor Node:
root@vcenter [ ~ ]# sshpass -p /usr/lib/vmware-wcp/decryptK8Pwd.py |grep PWD |awk '{print $2}' ssh -o StrictHostKeyChecking=no root@/usr/lib/vmware-wcp/decryptK8Pwd.py |grep IP |awk '{print $2}'

To Pause the Cluster Reconciliation:
kubectl patch cluster --type merge -p '{"spec":{"paused": true}}' -n tanzu-vns tanzu-cluster

To Resume the Cluster Reconciliation:
kubectl patch cluster --type merge -p '{"spec":{"paused": false}}' -n tanzu-vns tanzu-cluster

Image of AssemblyAI tool

Transforming Interviews into Publishable Stories with AssemblyAI

Insightview is a modern web application that streamlines the interview workflow for journalists. By leveraging AssemblyAI's LeMUR and Universal-2 technology, it transforms raw interview recordings into structured, actionable content, dramatically reducing the time from recording to publication.

Key Features:
🎥 Audio/video file upload with real-time preview
🗣️ Advanced transcription with speaker identification
⭐ Automatic highlight extraction of key moments
✍️ AI-powered article draft generation
📤 Export interview's subtitles in VTT format

Read full post

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay