SlideShare a Scribd company logo
1 of 13
Azure Kubernetes
Service (AKS)
PR OVISION IN G W ITH
TER R AFOR M
OC T 2022
Core Concept
Control plane
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
Control plane
• AKS Control plane
• Kubernetes Cluster Control Plane contains the services for orchestration the cluster e.g., for api server, scheduler, etc.
• It’s a single tenant
• With a dedicated API Server
• Interaction with control plane through Kubernetes API such as kubectl
• AKS Control plane types
• Single node (the common one for dev/test)
• Multiple nodes (the common one for prod + high availability (HA))
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
Node pool
• AKS must have at least one node pool, which is a system node pool.
• System node pool is for the control plane or core services.
• System node pool is Linux-based.
• System node pool must have at least one node.
• For the workloads, the user node pool must be used.
• User node pool can be Windows-based or Linux-based OS.
• A user node pool contains only the nodes of the same OS & size.
• User node pool can have even zero node. (for the cost optimization purposes)
Kubernetes node components
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#nodes-and-node-pools
• Kubelet -> The Kubernetes agent that processes the orchestration requests from
the control plane along with scheduling and running the requested containers
• Kube-proxy -> Handles virtual networking on each node. The proxy routes network
traffic and manages IP addressing for services and pods
• Container runtime -> Allows containerized applications to run and interact with
additional resources, such as the virtual network and storage
Resource reservations
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#nodes-and-node-pools
AKS uses node resources to orchestrate the node
Using AKS add-ons will consume additional node resources such as Container Insights (OMS)
Demo : check this command -> kubectl describe node [NODE_NAME] Admin
Resource reservations
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
Type of reserved resources
- CPU is reserved based on kube-reserved (millicore) for each CPU on host
- Memory
- Kubelet daemon
- Kubelet daemon functionality
- For Windows nodes, some additional memory reservation is required for system process
Node selectors
Node selectors -> in multiple node pools we may need to specify the node pool for the Kubernetes
Scheduler e.g., ingress controllers shouldn't run on Windows Server nodes
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#node-selectors
Watch in Terraform
Demo:
look at win and ubuntu
node pool
Pods
• Pods typically have a 1:1 mapping with a container.
• In advanced scenarios, a pod may contain multiple containers.
• Multi-container pods are scheduled together on the same node, and allow containers to share related
resources
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#pods
Watch in Terraform
Demo
StatefulSets and DaemonSets
Deployment controller
• StatefulSets -> maintain the state of applications beyond an individual pod lifecycle
• DaemonSets -> ensure a running instance on each node, early in the Kubernetes bootstrap process
If using the Virtual Nodes add-on, DaemonSets will not create pods on the virtual node
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
Namespaces
Namespaces
• Default -> pods and deployments are created by default when none is provided. In smaller
environments, you can deploy applications directly into the default namespace without creating
additional logical separations
• kube-system -> core resources exist, such as network features like DNS and proxy, or the Kubernetes
dashboard. You typically don't deploy your own applications into this namespace
• kube-public -> Typically not used, but can be used for resources to be visible across the whole cluster,
and can be viewed by any user
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
Watch in Terraform
Demo
AKS / Kubernetes wording
Kubernetes manifest file defines a cluster's desired state, such as which container
images to run
internal service which is accessible only internal / inside the cluster e.g., Redis
instance
external service Which is accessible from public internet e.g., for frontend
Next topic
AKS Security concept for applications and
clusters

More Related Content

Similar to AKS components

Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)sriram_rajan
 
Kubernetes #1 intro
Kubernetes #1   introKubernetes #1   intro
Kubernetes #1 introTerry Cho
 
Dockerization of Azure Platform
Dockerization of Azure PlatformDockerization of Azure Platform
Dockerization of Azure Platformnirajrules
 
Container orchestration k8s azure kubernetes services
Container orchestration  k8s azure kubernetes servicesContainer orchestration  k8s azure kubernetes services
Container orchestration k8s azure kubernetes servicesRajesh Kolla
 
Docker and kubernetes_introduction
Docker and kubernetes_introductionDocker and kubernetes_introduction
Docker and kubernetes_introductionJason Hu
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019Kumton Suttiraksiri
 
DevNetCreate - ACI and Kubernetes Integration
DevNetCreate - ACI and Kubernetes IntegrationDevNetCreate - ACI and Kubernetes Integration
DevNetCreate - ACI and Kubernetes IntegrationHank Preston
 
Containerization with Azure
Containerization with AzureContainerization with Azure
Containerization with AzurePranav Ainavolu
 
DevOps in AWS with Kubernetes
DevOps in AWS with KubernetesDevOps in AWS with Kubernetes
DevOps in AWS with KubernetesOleg Chunikhin
 
Docker and Azure Kubernetes service.pptx
Docker and Azure Kubernetes service.pptxDocker and Azure Kubernetes service.pptx
Docker and Azure Kubernetes service.pptxArzitPanda
 
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)petabridge
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to KubernetesVishal Biyani
 
Azure kubernetes service (aks) part 3
Azure kubernetes service (aks)   part 3Azure kubernetes service (aks)   part 3
Azure kubernetes service (aks) part 3Nilesh Gule
 
Docker y azure container service
Docker y azure container serviceDocker y azure container service
Docker y azure container serviceFernando Mejía
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetesDongwon Kim
 
Kubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxKubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxsatish642065
 
Kubernetes in Azure
Kubernetes in AzureKubernetes in Azure
Kubernetes in AzureKarl Ots
 
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueCloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueShapeBlue
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesRonny Trommer
 

Similar to AKS components (20)

Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)
 
Kubernetes #1 intro
Kubernetes #1   introKubernetes #1   intro
Kubernetes #1 intro
 
Dockerization of Azure Platform
Dockerization of Azure PlatformDockerization of Azure Platform
Dockerization of Azure Platform
 
Container orchestration k8s azure kubernetes services
Container orchestration  k8s azure kubernetes servicesContainer orchestration  k8s azure kubernetes services
Container orchestration k8s azure kubernetes services
 
Docker and kubernetes_introduction
Docker and kubernetes_introductionDocker and kubernetes_introduction
Docker and kubernetes_introduction
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
 
DevNetCreate - ACI and Kubernetes Integration
DevNetCreate - ACI and Kubernetes IntegrationDevNetCreate - ACI and Kubernetes Integration
DevNetCreate - ACI and Kubernetes Integration
 
Containerization with Azure
Containerization with AzureContainerization with Azure
Containerization with Azure
 
DevOps in AWS with Kubernetes
DevOps in AWS with KubernetesDevOps in AWS with Kubernetes
DevOps in AWS with Kubernetes
 
Docker and Azure Kubernetes service.pptx
Docker and Azure Kubernetes service.pptxDocker and Azure Kubernetes service.pptx
Docker and Azure Kubernetes service.pptx
 
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Azure kubernetes service (aks) part 3
Azure kubernetes service (aks)   part 3Azure kubernetes service (aks)   part 3
Azure kubernetes service (aks) part 3
 
Docker y azure container service
Docker y azure container serviceDocker y azure container service
Docker y azure container service
 
Amazon EKS Deep Dive
Amazon EKS Deep DiveAmazon EKS Deep Dive
Amazon EKS Deep Dive
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
 
Kubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxKubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptx
 
Kubernetes in Azure
Kubernetes in AzureKubernetes in Azure
Kubernetes in Azure
 
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueCloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to Kubernetes
 

Recently uploaded

How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

AKS components

  • 1. Azure Kubernetes Service (AKS) PR OVISION IN G W ITH TER R AFOR M OC T 2022 Core Concept
  • 3. Control plane • AKS Control plane • Kubernetes Cluster Control Plane contains the services for orchestration the cluster e.g., for api server, scheduler, etc. • It’s a single tenant • With a dedicated API Server • Interaction with control plane through Kubernetes API such as kubectl • AKS Control plane types • Single node (the common one for dev/test) • Multiple nodes (the common one for prod + high availability (HA)) https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
  • 4. Node pool • AKS must have at least one node pool, which is a system node pool. • System node pool is for the control plane or core services. • System node pool is Linux-based. • System node pool must have at least one node. • For the workloads, the user node pool must be used. • User node pool can be Windows-based or Linux-based OS. • A user node pool contains only the nodes of the same OS & size. • User node pool can have even zero node. (for the cost optimization purposes)
  • 5. Kubernetes node components https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#nodes-and-node-pools • Kubelet -> The Kubernetes agent that processes the orchestration requests from the control plane along with scheduling and running the requested containers • Kube-proxy -> Handles virtual networking on each node. The proxy routes network traffic and manages IP addressing for services and pods • Container runtime -> Allows containerized applications to run and interact with additional resources, such as the virtual network and storage
  • 6. Resource reservations https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#nodes-and-node-pools AKS uses node resources to orchestrate the node Using AKS add-ons will consume additional node resources such as Container Insights (OMS) Demo : check this command -> kubectl describe node [NODE_NAME] Admin
  • 7. Resource reservations https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads Type of reserved resources - CPU is reserved based on kube-reserved (millicore) for each CPU on host - Memory - Kubelet daemon - Kubelet daemon functionality - For Windows nodes, some additional memory reservation is required for system process
  • 8. Node selectors Node selectors -> in multiple node pools we may need to specify the node pool for the Kubernetes Scheduler e.g., ingress controllers shouldn't run on Windows Server nodes https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#node-selectors Watch in Terraform Demo: look at win and ubuntu node pool
  • 9. Pods • Pods typically have a 1:1 mapping with a container. • In advanced scenarios, a pod may contain multiple containers. • Multi-container pods are scheduled together on the same node, and allow containers to share related resources https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#pods Watch in Terraform Demo
  • 10. StatefulSets and DaemonSets Deployment controller • StatefulSets -> maintain the state of applications beyond an individual pod lifecycle • DaemonSets -> ensure a running instance on each node, early in the Kubernetes bootstrap process If using the Virtual Nodes add-on, DaemonSets will not create pods on the virtual node https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads
  • 11. Namespaces Namespaces • Default -> pods and deployments are created by default when none is provided. In smaller environments, you can deploy applications directly into the default namespace without creating additional logical separations • kube-system -> core resources exist, such as network features like DNS and proxy, or the Kubernetes dashboard. You typically don't deploy your own applications into this namespace • kube-public -> Typically not used, but can be used for resources to be visible across the whole cluster, and can be viewed by any user https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads Watch in Terraform Demo
  • 12. AKS / Kubernetes wording Kubernetes manifest file defines a cluster's desired state, such as which container images to run internal service which is accessible only internal / inside the cluster e.g., Redis instance external service Which is accessible from public internet e.g., for frontend
  • 13. Next topic AKS Security concept for applications and clusters

Editor's Notes

  1. Talk about: Based on the scenario select an appropriate vm size, Disk type SSD / HDD, Scale out number, consider the appropriate ip space for the network VM images can be Ubuntu Linux or windows server 2019 You can use the Azure Reservation as well
  2. Talk about: To maintain node performance and functionality, AKS reserves resources on each node. As a node grows larger in resources, the resource reservation grows due to a higher need for management of user-deployed pods
  3. Talk about: To maintain node performance and functionality, AKS reserves resources on each node. As a node grows larger in resources, the resource reservation grows due to a higher need for management of user-deployed pods
  4. Talk about When you create a pod, you can define resource requests to request a certain amount of CPU or memory resources You can also specify maximum resource limits to prevent a pod from consuming too much compute resource from the underlying node Best practice is to include resource limits for all pods to help the Kubernetes Scheduler identify necessary, permitted resources
  5. Talk about
  6. Talk about