SlideShare a Scribd company logo
1 of 19
Container
Orchestrators
- K8s, AKS
Rajesh Kolla
Full-stack development ,Azure Architect
Email: rajesh.kolla01@outlook.com
Twitter: @RajeshKolla18
LinkedIn: https://be.linkedin.com/in/razeshkolla
Agenda
• Why do need Orchestrator
• Kubernetes Overview
• Demo-
• Azure Kubernetes Service (AKS)
• Demos
• Create an AKS Cluster
• Deploy apps with kubectl
• Q&A
2
Decision
Tree for
Compute
Reference: https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree 3
3
4
4
What is the orchestrator ?
Orchestrator is utility that is designed to easily manage complex containers and containerization
deployments across multiple host from one central location .
• Most popular Orchestrator :Kubernetes (K8s ) and Docker- swarm
Why do we need orchestrator ?
• Self healing
• Autoscaling
• Health monitoring
• Upgrade strategies
• Resource constraints
• Networking
• Load balancer
• Service discovery
• Ingress
Kubernetes (K8s) is production level most popular orchestration system from
Google.
Kubernetes (K8s) cluster contains
▪ Master Node- scheduler container
▪ Master node needs less resources compare to worker node
▪ worker Node- running containers
➢ Default host OS in K8s is Linux for linux containers
➢ Can run windows container by windows 2019 or later
5
Kubernetes
Overview
• Cluster is set of computers that configure to work together and view
as one system
• A cluster uses centralized software which is responsible for scheduling
and controlling tasks . Computers that run scheduling software is
called control planes
• Computers in the cluster that run the tasks are called nodes
• K8s cluster contains at least one main plane and one or more nodes
• Both main plane &node can be physical devices , vms
K8s Components
6
• Pod
• Service
• Deployment
• StatefulSet
• Configmap
• Secrets
• Ingress
• Namespaces
• Volumes
K8s Architecture
7
8
8
How do we create testdev K8 cluster ?
Can communicate with K8 cluster using API , UI dashboard , CLI (kubectl)
Kubectl:- is command line utility which enables communication with kube-Api-Server in K8s Cluster
How do communicate with K8 cluster?
• MiniKube:- is an open-source project to create test dev k8 cluster
• Docker Desktop:- can enable K8s local cluster using Docker Desktop in local DEV environment
Commands description
kubectl version To see k8s client & server version
kubectl get pod List of running pods in default namespace
kubectl get replicaset List of running replicasets in default namespace
kubectl get deployment List of deployments in default namespace
kubectl get Service List of services in default namespace
kubectl create deployment <Name> –Image=Image Create deployment default namespace
kubectl describe pod <podName> Describe details of pod in default namespace
kubectl logs <podName> See logs of pod
Kubectl exec –it <podName> --bin /bash Debugging pod
kubectl apply -f deployment-config.yaml Deployment using deployment configuration file
9
Metadata
State
Desired?=Actual?
Specification
Deployment configuration :-
• can useYaml file for deployment of resources in K8s cluster
• Yaml is human readable declarative language and serializable
• Deployment file has 3 parts
Demo-1
10
Deployment resources
usingYaml files in local miniKube cluster
docker desktop cluster
11
Types of Services :-
• Each Pod has its own IP address
• Pods are destroyed created frequently
Service:-
• Stable IP address
• Load Balancing
• Abstraction layer to communicate to pods within & outside cluster
Cluster-IP
Service
Load-balancer
ServiceNode Service
Head-less
Service
• It is default service, and it will generate internal IP address .
• Pods are identified via selector to forward the request
• target port much match the port container is listening at Cluster IP only
accessible within cluster
Head less Service
•There are some scenarios Pod wants to directly interact with specific pod
•Use case : Stateful applications like database
•Cluster-IP should be None
•Client needs to find out IP address using DSN lookup
•DSN lookup for Service - returns single IP (Cluster IP)
•when Set Cluster-IP to "None" - returns Pod IP address
Node-Port Service
• can accessible outside cluster
• Port Range for Node-Port Services: 30000 -32767
• This is extension of Cluster-IP Service
• This is not secured as client directly access to node ip
Load-balancer Service
• Becomes accessible externally through cloud providers load-balancer
• Load-balancer service is an extension of Node-Port Service
12
Helm Chart Structure
Helm install <chartname>
Helm install - -values=app-values.yaml <chartname>
Top level AppChart folder – name of the chart
Chart.yaml – meta info about chart
Values.yaml - key & values for the template files
Charts folder -> chart dependencies
Template folder -> the actual template files
AppChart/
Chart.yaml
values.yaml
charts/
templates/
What is Helm :-
• Package manager for K8s
• Used to packageYAML files for application and distribute them in public and
private repositories in Helm Hub
Helm charts:-
• Bundle of YAML files
• Can create own Helm Charts with Helm
• Push them to Helm Repository
• Download and use existing ones
Azure
Kubernetes
Services (AKS)
13
• Azure-Monitor monitor azure files or disks
• Identity and Security management with AAD
• Integrated logging and monitoring with Azure-Monitor
• Auto cluster node and pod scaling
• Virtual network integration
• Ingress with Http application routing support
• Integration with public & private container registry (ACR)
• Elastic scale with ACI
• Deployment Centre -Azure DevOps project automatically create azure resources and enable Azure
monitor for container to monitor performance
• Develop and debug with Dev Spaces
– Develop your code in isolation and do integrated testing with other components without replicating or
mocking up dependencies
• Managed Kubernetes cluster in azure
• Control plane is free
• Only pay for work nodes
• Simplified version upgrades
• 100% upstream Kubernetes
Demo-2
14
AKS Cluster creation
• AKS cluster creation
Demo-3
15
Deploy services inAKS Cluster
• kubectl
AKS Cluster creation
Demo-4
16
Scaling In AKS:-
Horizontal Pod scalar
Horizontal Node scaling
• kubectl
AKS Cluster creation
ASF
vs
AKS
17
Service Fabric:- Service Fabric is open-source technology it can be installed on Linux and
windows and run on physical or virtual machine or cloud. Support running application in
containers or native executables
Azure Service Fabric :- is a service in azure which assist with creatingVMs, Networking ,
installing & configuring service fabric . It supportsARM templates to provisioning resources and
manages SF cluster
• Common features
• Scheduling
• Upgrades
• Health monitoring
• Service discovery
• Windows
• Stateful services
• Serverless (Service fabric mesh)
• Open-source tooling ecosystem
• Other clouds
• Virtual kubelet
• Dev spaces
( it is going replaced by Bridge to
K8s)
Q&A
18
Email: razesh.kolla@gmail.com
Twitter: @RajeshKolla18
LinkedIn: https://be.linkedin.com/in/razeshkolla
Thank you!
Email: razesh.kolla@gmail.com
Twitter: @RajeshKolla18
LinkedIn: https://be.linkedin.com/in/razeshkolla

More Related Content

What's hot

Monitoring Containerized Micro-Services In Azure
Monitoring Containerized Micro-Services In AzureMonitoring Containerized Micro-Services In Azure
Monitoring Containerized Micro-Services In AzureAlex Bulankou
 
Manage your kubernetes cluster with cluster api, azure and git ops
Manage your kubernetes cluster with cluster api, azure and git opsManage your kubernetes cluster with cluster api, azure and git ops
Manage your kubernetes cluster with cluster api, azure and git opsJorge Arteiro
 
Deploying a 3 tier application using docker
Deploying a 3 tier application using dockerDeploying a 3 tier application using docker
Deploying a 3 tier application using dockerparth2094
 
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry ServiceAzure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry ServiceIlyas F ☁☁☁
 
Aws serverless multi-tier_architectures
Aws serverless multi-tier_architecturesAws serverless multi-tier_architectures
Aws serverless multi-tier_architecturesDevthilina Abayaratne
 
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018Jorge Arteiro
 
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
AKS - Azure Kubernetes Services  - kubernetes meetup may 2018AKS - Azure Kubernetes Services  - kubernetes meetup may 2018
AKS - Azure Kubernetes Services - kubernetes meetup may 2018Jorge Arteiro
 
Deploying Cloud Use Cases
Deploying Cloud Use CasesDeploying Cloud Use Cases
Deploying Cloud Use CasesJason Singh
 
Windows Containers on AKS Jorge Arteiro
Windows Containers on AKS Jorge ArteiroWindows Containers on AKS Jorge Arteiro
Windows Containers on AKS Jorge ArteiroJorge Arteiro
 
Azure kubernetes service (aks) part 3
Azure kubernetes service (aks)   part 3Azure kubernetes service (aks)   part 3
Azure kubernetes service (aks) part 3Nilesh Gule
 
Fundamentos do containerd docker con live 2021 jorge arteiro
Fundamentos do containerd docker con live 2021 jorge arteiroFundamentos do containerd docker con live 2021 jorge arteiro
Fundamentos do containerd docker con live 2021 jorge arteiroJorge Arteiro
 
Running Azure PaaS Anywhere using Kubernetes
Running Azure PaaS Anywhere using KubernetesRunning Azure PaaS Anywhere using Kubernetes
Running Azure PaaS Anywhere using KubernetesJorge Arteiro
 
Cloud Use Cases And Standards
Cloud Use Cases And StandardsCloud Use Cases And Standards
Cloud Use Cases And StandardsGovCloud Network
 
Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Pedro Sousa
 
Kubernetes Visualization-and-Monitoring-using-Weave-scope
Kubernetes Visualization-and-Monitoring-using-Weave-scopeKubernetes Visualization-and-Monitoring-using-Weave-scope
Kubernetes Visualization-and-Monitoring-using-Weave-scopeOpenEBS
 
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
Deploy Microservices To Kubernetes Without Secrets by Reenu SalujaDeploy Microservices To Kubernetes Without Secrets by Reenu Saluja
Deploy Microservices To Kubernetes Without Secrets by Reenu SalujaCodeOps Technologies LLP
 
Deep dive into Kubernetes on Azure
Deep dive into Kubernetes on AzureDeep dive into Kubernetes on Azure
Deep dive into Kubernetes on AzureJorge Arteiro
 
Building Deploying and Managing Microservices-based Applications with Azure P...
Building Deploying and Managing Microservices-based Applications with Azure P...Building Deploying and Managing Microservices-based Applications with Azure P...
Building Deploying and Managing Microservices-based Applications with Azure P...CodeOps Technologies LLP
 

What's hot (20)

Monitoring Containerized Micro-Services In Azure
Monitoring Containerized Micro-Services In AzureMonitoring Containerized Micro-Services In Azure
Monitoring Containerized Micro-Services In Azure
 
Manage your kubernetes cluster with cluster api, azure and git ops
Manage your kubernetes cluster with cluster api, azure and git opsManage your kubernetes cluster with cluster api, azure and git ops
Manage your kubernetes cluster with cluster api, azure and git ops
 
Deploying a 3 tier application using docker
Deploying a 3 tier application using dockerDeploying a 3 tier application using docker
Deploying a 3 tier application using docker
 
AKS
AKSAKS
AKS
 
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry ServiceAzure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
 
Aws serverless multi-tier_architectures
Aws serverless multi-tier_architecturesAws serverless multi-tier_architectures
Aws serverless multi-tier_architectures
 
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
 
Praveen Kumar Resume
Praveen Kumar ResumePraveen Kumar Resume
Praveen Kumar Resume
 
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
AKS - Azure Kubernetes Services  - kubernetes meetup may 2018AKS - Azure Kubernetes Services  - kubernetes meetup may 2018
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
 
Deploying Cloud Use Cases
Deploying Cloud Use CasesDeploying Cloud Use Cases
Deploying Cloud Use Cases
 
Windows Containers on AKS Jorge Arteiro
Windows Containers on AKS Jorge ArteiroWindows Containers on AKS Jorge Arteiro
Windows Containers on AKS Jorge Arteiro
 
Azure kubernetes service (aks) part 3
Azure kubernetes service (aks)   part 3Azure kubernetes service (aks)   part 3
Azure kubernetes service (aks) part 3
 
Fundamentos do containerd docker con live 2021 jorge arteiro
Fundamentos do containerd docker con live 2021 jorge arteiroFundamentos do containerd docker con live 2021 jorge arteiro
Fundamentos do containerd docker con live 2021 jorge arteiro
 
Running Azure PaaS Anywhere using Kubernetes
Running Azure PaaS Anywhere using KubernetesRunning Azure PaaS Anywhere using Kubernetes
Running Azure PaaS Anywhere using Kubernetes
 
Cloud Use Cases And Standards
Cloud Use Cases And StandardsCloud Use Cases And Standards
Cloud Use Cases And Standards
 
Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)
 
Kubernetes Visualization-and-Monitoring-using-Weave-scope
Kubernetes Visualization-and-Monitoring-using-Weave-scopeKubernetes Visualization-and-Monitoring-using-Weave-scope
Kubernetes Visualization-and-Monitoring-using-Weave-scope
 
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
Deploy Microservices To Kubernetes Without Secrets by Reenu SalujaDeploy Microservices To Kubernetes Without Secrets by Reenu Saluja
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
 
Deep dive into Kubernetes on Azure
Deep dive into Kubernetes on AzureDeep dive into Kubernetes on Azure
Deep dive into Kubernetes on Azure
 
Building Deploying and Managing Microservices-based Applications with Azure P...
Building Deploying and Managing Microservices-based Applications with Azure P...Building Deploying and Managing Microservices-based Applications with Azure P...
Building Deploying and Managing Microservices-based Applications with Azure P...
 

Similar to Container orchestration k8s azure kubernetes services

01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMwareVMUG IT
 
Pro2516 10 things about oracle and k8s.pptx-final
Pro2516   10 things about oracle and k8s.pptx-finalPro2516   10 things about oracle and k8s.pptx-final
Pro2516 10 things about oracle and k8s.pptx-finalMichel Schildmeijer
 
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
 
Rome .NET Conference 2024 - Remote Conference
Rome .NET Conference 2024  - Remote ConferenceRome .NET Conference 2024  - Remote Conference
Rome .NET Conference 2024 - Remote ConferenceHamida Rebai Trabelsi
 
Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)sriram_rajan
 
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...Tom Kerkhove
 
Best Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes ServicesBest Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes ServicesQAware GmbH
 
Kubernetes-Presentation-Syed-Murtaza-Hassan
Kubernetes-Presentation-Syed-Murtaza-HassanKubernetes-Presentation-Syed-Murtaza-Hassan
Kubernetes-Presentation-Syed-Murtaza-HassanSyed Murtaza Hassan
 
Kube Overview and Kube Conformance Certification OpenSource101 Raleigh
Kube Overview and Kube Conformance Certification OpenSource101 RaleighKube Overview and Kube Conformance Certification OpenSource101 Raleigh
Kube Overview and Kube Conformance Certification OpenSource101 RaleighBrad Topol
 
Containers, Serverless and Functions in a nutshell
Containers, Serverless and Functions in a nutshellContainers, Serverless and Functions in a nutshell
Containers, Serverless and Functions in a nutshellEugene Fedorenko
 
Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)Rick van den Bosch
 
Build containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdfBuild containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdfHamida Rebai Trabelsi
 
Fabio rapposelli pks-vmug
Fabio rapposelli   pks-vmugFabio rapposelli   pks-vmug
Fabio rapposelli pks-vmugVMUG IT
 
Moving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesMoving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesHussein Salman
 
Open service broker API with Azure Kubernetes Services
Open service broker API with Azure Kubernetes ServicesOpen service broker API with Azure Kubernetes Services
Open service broker API with Azure Kubernetes ServicesJorge Arteiro
 
Kubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxKubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxsatish642065
 
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...Tom Kerkhove
 
HOW TO DRONE.IO IN CI/CD WORLD
HOW TO DRONE.IO IN CI/CD WORLDHOW TO DRONE.IO IN CI/CD WORLD
HOW TO DRONE.IO IN CI/CD WORLDAleksandr Maklakov
 

Similar to Container orchestration k8s azure kubernetes services (20)

01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
 
Pro2516 10 things about oracle and k8s.pptx-final
Pro2516   10 things about oracle and k8s.pptx-finalPro2516   10 things about oracle and k8s.pptx-final
Pro2516 10 things about oracle and k8s.pptx-final
 
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
 
Rome .NET Conference 2024 - Remote Conference
Rome .NET Conference 2024  - Remote ConferenceRome .NET Conference 2024  - Remote Conference
Rome .NET Conference 2024 - Remote Conference
 
Kubernetes on aws
Kubernetes on awsKubernetes on aws
Kubernetes on aws
 
Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)
 
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
 
Best Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes ServicesBest Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes Services
 
Kubernetes-Presentation-Syed-Murtaza-Hassan
Kubernetes-Presentation-Syed-Murtaza-HassanKubernetes-Presentation-Syed-Murtaza-Hassan
Kubernetes-Presentation-Syed-Murtaza-Hassan
 
Kube Overview and Kube Conformance Certification OpenSource101 Raleigh
Kube Overview and Kube Conformance Certification OpenSource101 RaleighKube Overview and Kube Conformance Certification OpenSource101 Raleigh
Kube Overview and Kube Conformance Certification OpenSource101 Raleigh
 
Containers, Serverless and Functions in a nutshell
Containers, Serverless and Functions in a nutshellContainers, Serverless and Functions in a nutshell
Containers, Serverless and Functions in a nutshell
 
Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)
 
Adf with docker
Adf with dockerAdf with docker
Adf with docker
 
Build containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdfBuild containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdf
 
Fabio rapposelli pks-vmug
Fabio rapposelli   pks-vmugFabio rapposelli   pks-vmug
Fabio rapposelli pks-vmug
 
Moving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesMoving Applications into Azure Kubernetes
Moving Applications into Azure Kubernetes
 
Open service broker API with Azure Kubernetes Services
Open service broker API with Azure Kubernetes ServicesOpen service broker API with Azure Kubernetes Services
Open service broker API with Azure Kubernetes Services
 
Kubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxKubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptx
 
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
 
HOW TO DRONE.IO IN CI/CD WORLD
HOW TO DRONE.IO IN CI/CD WORLDHOW TO DRONE.IO IN CI/CD WORLD
HOW TO DRONE.IO IN CI/CD WORLD
 

More from Rajesh Kolla

Azure Data services
Azure Data servicesAzure Data services
Azure Data servicesRajesh Kolla
 
Containers on azure web apps
Containers on azure web appsContainers on azure web apps
Containers on azure web appsRajesh Kolla
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciRajesh Kolla
 

More from Rajesh Kolla (6)

Azure Data services
Azure Data servicesAzure Data services
Azure Data services
 
React js
React jsReact js
React js
 
Blazor web apps
Blazor web appsBlazor web apps
Blazor web apps
 
Containers on azure web apps
Containers on azure web appsContainers on azure web apps
Containers on azure web apps
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
 
Azure functions
Azure functionsAzure functions
Azure functions
 

Recently uploaded

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 

Recently uploaded (20)

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 

Container orchestration k8s azure kubernetes services

  • 1. Container Orchestrators - K8s, AKS Rajesh Kolla Full-stack development ,Azure Architect Email: rajesh.kolla01@outlook.com Twitter: @RajeshKolla18 LinkedIn: https://be.linkedin.com/in/razeshkolla
  • 2. Agenda • Why do need Orchestrator • Kubernetes Overview • Demo- • Azure Kubernetes Service (AKS) • Demos • Create an AKS Cluster • Deploy apps with kubectl • Q&A 2
  • 4. 4 4 What is the orchestrator ? Orchestrator is utility that is designed to easily manage complex containers and containerization deployments across multiple host from one central location . • Most popular Orchestrator :Kubernetes (K8s ) and Docker- swarm Why do we need orchestrator ? • Self healing • Autoscaling • Health monitoring • Upgrade strategies • Resource constraints • Networking • Load balancer • Service discovery • Ingress
  • 5. Kubernetes (K8s) is production level most popular orchestration system from Google. Kubernetes (K8s) cluster contains ▪ Master Node- scheduler container ▪ Master node needs less resources compare to worker node ▪ worker Node- running containers ➢ Default host OS in K8s is Linux for linux containers ➢ Can run windows container by windows 2019 or later 5 Kubernetes Overview • Cluster is set of computers that configure to work together and view as one system • A cluster uses centralized software which is responsible for scheduling and controlling tasks . Computers that run scheduling software is called control planes • Computers in the cluster that run the tasks are called nodes • K8s cluster contains at least one main plane and one or more nodes • Both main plane &node can be physical devices , vms
  • 6. K8s Components 6 • Pod • Service • Deployment • StatefulSet • Configmap • Secrets • Ingress • Namespaces • Volumes
  • 8. 8 8 How do we create testdev K8 cluster ? Can communicate with K8 cluster using API , UI dashboard , CLI (kubectl) Kubectl:- is command line utility which enables communication with kube-Api-Server in K8s Cluster How do communicate with K8 cluster? • MiniKube:- is an open-source project to create test dev k8 cluster • Docker Desktop:- can enable K8s local cluster using Docker Desktop in local DEV environment Commands description kubectl version To see k8s client & server version kubectl get pod List of running pods in default namespace kubectl get replicaset List of running replicasets in default namespace kubectl get deployment List of deployments in default namespace kubectl get Service List of services in default namespace kubectl create deployment <Name> –Image=Image Create deployment default namespace kubectl describe pod <podName> Describe details of pod in default namespace kubectl logs <podName> See logs of pod Kubectl exec –it <podName> --bin /bash Debugging pod kubectl apply -f deployment-config.yaml Deployment using deployment configuration file
  • 9. 9 Metadata State Desired?=Actual? Specification Deployment configuration :- • can useYaml file for deployment of resources in K8s cluster • Yaml is human readable declarative language and serializable • Deployment file has 3 parts
  • 10. Demo-1 10 Deployment resources usingYaml files in local miniKube cluster docker desktop cluster
  • 11. 11 Types of Services :- • Each Pod has its own IP address • Pods are destroyed created frequently Service:- • Stable IP address • Load Balancing • Abstraction layer to communicate to pods within & outside cluster Cluster-IP Service Load-balancer ServiceNode Service Head-less Service • It is default service, and it will generate internal IP address . • Pods are identified via selector to forward the request • target port much match the port container is listening at Cluster IP only accessible within cluster Head less Service •There are some scenarios Pod wants to directly interact with specific pod •Use case : Stateful applications like database •Cluster-IP should be None •Client needs to find out IP address using DSN lookup •DSN lookup for Service - returns single IP (Cluster IP) •when Set Cluster-IP to "None" - returns Pod IP address Node-Port Service • can accessible outside cluster • Port Range for Node-Port Services: 30000 -32767 • This is extension of Cluster-IP Service • This is not secured as client directly access to node ip Load-balancer Service • Becomes accessible externally through cloud providers load-balancer • Load-balancer service is an extension of Node-Port Service
  • 12. 12 Helm Chart Structure Helm install <chartname> Helm install - -values=app-values.yaml <chartname> Top level AppChart folder – name of the chart Chart.yaml – meta info about chart Values.yaml - key & values for the template files Charts folder -> chart dependencies Template folder -> the actual template files AppChart/ Chart.yaml values.yaml charts/ templates/ What is Helm :- • Package manager for K8s • Used to packageYAML files for application and distribute them in public and private repositories in Helm Hub Helm charts:- • Bundle of YAML files • Can create own Helm Charts with Helm • Push them to Helm Repository • Download and use existing ones
  • 13. Azure Kubernetes Services (AKS) 13 • Azure-Monitor monitor azure files or disks • Identity and Security management with AAD • Integrated logging and monitoring with Azure-Monitor • Auto cluster node and pod scaling • Virtual network integration • Ingress with Http application routing support • Integration with public & private container registry (ACR) • Elastic scale with ACI • Deployment Centre -Azure DevOps project automatically create azure resources and enable Azure monitor for container to monitor performance • Develop and debug with Dev Spaces – Develop your code in isolation and do integrated testing with other components without replicating or mocking up dependencies • Managed Kubernetes cluster in azure • Control plane is free • Only pay for work nodes • Simplified version upgrades • 100% upstream Kubernetes
  • 14. Demo-2 14 AKS Cluster creation • AKS cluster creation
  • 15. Demo-3 15 Deploy services inAKS Cluster • kubectl AKS Cluster creation
  • 16. Demo-4 16 Scaling In AKS:- Horizontal Pod scalar Horizontal Node scaling • kubectl AKS Cluster creation
  • 17. ASF vs AKS 17 Service Fabric:- Service Fabric is open-source technology it can be installed on Linux and windows and run on physical or virtual machine or cloud. Support running application in containers or native executables Azure Service Fabric :- is a service in azure which assist with creatingVMs, Networking , installing & configuring service fabric . It supportsARM templates to provisioning resources and manages SF cluster • Common features • Scheduling • Upgrades • Health monitoring • Service discovery • Windows • Stateful services • Serverless (Service fabric mesh) • Open-source tooling ecosystem • Other clouds • Virtual kubelet • Dev spaces ( it is going replaced by Bridge to K8s)
  • 19. Thank you! Email: razesh.kolla@gmail.com Twitter: @RajeshKolla18 LinkedIn: https://be.linkedin.com/in/razeshkolla