HoussemDellai

Azure App Service Domain module for Terraform

Problem You can create a custom domain name in Azure using the `App Service Domain` service, either through the Azure Portal or the Azure CLI. However, this capability is not yet supported in the Azure Terraform provider.  For most enterprises, managing domain names through Infrastructure as Code (IaC) tools like `Terraform` may not be a […]

Azure App Service Domain module for Terraform Continue Reading

Controlling AKS egress using an HTTP Proxy

Azure Kubernetes Service (AKS) clusters, whether deployed into a managed or custom virtual network, have certain outbound dependencies necessary to function properly. Previously, in environments requiring internet access to be routed through HTTP proxies, this was a problem. Nodes had no way of bootstrapping the configuration, environment variables, and certificates necessary to access internet services.

Controlling AKS egress using an HTTP Proxy Continue Reading

AKS Egress Traffic demystified

Introduction Welcome to this lab where we will explore the different outbound types in Azure Kubernetes Service (AKS). Outbound traffic refers to the network traffic that originates from a pod or node in a cluster and is destined for external destinations. Outbound traffic will leave the cluster through one of the supported load balancing solutions

AKS Egress Traffic demystified Continue Reading

Kubernetes External DNS for Azure DNS & AKS

Introduction After deploying an application and its services into a Kubernetes cluster, a question rises on the surface, how to access it with a custom domain name ? A simple solution would be to create an A record that points the domain name into the service IP address. This could be done manually, so it

Kubernetes External DNS for Azure DNS & AKS Continue Reading

Public and private AKS clusters demystified

Introduction Azure Kubernetes Service (AKS) is the managed kubernetes service in Azure. It has two main components: worker nodes and control plane. The worker nodes are the VMs where customer applications will be deployed into. The control plane is the component that manages the applications and the worker nodes. A Kubernetes operator like a user,

Public and private AKS clusters demystified Continue Reading

Private AKS and ACR Using Private Endpoint – Part 2/2

Introduction The objective of this tutorial is to create a private environment for AKS, ACR and a JumpBox VM. AKS and ACR will be accessible only through Private Endpoint. As of part 1, our VM did connect securely through Private Endpoint to the private AKS cluster. In this next part, we’ll cover the remaining steps:

Private AKS and ACR Using Private Endpoint – Part 2/2 Continue Reading

Private AKS and ACR Using Private Endpoint – Part 1/2

Introduction  Many companies use AKS to deploy their containerized workloads. To secure their infrastructure, they make it private. They also make the Azure Container Registry private. As a result, no external access is allowed outside of the company network boundary. Access to this private environment will be done through the resource VNET, peered VNET, VPN

Private AKS and ACR Using Private Endpoint – Part 1/2 Continue Reading

Kubernetes Nodepools Explained

Introduction This article will explain and show the use cases for using Nodepools in Kubernetes: What are nodepools? What are System and User nodepools? How to schedule application pods on a specific nodepool using Labels and nodeSelector? How to allow only specific application pods to be scheduled on a nodepool using Taints and Tolerations? How

Kubernetes Nodepools Explained Continue Reading

Network Policy in Kubernetes using Calico

Introduction to the problem All pods in Kubernetes can reach each other. For example, the frontend can reach the backend and the backend can reach the database. That is expected and normal. But this openness can make problems like: That would be a security issue. We want to apply the principle of least privilege from

Network Policy in Kubernetes using Calico Continue Reading

Getting Started with Logging Using EFK on Kubernetes

Introduction After creating a Kubernetes cluster and deploying the apps, the question that rises is: How can we handle the logs? One option to view the logs is using the command: kubectl logs POD_NAME. That is useful for debugging. But there is a better option suited for production systems. That is using EFK. The rest

Getting Started with Logging Using EFK on Kubernetes Continue Reading