(Highly available, secure, and fully managed Kubernetes service)

Azure Kubernetes Service (AKS) manages your hosted Kubernetes environment, making it quick and easy to deploy and manage containerized applications.


Create AKS cluster using Azure Portal

Sign in to the Azure portal at https://portal.azure.com.

If you don’t have an account, sign up for the free tier. You will get a $ 200 credit with 1-month validity.

Step 1: In the top search bar, search with AKS and click on “Kubernetes Service” and click on “Add”

Labels selectors are core grouping primitive in Kubernetes. They are used by the users to select a set of objects. Kubernetes API currently supports two types of selectors − Equality-based selectors.

Labels and selectors

You can constrain a pod to run only on particular nodes. The recommended approach to do this is to use label selectors to make the selection.

Types of Kubernetes Selector

Following are the types of Kubernetes selector.

namespaces in Kubernetes

Kubernetes namespace is an abstraction to support multiple virtual clusters on the same physical cluster.

You can have multiple namespaces within one Kubernetes cluster, and they are all logically isolated from one another.

Namespaces provide a logical separation of cluster resources between multiple users, teams, projects, and even customers. Namespaces are how to divide cluster resources between multiple users (via resource quota).

Namespaces have below functionalities and on basis of the same we tend to use will use them.

  • Within the same Namespace, Pod to Pod communication.
  • Namespaces are virtual cluster sitting on top of physical cluster.
  • Namespaces provide a…

DaemonSets in Kubernetes Cluster

Like other controllers, DaemonSets manage groups of replicated Pods.

However, DaemonSet ensures that all or selected Worker Nodes run a copy of a Pod (one-Pod-per-node).

As you add nodes, DaemonSets automatically add Pods to the new nodes. As the nodes are removed from the cluster, those Pods are garbage collected.

Here is the manifest of DaemonSet:

apiVersion: apps/v1
kind: DaemonSet
name: fluentd
namespace: kube-system
k8s-app: fluentd
name: fluentd
name: fluentd
- name: fluentd
image: fluentd:latest

Create a daemonset:

kubectl create -f daemonset.yamldaemonset.apps "fluentd" created

Check the pod running:


Google Kubernetes Engine (also known as GKE) is a managed, production-ready environment for running Docker containers in the Google cloud.


It permits you to form multiple-node clusters whereas conjointly providing access to any or all Kubernetes options.

I have added all technical blogs in this publication, Interested ones can follow this publication in the medium for all the latest articles of Cloud / DevOps and Kubernetes

Monitoring is one of the key components for managing large clusters. For this, we have a number of tools.

pic Credits https://mpraski.com/

Monitoring with Prometheus

It is a monitoring and alerting system. It was built at SoundCloud and was open-sourced in 2012. It handles the multi-dimensional data very well.

Prometheus has multiple components to participate in monitoring −

  1. Prometheus − It is the core component that scraps and stores data.
  2. Prometheus node explores − Gets the host level matrices and exposes them to Prometheus.
  3. Ranch-eye − is a proxy and exposes cAdvisor stats to Prometheus.
  4. Grafana − Visualization of data.
  5. InfuxDB − Time series database specifically…

credits Me and Open source

Persistent Volumes

A PersistentVolume (PV) is a storage resource in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes.

Static Provisioning:

A cluster administrator creates several PVs. They carry the details of the real storage, which is available for use by cluster users.


Before you can use an EBS volume with a Pod, you need to create it.

aws ec2 create-volume \--availability-zone=eu-west-1a \--size=100 \--volume-type=gp2PersistentVolume spec:


apiVersion: v1
gcePersistentDisk: ~
kind: PersistentVolume
name: test-volume
- ReadWriteOnce
fsType: ext4
volumeID: ~
storage: 100Gi

Jobs & Cron jobs

In this article, we will learn how to schedule jobs and cronjobs to Kubernetes Cluster.

A job creates one or more Pods and will continue to retry execution of the Pods until a specified number of them successfully terminate. As pods are completed, the Job tracks the successful completions. When a specified number of successful completions is reached, the task (ie, Job) is complete. Deleting a Job will clean up the Pods it created.

A simple case is to create one Job object to reliably run one Pod to completion. The Job object will start a new Pod if the…

Services are at the core of modern software architecture. Deploying a series of standard, little (micro-)services instead of massive monoliths provides developers the flexibleness to figure in several languages, technologies, and unharness cadence across the system; leading to higher productivity and speed, particularly for larger groups.

With the adoption of microservices, however, new issues emerge because of the sheer variety of services that exist in a very larger system. issues that had to be resolved once a stone, like security, load equalization, monitoring, and rate-limiting have to be compelled to be handled for every service.

Istio & Kubernetes

Moving to microservices network challenges

  1. Network Reliability
  2. Fault tolerance and…

Kubernetes Advocate

DevOps and Kubernetes Engineer with hands-on experience supporting, automating, and optimising mission critical CI/CD deployments in AWS, Azure and GCP Platform

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store