Urgent.News

What's breaking now, across thousands of outlets.

Tech

Kubernetes on AKS: From Zero to Production Workloads -Creating the AKS Cluster (Part 2/9)

Introduction Provisioning a Kubernetes cluster is the next step after preparing the development environment. In this part of the series, I moved from local tooling setup to creating an Azure Kubernetes Service (AKS) cluster, connecting kubectl to it, verifying the cluster, and preparing a dedicated namespace for workloads. The objective was to establish a working Kubernetes environment on Azure…

This article is a step-by-step guide for creating an Azure Kubernetes Service (AKS) cluster and preparing it for production workloads. The article is divided into 9 parts, and this portion covers the process of provisioning the AKS cluster, connecting kubectl to it, verifying the cluster, and creating a Kubernetes namespace.

First, the lab configuration was loaded by sourcing the lab.env file containing environment variables such as resource group name, cluster name, Azure region, and node size. The resource group was checked for existence and created if it did not exist.

Next, an AKS cluster was provisioned using the az aks create command with various parameters. The provisioning state 'Succeeded' confirmed successful cluster creation.

To allow local kubectl to communicate with the AKS cluster, credentials were retrieved using az aks get-credentials command, which merged the cluster credentials into the local kubeconfig file and selected the 'aks-lab' context. The current context was confirmed using kubectl config current-context command.

The cluster's status was verified by checking the node status with kubectl get nodes -o wide command. The output showed the node was in the Ready state, indicating it was ready to accept workloads.

The cluster information was checked using kubectl cluster-info command, which provided details about the control plane and its endpoints. The system pods running in the kube-system namespace were inspected using kubectl get pods --namespace kube-system command, ensuring that essential cluster components were operational and in the Running state.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A Major-style live broadcast overlay for CS2 with Game State Integration

Watching Major tournaments, the broadcast overlay always caught my eye: every player's health, money and weapons, the killfeed, the bomb timer. I wanted to build something like it for my own matches.

  • Major-style overlay displays real-time player data during CS2 matches
  • Game State Integration pulls player stats via JSON updates
  • Overlay built with HTML, CSS, JavaScript, updates at 10 updates/second

Lazy Loading in React

What Is Lazy Loading? Lazy loading in React is a technique that loads a component only when it is needed instead of loading all components at the beginning of the application.

  • Lazy loading loads components only when required
  • Improves performance by decreasing initial bundle size
  • Implemented using React.lazy() and Suspense

Lalibela's builders carved downward. Some of your deploys are the same

High in the Lasta mountains of northern Ethiopia, about 645 kilometres from Addis Ababa, there is a town where the churches are not built. They are carved.

  • Builders carved Lalibela churches downward from solid volcanic rock
  • Lalibela holds eleven medieval churches, UNESCO World Heritage Site since 1978
  • Construction method demands careful planning and execution, no room for mistakes

Kilwa grew rich on gold it never mined. Is your product built on someone else's route?

In 1944, an Australian soldier named Maurie Isenberg was posted to a radar station on Marchinbar Island, in the Wessel Islands off the far north coast of Australia. In his spare time he went fishing.

  • Kilwa thrived 9th-19th centuries without mining gold.
  • Controlled gold flow from Great Zimbabwe, not mining.
  • Decline due to reduced Zimbabwe gold, Portuguese pressure.

More from Monday 26 October →