Access or Expose MySQL/MariaDB Service from outside of Kubernetes Cluster

How to access Pods running with MySQL/MariaDB/Other App’s services running with specified ports outside the Kubernetes from the internet?

Nginx Ingress controller typically expose web services running on HTTPS(443) and HTTP(80). In addition to the web ports, using TCP or UDP Services Configmap, TCP ports can also be exposed as ingress with respect to the application service.

Why is it required to access the above services?

Though Phpmyadmin can be run in the K8S cluster but not everyone are comfortable with it. I prefer using HeidiSQL on Windows and Dbeaver on Debian/Ubuntu. So, I had to expose the MariaDB service over the internet using an Ingress along with Letsencrypt/CertManager which runs on Metal LB.

Continue reading “Access or Expose MySQL/MariaDB Service from outside of Kubernetes Cluster”

Configure iSCSI target for ContainerD storage for K3S Cluster on Raspberry Pi 4

In my previous blog we removed SD cards from Raspberry Pi’s running with K3S Kubernetes cluster and replaced them with PXE network boot and NFS tmpfs filesystem. Though it was successful there was a lot of ContainerCreatingError’s with Context Deadline Exceeded errors. It was mainly due to the limitation of Raspberry Pi’s network configuration of not supporting Jumbo frames by default. Due to this, NFS performance was limited and IO wait was very high.

Continue reading “Configure iSCSI target for ContainerD storage for K3S Cluster on Raspberry Pi 4”

Run Raspberry Pi 4 without SD Cards by using QNAP NAS PXE Network Booting

Why without SD Cards?

Though SD cards comes with different speeds and sizes they are still less reliable and low performers compared to HDD and SSD. Especially when you run a I/O intensive workloads like K3S cluster running with 100’s of Apps hosted on them would rip-apart these SD cards in a matter of few months. I had a situation where 2 SD Cards failed in 7 Node Raspberry Pi 4 cluster. It was a painful exercise to get a new cards, flash them with Pi OS Image, reinstall all the stuffs back again and join back to the cluster. Nightmare experience isn’t it?

Here is a detailed v/blog by Jeff Geerling who has done an excellent job in terms benchmarking various different SD cards, USB drives etc. BTW I consider him as my My Dronacharya 🙂 I learned so many things by watching, reading and repeating in my lab setup. To sum-up, Advantages of using NAS are Availability, Better Performance, large storage, and Easy Maintenance to name a few.

Continue reading “Run Raspberry Pi 4 without SD Cards by using QNAP NAS PXE Network Booting”

Summary of “The Ikigai Journey” by Hector Garcia and Francesc Miralles

We (Hector and Francesc) got hundreds of messages and letters from readers enthusing about how Ikigai had inspired them, but they also asked us: how do I find my Ikigai? I know what my life’s passion is, but I am always so busy with my responsibilities I hardly have time for my Ikigai. How can I realize my dream?

We authors have asked ourselves the same questions. For that reason, we resolved that our next project would be entirely practical and would help both ourselves and our readers to find and empower all aspects of our Ikigai.

Continue reading “Summary of “The Ikigai Journey” by Hector Garcia and Francesc Miralles”

Meditative Attitudes for Mindfulness

One of my best friends shared on WhatsApp – “Health is the greatest Gift, Contentment the greatest Wealth, and Faithfulness the best Relationship” ~ Buddha. The following meditative attitudes are essential to success in practice by which we would reach the pinnacle of meditation. Most of them have already been known to us, but let us see them again here as a series of rules for application to ourself’s body, mind, and soul.

Continue reading “Meditative Attitudes for Mindfulness”

Agile is Fragile, handle with CARE


Before we start to know whether the title of this blog makes sense or not. Let’s start with Why Agile?

Agile is the movement that started to embrace change. Change starts by replacing

“We give up too easily. With a simple change of attitude, what seem like insurmountable obstacles become once-in-a-lifetime opportunities”. This quote is from the book Obstacle is the Way by Ryan Holiday.  Agile Values and Principles help to achieve milestones with minimal iterations, and can easily adapt to the constant changes. Although Agile is most widely used in software development, it is very relevant to other domains/industries as well like real estate, healthcare, logistics, media, etc…Now we know that Agile is not a framework or a methodology but a set of 4 Values and 12 Principles defined by a group of people in the 1990s.


Agile is FR-Agile for the organizations because Agile is not Agile when it comes to implementing the values and principles across the board. It requires one of the critical investments from the Leaders which is Mindset. A consistent top-down approach to promoting and rolling out AGILE-based ‘micro changes’ in the organization one business unit at a time is crucial. This way instead of doing big-bang changes ending with futile results; micro-changes help to adapt AGILE swiftly with a clear path to success and a high level of control. “All big things come from small beginnings. The seed of every habit is a single, tiny decision. But as that decision is repeated, a habit sprouts and grows stronger. Roots entrench themselves and branches grow. The task of breaking a bad habit is like uprooting a powerful oak within us. And the task of building a good habit is like cultivating a delicate flower one day at a time.” This quote is from the book Atomic Habits by James Clear.


It is FR-Agile if organizations don’t implement it properly which prevents velocity and creativity. Also impacts the outcome of products or services due to siloed approach and differences in priorities between the teams who have to perform their own set of tasks or steps. Automation is a concept rather than a single application. It supports a variety of use cases from all aspects and roles in Agile.  To implement automated processes within your organization, think of a single musician. They can play anywhere, and it doesn’t require much coordination. Now, think of an orchestra. Things are getting more complicated. You need someone to make sure each musician plays their part at the right time. You need to put them in order to avoid chaos, and the same logic applies when orchestrating automated tasks. AGILE provide teams with the freedom and flexibility to do their best and most innovative work by removing monotonous and mundane tasks. “Scrum without automation is like driving a sports car on a dirt track – you won’t experience the full potential, you will get frustrated, and you will probably end up blaming the car…”Ilan Goldstein


Sadhguru quotes “Reactivity is enslavement, Responsibility is freedom”. Agile is FR-Agile when the leaders begin transforming the organization without transforming themselves. Agile clicks when leaders share the right inclusive mindset to architect and co-create a transformation journey beginning with Culture. Leaders should be taking an outcome-based approach, rather than practice-driven, focusing activity on results rather than just “doing” Agile. Agile accelerates the pace of business processes from decision-making to communication to products or services transformation to delivery. Resistance and chaos in employees to accept Agile might retard growth further until the learning curve ends. Once the integration is complete and teams truly practice AGILE using available frameworks like SCRUM, XP, Kanban, etc… Leaders can accelerate and adapt to Agile across the organization which naturally becomes the new status quo. “Success today requires the agility and drive to constantly rethink reinvigorate, react and reinvent” – Bill Gates.


Agile is FR-Agile when autocratic leaders like in the old school want to build their empire with meticulous attention to every detail utterly fail in AGILE adoption. Those leaders are renowned for being a perfectionist and demand the same of those who work for them should not think about AGILE. Leaders should focus on setting strategic direction based on insights while ensuring structures are in place to keep gathering and assimilating product insights. Organizing teams so that each is empowered to pursue key problems by staffing, skilling, and coaching teams on Purpose, Process, and Technology. When team members are empowered they will have a heightened focus on customers by solving business problems. Leaders become great not because of their power, but because of their ability to empower others.

Successful organizations offer great products and services that delight their customers. Systems design tells us to build with the customer in mind, to work with them closely, to build in small increments, and then seek feedback, so that we better understand what will actually delight them. As disciplined leaders, we embrace change because we know that our stakeholders will change their minds as they learn what they truly want as the solution evolves. “It’s the agile leader’s job to create an environment in which people and teams grow, work together, laugh, build trust, and feel proud on the things they do for their customers.” –

Benefits for the customer


An Agile transformation benefits are many as listed below. Any enterprise‑wide transformation needs to be both comprehensive and iterative. It needs to touch every part of the business, from culture, purpose, strategy, structure, people, process, and technology. Leaders with an Agile mindset, have to be prepared and really expect that not everything will be planned upfront. It will be an evolving process that will most likely take years, not weeks or months, to complete. I don’t say this to discourage you, but rather to prepare you. An Agile transformation is disruptive and potentially stressful, but the benefits are clear. You’ll energize the business by empowering employees to be more creative and innovative. You’re going to see performance improvements. It will enhance growth and profitability, and maybe, more importantly, increases both customer and employee net promoter scores.

Thank you so much for stopping by, and I hope you may like the below-suggested blogs as well. If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend or sharing it on your social platforms.

K3S Not Running on Raspberry Pi 4B w/ Ubuntu 21.10

If you get this message in /var/log/syslog 
VXLAN config: VNI=1 Port=0 GBP=false Learning=false DirectRouting=false

Install Modules and Addl packages below and reboot

sudo apt install linux-modules-extra-raspi 

For more info refer -

Integration of Zabbix with Slack and Email

“Technology makes it possible for people to gain control over everything, except over technology.”John Tudor.

I’m trying to manage the bunch of Raspberry Pi 4B cluster nodes using the Zabbix Monitoring Tool. Please refer to my previous blog post on how to install and configure Zabbix containers here.

Continue reading “Integration of Zabbix with Slack and Email”

Raspberry Pi K3S Kubernetes Multi Master High Availability Cluster with MySQL

In my previous blog, I’ve showed the installation of Kubernetes cluster using Raspberry Pi’s. It was working very well until recently, when one of the SD cards failed. This is due to heavy R/W’s on the disks thanks to etcd and logging.

In this blog, you’ll see how to setup Rancher K3S Kubernetes Cluster with external database MySQL/PostgreSQL

Continue reading “Raspberry Pi K3S Kubernetes Multi Master High Availability Cluster with MySQL”

Out of Band Monitoring of Kubernetes Cluster using Containerized Zabbix

Why Out of Band Monitoring (OOBM)?

The advantage OOBM is its reliability when the internal network is down, a node is down, or rebooting, crashing, or otherwise inaccessible. OOBM can be used to remotely monitor device’s capacity and performance metrics, other items etc.. The core idea is to preserve information of monitoring data outside of the Kubernetes cluster.
Software management tools such as Zabbix can be used for capacity and performance monitoring, and some remote troubleshooting, alerting via email, slack and the plethora of ChatOps tools only work when the network is up!

Disruption and downtime are minimized by providing better visibility of both physical environment and status of equipment. This ensures business continuity through improved uptime, efficiencies and faster recoveries from the outages.

Continue reading “Out of Band Monitoring of Kubernetes Cluster using Containerized Zabbix”