Azure Kubernetes Services (AKS) - Key Features
Hands-On Getting Started
AKS Running in Localhost
Creating AKS cluster
Deploying Database
Deploying Apps
Kubernetes ingress
Adding TLS/SSL
Scaling options in AKS
AKS cluster monitoring
Azure Kubernetes Service (AKS) – Introduction
Overview
This is a step by step practical guide for implementing end-to-end microservice docker based architecture using Kubernetes on top of Azure Kubernetes Service [AKS]. The practical guide will takes you through the steps of creating a Kubernetes cluster, deploying a SQL server database & microservices-based application, load balancing and securing inbound traffic, scaling option in AKS and how can you monitor your cluster in production environment.
At the end of this practical guide you will understand AKS inside out, and will be able to design and implement production ready Kubernetes clusters.
The K8s cluster will be hosted on AKS and integrated with azure container register for hosting the container images. AKS RBAC and Azure Active directory will be used to authenticate and authorize access to the AKS cluster and Azure monitor will be used to monitor the cluster.
We are using https://icodeforu.com
website for hosting on this cluster
Target Audience
- Developers and architects looking to learn azure kubernetes services
- Beginners who would like to explore the world of cloud native concepts
- Beginners looking to learn administrating kubernetes clusters
Prerequisites
We assume anyone who wants to understand Kubernetes should have an
- Understating of how the Docker works,
- How the Docker images are created, and how they work as a standalone unit.
- To reach to an advanced configuration in Kubernetes one should understand basic networking and how the protocol communication works.
- Familiar with cloud computing and IT concepts
- Familiar with containers is an advantage
Contents
- Azure Kubernetes Service (AKS) – Introduction
- Overview
- Target Audience
- Prerequisites
- What Is Azure Kubernetes Service (AKS)?
- Kubernetes ─ Master Machine Components
- Kubernetes ─ Node Components
- Kubernetes Architecture Components
- Kubernetes ─ Master Machine Components
- Kubernetes ─ Node Components
- Installation and local Setup
- Reference Architecture
- AKS Running in Localhost
- Creating AKS cluster
- Creating AKS cluster part 2
- Creating AKS cluster part 1
- Testing cluster connection & creating namespace
- Deploying SQL Database using Helm
- Deploying SQL Database
- Wrapping DB connection string in a k8s secret
- Deploying Applications & Microservices
- Create Azure Container Registry
- Push Container to registry
- Verify Container registry image
- Deploying the back-end API part 1
- Deploying the back-end API part 2
- Adding k8s service to the back-end
- Deploying the front-end
- Adding k8s service to the front-end
- Establish AKS specific credentials
- Launch an AKS cluster
- Deploying k8s ingress controller
- Deploying k8s ingress controller part 1
- Deploying k8s ingress controller part 2
- Adding TLS/SSL to the ingress
- K8s horizontal pod autoscaler [HPA]
- K8s horizontal pod autoscaler [HPA]
- HPA in action
- AKS cluster autoscaling
- Integrating AKS with Azure Monitor
- AKS Storage and Networks
- AKS storage overview
- Creating storage classes
- Storage: Persistent claims
- Shared volumes
- Create resource for shared volume
- Challenge: Lost volumes
- Solution: Find and remove PVs
- Networking and AKS
- Load balancing and Ingress: Setup