How to Setup Kubernetes in Azure Virtual Machines

Welcome to the hard way of installing Kubernetes in Azure Virtual Machines. The instructions will be moreover same for On-prem. For many developers, using managed Kubernetes services like GKE, EKS, or AKS can be convenient, but they often abstract away the intricate details of how a cluster operates under the hood. Requirements NODES IP HOSTNAME MACHINE TYPE OPERATING SYSTEM master 172.16.39.14 k8s-master.local Standard B2ms Ubuntu 24.04 k8s-worker1 172.16.39.23 k8s-worker1.local Standard B4ms Ubuntu 24.04 Provisioning the Servers in Azure To provision two Linux virtual machines (VMs) in Azure with the specified details, you can use the Azure CLI (az) to achieve this. Here’s how you can provision both machines using az vm create commands. ...

September 12, 2024 · 16 min · 3353 words · Dan

How Programmers Can Become 10X More Effective

In a world where technology is ever-evolving, programmers are constantly seeking ways to enhance their skills and productivity. A treasure trove of wisdom that is often overlooked in the tech community is Stephen Covey’s iconic book, “7 Habits of Highly Effective People.” Sahil, a YouTuber, sheds light on how this book can be a game-changer for programmers aspiring to amplify their effectiveness tenfold. 1. The Essence of Proactivity in Programming Covey distinguishes between reactive and proactive individuals, drawing a parallel with programmers. Reactive programmers might wait for a life-changing tutorial or a list of interview questions to boost their career. In contrast, proactive programmers take ownership of their growth. They invest time in understanding the fundamentals, practicing coding, and building projects. This mindset shift from dependency to self-reliance is crucial for any programmer aiming for excellence. ...

September 12, 2024 · 3 min · 536 words · Dan

How I Started a YouTube Channel and Got 100K Subscribers in 6 Months (Even Though I Got Copyright Strikes)

During the COVID-19 lockdown, people had differing views: some felt it could be the end, while others saw it as an opportunity to start something new. One common thread was that everyone was glued to their smartphones. YouTube trends during the pandemic showed skyrocketing watch times since everyone was either watching videos or sleeping. YouTube Shorts started gaining more traction over time, particularly those related to motivation. Everyone needed motivation because those were the tough times. ...

September 12, 2024 · 5 min · 979 words · Dan

How Does TLS Works Under the Hood

In the cold winter of 1944, Germany’s once-unbreakable Enigma code had been compromised by the Allies. With every intercepted message, their plans were at risk of exposure, and entire operations could be jeopardized. In response, German High Command devised a new, unbreakable system of communication. They called it Operation Valkyrie. This wasn’t just another machine like the Enigma; this was a new system that couldn’t be cracked, even if the messages were intercepted. Colonel Franz Richter, a seasoned officer in charge of communications, knew that their most sensitive military orders would need to be protected more securely than ever. He gathered his top commanders, including Major Klaus Weber, to unveil the system that could change the course of the war. ...

September 12, 2024 · 5 min · 916 words · Dan

A Beginners Guide to Vim Shortcuts

Vim is a highly configurable text editor used in programming. It’s known for its efficiency, enabling users to navigate and edit documents with minimal use of the mouse. This blog post will introduce you to the most important Vim shortcuts and commands, making your coding journey smoother and more efficient. Understanding Vim Modes Before we dive into the commands, it’s crucial to understand Vim’s modes. Vim operates in several modes, each with a specific purpose: ...

September 12, 2024 · 3 min · 563 words · Dan