SlideShare una empresa de Scribd logo
1 de 23
Kubernetes on EGO : Bringing enterprise
resource management and scheduling to
Kubernetes
Da Ma (madaxa@cn.ibm.com)
Software Architect, IBM
Owner of kube-incubator/kube-mesos-framework
Yong Feng (yongfeng@ca.ibm.com)
Senior Software Architect, IBM
Why “Kubernetes on EGO”?
Computing, Storage and Network
Application Application
Container Runtime
The container runtime packages and launches application
instance in a sandbox with portable and flexible capability.
Docker and rkt are container runtimes.
Workload Management
The workload management component
manages the life cycle of an application as
well as access to the application, including
service compose, service discovery, load
balance
Kubernetes and Marathon are workload
managers.
Resource Management
The resource management component
provides an abstraction of resources (cpu,
mem, …) for application and then
allocates/provision resources among tenants
and applications.
Mesos is an open source resource
manager.
EGO is an IBM enterprise resource
manager.
Why Kubernetes on EGO?
1992
PBS/SGE/LSF
Res mgr & wld mgr
tightly coupled
Batch wld only
Monolithic
2003 2016 future
??
Shared state
between fws by
Optimistic Offer
Shared state
Two Level
Scheduling
Mesos/YARN/EGO
……
Architecture Overview
EGO Master
VEMKD
MLIM
BASE API
LIM PEM
EGO Agent
LIM PEM
EGO Agent
LIM PEM
EGO Agent
UDP SocketTCP Socket
PLUGIN
k8s-apiserver
k8s-controller-manager
k8se-scheduler
kubelet
kube-proxy
resreq alloc
1. Get Pods
2. Send resource request to EGO
3. Get allocations from EGO
4. Bind Pods with Host
5. Run Pods by kubelet
1
2 3
4
5
EGO: Enterprise Resource Manager
• Hierarchical consumer
• Enterprise sharing policies
• Smart preemption
• Rich resource attributes
and resource requirement
language
• Unified management console
• Security
• Monitor and alert
• HA and multiple site
• Resource usage analysis
EGO: Hierarchical Consumer
Dept-1
ORG
Dept-2
Dept-n
Team-1
Team-2
Proj-1
Proj-2
Hierarchical resource
budget plan
Hierarchical role
based access control
EGO: Enterprise Sharing Policies
Time-windows based resource
plan per resource group
Ownership and one-to-one
lending/borrow policy
EGO: Enterprise Sharing Policies
Dynamic sharing from top
down to leaf consumer
Hybrid sharing polices
o At T0, A has a demand of 20
A = 20
o At T1, B1 has a demand of 20
and reclaims its parent’s 16
A:B1 = 4:16
o At T2, A cancels all workload
and becomes idle
B1 = 20
o At T3, B2 has a demand of 20
thus reclaims its 12
B1:B2=8:12
/
B1
B
S=1
S=3S=1
S=4
(A=4)
(B1=4) (B2=12)
20 slots in total
A
B2
Hybrid Ownership Share ratio
Sharing by default X x
Reserve slots from being
shared
X X
Plan configured by
absolute number
X X
Sibling first borrowing X x
balance checking X X
Proportional borrowing X x
Proportional reclaiming X x
EGO: Enterprise Sharing Policies
Flexible framework of
scheduling plugin for
customized sharing policies
EGO: Smart Preemption
• Asynchronized resource negotiation protocol
Issue resource request via allocation which allows client to orchestrate
multiple services from different tenants; update resource request on the
fly; receive resource allocation by event;
• Grace period in resource plan
Contract between resource lender and borrower used to decide how
resources will be returned if required
• Candidate resource list
Allows the borrower to optimize when making decisions on which
resources to return within grace period
EGO: Rich Variety of Resource Attributes and
Resource Requirement Language
• Various types of resource attributes and ways to define and collect them
Static vs dynamic; integer vs Boolean vs string vs ip vs topology; user
defined vs collected by script
• Resource requirement language
select(), order(), affinity(), antiaffinity(), rusage() …
Demo Video
We’re Contributor
to the community !!!
Mesos: OpenSource Resource Management
• Hierarchy Role (MESOS-6375)
• Multi-Role Frameworks (MESOS-1763)
• Scheduling (Pending)
oResource Revocation
oOversubscription for reservation
oQuota Chunks
o…..
Kubernetes on Mesos
• Sponsor: Tim Hockin (Google)
• Champion: David Eads (Redhat)
• Owner: Klaus Ma (IBM)
• Github: kuberntes-incubator/kube-mesos-framework
Kubernetes on Mesos (kube-mesos-framework)
1. Get Pods
2. Match Pods and Offers
3. Bind Pods with Host
4. Update Pods status
5. Run Pods by kubelet
IBM Spectrum
Conductor for
Container
Spectrum
Conductor with
Spark
Watson /
Cognitive
Container Cloud
Session
Scheduler
Workflow
Installer
(Deploy,
Reconfigure,
HA, Scale,
Rolling
update)
Mesos Agent
K8s executor
pod pod pod container container
containercontainer
Mesos Master
Kubernetes
GUI
Service
Discovery
Authentication
Authorization
Distributed
Key-value
Store
Image
registry
Monitor
HPC
App Store
Persistent
Volume
Service Load
Balance
Trouble-
shooting
Network
Topology
Community Value IBM Value-add Customer Value
Docker Hub Registry holds a repository of 75000+ Docker
images
Lots of application integrated with Mesos
Kubernetes enable micro-service architecture
• Client unique registry available on premises
• Security readiness guidance via the Vulnerability Advisor
• Build-in applications of popular open source projects and IBM enterprise
products in App Store
Access to the images and application you require to
deploy containers that meet your business needs
and strategy
Open-source, standardized, lightweight, self sufficient container
technology
• Balance workload between on-prem and off-prem
• Deployment choice with openPOWER and x86_64
Flexibility to choose on-prem and off-prem or mix
for your business
Build, ship, and run standardized containers
• Integrated monitoring & logging
• Elasticity to grow storage & container needs
• Integrated CI/CD flow
• Life-cycle management of containers and data volumes
Docker ease of use combined with enterprise-level
integrity and confidence
Create a Container Cloud for developers
supporting DevOps practices and cloud-native
apps. Pre-built app catalog for fast deployment of
OSS tools. Reduce developer friction, creating
faster time to results
1
Improve Developer Productivity
Fine grain, dynamic allocation of resources
maximizes efficiency of Spark instances sharing
a common resource pool.
2
Increase Resource Utilization
Proven architecture at extreme scale, with
enterprise class workload management,
monitoring, reporting, and security capabilities.
3
Reduce Administration Costs
Mesos
Kubernetes
(role = *, bigdata-daemons)
Myriad
Slaves
(weight)
Spark
Slaves
(weight)
App Area (label: app) BigData Area (label: bigdata)
role = bigdata-daemon: Reserve resources for HDFS and Yarn/Spark master
role = bigdata-comute: Reserve resource for Yarn/Spark agents
Spark Session
Scheduler
Myriad Masters
Dep 1 Dep 2 Dep 3
ns1
+
quota1
ns2
+
quota2
ns3
+
quota3
Container service
role = *
BigData Service & Applications
(role = bigdata-comute)
Resource
Sharing
Hierarchy
Consumer
Smart preemption
&
Sharing policies
NS/Quota
Network/DNS
Scheduling
Dream ???
Resource
Requirement
Spark with
kube-mesos
What’s next?
• Support Sharing Policies & Smart Preemption:
Revocable resources support (#19529)
Scheduling enhancement (# 31068)
• Support Hierarchical Consumer:
Namespace/Quota support/integrate (#31069)
Multiple roles support
• Kube-DNS integrate with external DNS (# 28453)
• …
Roadmap of kube-mesos-framework (DRAFT)
Nov, 2016 End of 2016 2017
v0.7 release
new code base
v0.9 release
new features
v0.8 release
k8sm refactor v1.0 release
Production Ready
Thank You !!

Más contenido relacionado

La actualidad más candente

What's the Hadoop-la about Kubernetes?
What's the Hadoop-la about Kubernetes?What's the Hadoop-la about Kubernetes?
What's the Hadoop-la about Kubernetes?
DataWorks Summit
 
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
DataWorks Summit
 

La actualidad más candente (20)

Episode 1: Building Kubernetes-as-a-Service
Episode 1: Building Kubernetes-as-a-ServiceEpisode 1: Building Kubernetes-as-a-Service
Episode 1: Building Kubernetes-as-a-Service
 
NYC* 2013 — "Using Cassandra for DVR Scheduling at Comcast"
NYC* 2013 — "Using Cassandra for DVR Scheduling at Comcast"NYC* 2013 — "Using Cassandra for DVR Scheduling at Comcast"
NYC* 2013 — "Using Cassandra for DVR Scheduling at Comcast"
 
What's the Hadoop-la about Kubernetes?
What's the Hadoop-la about Kubernetes?What's the Hadoop-la about Kubernetes?
What's the Hadoop-la about Kubernetes?
 
DevNexus 2015: Kubernetes & Container Engine
DevNexus 2015: Kubernetes & Container EngineDevNexus 2015: Kubernetes & Container Engine
DevNexus 2015: Kubernetes & Container Engine
 
Java EE Modernization with Mesosphere DCOS
Java EE Modernization with Mesosphere DCOSJava EE Modernization with Mesosphere DCOS
Java EE Modernization with Mesosphere DCOS
 
JCConf 2016 - Cloud Computing Applications - Hazelcast, Spark and Ignite
JCConf 2016 - Cloud Computing Applications - Hazelcast, Spark and IgniteJCConf 2016 - Cloud Computing Applications - Hazelcast, Spark and Ignite
JCConf 2016 - Cloud Computing Applications - Hazelcast, Spark and Ignite
 
Webinar: Operating Kubernetes at Scale
Webinar: Operating Kubernetes at ScaleWebinar: Operating Kubernetes at Scale
Webinar: Operating Kubernetes at Scale
 
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
 
Bootstrapping state in Apache Flink
Bootstrapping state in Apache FlinkBootstrapping state in Apache Flink
Bootstrapping state in Apache Flink
 
Webinar: What's New in DC/OS 1.11
Webinar: What's New in DC/OS 1.11Webinar: What's New in DC/OS 1.11
Webinar: What's New in DC/OS 1.11
 
Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)
 
Episode 2: Deploying Kubernetes at Scale
Episode 2: Deploying Kubernetes at ScaleEpisode 2: Deploying Kubernetes at Scale
Episode 2: Deploying Kubernetes at Scale
 
Cloudfoundry architecture
Cloudfoundry architectureCloudfoundry architecture
Cloudfoundry architecture
 
Running Distributed TensorFlow with GPUs on Mesos with DC/OS
Running Distributed TensorFlow with GPUs on Mesos with DC/OS Running Distributed TensorFlow with GPUs on Mesos with DC/OS
Running Distributed TensorFlow with GPUs on Mesos with DC/OS
 
Episode 3: Kubernetes and Big Data Services
Episode 3: Kubernetes and Big Data ServicesEpisode 3: Kubernetes and Big Data Services
Episode 3: Kubernetes and Big Data Services
 
Kubernetes and Cloud Native Update Q4 2018
Kubernetes and Cloud Native Update Q4 2018Kubernetes and Cloud Native Update Q4 2018
Kubernetes and Cloud Native Update Q4 2018
 
ebay
ebayebay
ebay
 
Glint with Apache Spark
Glint with Apache SparkGlint with Apache Spark
Glint with Apache Spark
 
Deploy data analysis pipeline with mesos and docker
Deploy data analysis pipeline with mesos and dockerDeploy data analysis pipeline with mesos and docker
Deploy data analysis pipeline with mesos and docker
 
Kafka Security
Kafka SecurityKafka Security
Kafka Security
 

Similar a Kubernetes on EGO : Bringing enterprise resource management and scheduling to Kubernetes

Summer School - Demonstrating Cloud Value
Summer School - Demonstrating Cloud Value  Summer School - Demonstrating Cloud Value
Summer School - Demonstrating Cloud Value
WSO2
 

Similar a Kubernetes on EGO : Bringing enterprise resource management and scheduling to Kubernetes (20)

Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Cloud Native & Docker
Cloud Native & DockerCloud Native & Docker
Cloud Native & Docker
 
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
 
Developing Hybrid Cloud Applications
Developing Hybrid Cloud ApplicationsDeveloping Hybrid Cloud Applications
Developing Hybrid Cloud Applications
 
Containers as Infrastructure for New Gen Apps
Containers as Infrastructure for New Gen AppsContainers as Infrastructure for New Gen Apps
Containers as Infrastructure for New Gen Apps
 
Containers & Microservices
Containers & MicroservicesContainers & Microservices
Containers & Microservices
 
Summer School - Demonstrating Cloud Value
Summer School - Demonstrating Cloud Value  Summer School - Demonstrating Cloud Value
Summer School - Demonstrating Cloud Value
 
Storage Integrations for Container Orchestrators
Storage Integrations for Container OrchestratorsStorage Integrations for Container Orchestrators
Storage Integrations for Container Orchestrators
 
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
 
MongoDB World 2018: Partner Talk - Red Hat: Deploying to Enterprise Kubernetes
MongoDB World 2018: Partner Talk - Red Hat: Deploying to Enterprise KubernetesMongoDB World 2018: Partner Talk - Red Hat: Deploying to Enterprise Kubernetes
MongoDB World 2018: Partner Talk - Red Hat: Deploying to Enterprise Kubernetes
 
App Modernization: From 0 to Hero
App Modernization: From 0 to HeroApp Modernization: From 0 to Hero
App Modernization: From 0 to Hero
 
Structured Container Delivery by Oscar Renalias, Accenture
Structured Container Delivery by Oscar Renalias, AccentureStructured Container Delivery by Oscar Renalias, Accenture
Structured Container Delivery by Oscar Renalias, Accenture
 
DCEU 18: Provisioning and Managing Storage for Docker Containers
DCEU 18: Provisioning and Managing Storage for Docker ContainersDCEU 18: Provisioning and Managing Storage for Docker Containers
DCEU 18: Provisioning and Managing Storage for Docker Containers
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
 
Kubernetes Basics - ICP Workshop Batch II
Kubernetes Basics - ICP Workshop Batch IIKubernetes Basics - ICP Workshop Batch II
Kubernetes Basics - ICP Workshop Batch II
 
A Tight Ship: How Containers and SDS Optimize the Enterprise
 A Tight Ship: How Containers and SDS Optimize the Enterprise A Tight Ship: How Containers and SDS Optimize the Enterprise
A Tight Ship: How Containers and SDS Optimize the Enterprise
 
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and KubelessBuilding Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 
Container Orchestration.pdf
Container Orchestration.pdfContainer Orchestration.pdf
Container Orchestration.pdf
 

Más de Yong Feng (6)

Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
 
ISTIO Deep Dive
ISTIO Deep DiveISTIO Deep Dive
ISTIO Deep Dive
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big Data
 
Mesos Con 2016 Optimistic Offer
Mesos Con 2016 Optimistic OfferMesos Con 2016 Optimistic Offer
Mesos Con 2016 Optimistic Offer
 
IBM Platform Computing Products Connector for Apache Mesos
IBM Platform Computing Products Connector for Apache MesosIBM Platform Computing Products Connector for Apache Mesos
IBM Platform Computing Products Connector for Apache Mesos
 
Platform Resource Scheduler Holistic Application Policy in Heat
Platform Resource Scheduler Holistic Application Policy in HeatPlatform Resource Scheduler Holistic Application Policy in Heat
Platform Resource Scheduler Holistic Application Policy in Heat
 

Último

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Kubernetes on EGO : Bringing enterprise resource management and scheduling to Kubernetes

  • 1. Kubernetes on EGO : Bringing enterprise resource management and scheduling to Kubernetes Da Ma (madaxa@cn.ibm.com) Software Architect, IBM Owner of kube-incubator/kube-mesos-framework Yong Feng (yongfeng@ca.ibm.com) Senior Software Architect, IBM
  • 2. Why “Kubernetes on EGO”? Computing, Storage and Network Application Application Container Runtime The container runtime packages and launches application instance in a sandbox with portable and flexible capability. Docker and rkt are container runtimes. Workload Management The workload management component manages the life cycle of an application as well as access to the application, including service compose, service discovery, load balance Kubernetes and Marathon are workload managers. Resource Management The resource management component provides an abstraction of resources (cpu, mem, …) for application and then allocates/provision resources among tenants and applications. Mesos is an open source resource manager. EGO is an IBM enterprise resource manager.
  • 3. Why Kubernetes on EGO? 1992 PBS/SGE/LSF Res mgr & wld mgr tightly coupled Batch wld only Monolithic 2003 2016 future ?? Shared state between fws by Optimistic Offer Shared state Two Level Scheduling Mesos/YARN/EGO ……
  • 4. Architecture Overview EGO Master VEMKD MLIM BASE API LIM PEM EGO Agent LIM PEM EGO Agent LIM PEM EGO Agent UDP SocketTCP Socket PLUGIN k8s-apiserver k8s-controller-manager k8se-scheduler kubelet kube-proxy resreq alloc 1. Get Pods 2. Send resource request to EGO 3. Get allocations from EGO 4. Bind Pods with Host 5. Run Pods by kubelet 1 2 3 4 5
  • 5. EGO: Enterprise Resource Manager • Hierarchical consumer • Enterprise sharing policies • Smart preemption • Rich resource attributes and resource requirement language • Unified management console • Security • Monitor and alert • HA and multiple site • Resource usage analysis
  • 6. EGO: Hierarchical Consumer Dept-1 ORG Dept-2 Dept-n Team-1 Team-2 Proj-1 Proj-2 Hierarchical resource budget plan Hierarchical role based access control
  • 7. EGO: Enterprise Sharing Policies Time-windows based resource plan per resource group Ownership and one-to-one lending/borrow policy
  • 8. EGO: Enterprise Sharing Policies Dynamic sharing from top down to leaf consumer Hybrid sharing polices o At T0, A has a demand of 20 A = 20 o At T1, B1 has a demand of 20 and reclaims its parent’s 16 A:B1 = 4:16 o At T2, A cancels all workload and becomes idle B1 = 20 o At T3, B2 has a demand of 20 thus reclaims its 12 B1:B2=8:12 / B1 B S=1 S=3S=1 S=4 (A=4) (B1=4) (B2=12) 20 slots in total A B2 Hybrid Ownership Share ratio Sharing by default X x Reserve slots from being shared X X Plan configured by absolute number X X Sibling first borrowing X x balance checking X X Proportional borrowing X x Proportional reclaiming X x
  • 9. EGO: Enterprise Sharing Policies Flexible framework of scheduling plugin for customized sharing policies
  • 10. EGO: Smart Preemption • Asynchronized resource negotiation protocol Issue resource request via allocation which allows client to orchestrate multiple services from different tenants; update resource request on the fly; receive resource allocation by event; • Grace period in resource plan Contract between resource lender and borrower used to decide how resources will be returned if required • Candidate resource list Allows the borrower to optimize when making decisions on which resources to return within grace period
  • 11. EGO: Rich Variety of Resource Attributes and Resource Requirement Language • Various types of resource attributes and ways to define and collect them Static vs dynamic; integer vs Boolean vs string vs ip vs topology; user defined vs collected by script • Resource requirement language select(), order(), affinity(), antiaffinity(), rusage() …
  • 13. We’re Contributor to the community !!!
  • 14. Mesos: OpenSource Resource Management • Hierarchy Role (MESOS-6375) • Multi-Role Frameworks (MESOS-1763) • Scheduling (Pending) oResource Revocation oOversubscription for reservation oQuota Chunks o…..
  • 15. Kubernetes on Mesos • Sponsor: Tim Hockin (Google) • Champion: David Eads (Redhat) • Owner: Klaus Ma (IBM) • Github: kuberntes-incubator/kube-mesos-framework
  • 16. Kubernetes on Mesos (kube-mesos-framework) 1. Get Pods 2. Match Pods and Offers 3. Bind Pods with Host 4. Update Pods status 5. Run Pods by kubelet
  • 17. IBM Spectrum Conductor for Container Spectrum Conductor with Spark Watson / Cognitive Container Cloud Session Scheduler Workflow Installer (Deploy, Reconfigure, HA, Scale, Rolling update) Mesos Agent K8s executor pod pod pod container container containercontainer Mesos Master Kubernetes GUI Service Discovery Authentication Authorization Distributed Key-value Store Image registry Monitor HPC App Store Persistent Volume Service Load Balance Trouble- shooting Network Topology
  • 18. Community Value IBM Value-add Customer Value Docker Hub Registry holds a repository of 75000+ Docker images Lots of application integrated with Mesos Kubernetes enable micro-service architecture • Client unique registry available on premises • Security readiness guidance via the Vulnerability Advisor • Build-in applications of popular open source projects and IBM enterprise products in App Store Access to the images and application you require to deploy containers that meet your business needs and strategy Open-source, standardized, lightweight, self sufficient container technology • Balance workload between on-prem and off-prem • Deployment choice with openPOWER and x86_64 Flexibility to choose on-prem and off-prem or mix for your business Build, ship, and run standardized containers • Integrated monitoring & logging • Elasticity to grow storage & container needs • Integrated CI/CD flow • Life-cycle management of containers and data volumes Docker ease of use combined with enterprise-level integrity and confidence
  • 19. Create a Container Cloud for developers supporting DevOps practices and cloud-native apps. Pre-built app catalog for fast deployment of OSS tools. Reduce developer friction, creating faster time to results 1 Improve Developer Productivity Fine grain, dynamic allocation of resources maximizes efficiency of Spark instances sharing a common resource pool. 2 Increase Resource Utilization Proven architecture at extreme scale, with enterprise class workload management, monitoring, reporting, and security capabilities. 3 Reduce Administration Costs
  • 20. Mesos Kubernetes (role = *, bigdata-daemons) Myriad Slaves (weight) Spark Slaves (weight) App Area (label: app) BigData Area (label: bigdata) role = bigdata-daemon: Reserve resources for HDFS and Yarn/Spark master role = bigdata-comute: Reserve resource for Yarn/Spark agents Spark Session Scheduler Myriad Masters Dep 1 Dep 2 Dep 3 ns1 + quota1 ns2 + quota2 ns3 + quota3 Container service role = * BigData Service & Applications (role = bigdata-comute) Resource Sharing Hierarchy Consumer Smart preemption & Sharing policies NS/Quota Network/DNS Scheduling Dream ??? Resource Requirement Spark with kube-mesos
  • 21. What’s next? • Support Sharing Policies & Smart Preemption: Revocable resources support (#19529) Scheduling enhancement (# 31068) • Support Hierarchical Consumer: Namespace/Quota support/integrate (#31069) Multiple roles support • Kube-DNS integrate with external DNS (# 28453) • …
  • 22. Roadmap of kube-mesos-framework (DRAFT) Nov, 2016 End of 2016 2017 v0.7 release new code base v0.9 release new features v0.8 release k8sm refactor v1.0 release Production Ready

Notas del editor

  1. EGO, Mesos are the resource manager.