Topics Discussed:
- AKS Introduction.
- Working of AKS
- AKS DEMO & Walkthrough
- Deploying an application
- AKS networking
- AKS Storage
- AKS Security
- AKS and Azure Active Directory
What is AKS?
- AKS is a managed Kubernetes Cluster in Azure by offloading the operational overhead to Microsoft Azure
- As a hosted Kubernetes service, Azure handles critical tasks, like health monitoring and maintenance.
Why AKS?
- The master node is fully managed by Azure
- Azure manages health monitoring and maintenance.
- You have to manage only the agent node.
- Master nodes are free, pay only for agent nodes.
Features of AKS
- Simple to deploy and manage
- Identity & management
- Logging and monitoring
- Scaling of Cluster nodes
- Cluster node Update
AKS Components
- Pods
- Deployments
- Services
- Ingress
- ConfigMaps
- Secrets
- Storage class
Understanding AKS Workloads and Networks
- Pods consist of one or more containers that are always scheduled together
- Each pod is given a unique IP address
- Containers in a pod can speak to each other via localhost
- Deployments allow you to easily scale and perform rolling upgrades
- Deployments will fetch the image and communicate with the rest of the services.
AKS Storage
- Data stored in a pod is volatile
- Multiple pods share the same data volume.
- Storage class – Allows for dynamic provisioning of Persistent volumes
- Persistent Volume(PV) – Representation of storage volume
- Persistent Volume Claim – Claims a PV with satisfying condition
- Abstraction is for ease of use
- First, the storage class is created then the Persistent Volume, and finally PVC is linked to the node
AKS Security
- The Master cluster is fully managed by Azure
- Nodes are automatic security patches
- Secrets and credential keys are stored in Kube secrets
- Configurations are stored in Config maps
- The private network will handle the network security.
AKS & Azure Active Directory
- AD is an integrated identity solution for accessing AKS
- Use service account, user account, and RBAC.
- Configure cluster roles and role binding
Useful Links
- GitHub: https://github.com/DevOps-Malayalam/AKS-Zero-toHerohttps://kubernetes.io/docs/tasks/tools/
- Lens : https://k8slens.dev/
- Azure-CLI : https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
- Kubectl : https://kubernetes.io/docs/tasks/tools/