课堂kuber第三讲的资源调度_第1页
课堂kuber第三讲的资源调度_第2页
课堂kuber第三讲的资源调度_第3页
课堂kuber第三讲的资源调度_第4页
课堂kuber第三讲的资源调度_第5页
已阅读5页,还剩46页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、IBM开源技术微讲堂Kubernetes系列第三讲Kubernetes中的资源调度与资源管理更多信息,请访问:/opentech-ma1“Kubenetes”系列公开课每周四晚8点档..9.10.Kubernetes 初探上手 KubernetesKubernetes 的资源调度Kubernetes 的运行时:Kubelet Kubernetes 的网络管理Kubernetes 的存储管理Kubernetes 的日志与监控Kubernetes 的应用部署扩展 Kubernetes 生态Kubernetes 的企业实践课程Wiki:http:

2、//opentech-ma2讲师介绍马达IBM 软件架构师,Kubernetes Maintainer,Mesos Contributior。吉林大学硕士,主修分布式系统, 网格计算。现任职于IBM系统中心,在资源管理, 资源调度及分布式计算方面有10多年的经验。3?SchedulingPredicatesPrioritiesSchedulingPredicatesScheduling105PrioritiesSchedulingSchedulingPredicatesPrioritiesScheduling?Prevent overcommit?Prevent overcomm

3、it?Prevent co-scheduling (pod anti-affi)Prevent co-scheduling (pod anti-affi)?PodAntiAffinity: TopologyKey: hostname, LabelSelector: type:catPrevent co-scheduling (pod anti-affinity)Prevent co-scheduling (pod anti-affi)Prevent co-scheduling (pod anti-affi)Prevent co-scheduling (pod anti-affi)Prevent

4、 co-scheduling (pod anti-affi)PodAntiAffi: TopologyKey: hostname, LabelSelector: type:catPrevent co-scheduling (pod anti-affi)?Force co-scheduling (pod affi)?PodAffinity: TopologyKey: hostname,LabelSelector: type:saplingForce co-scheduling (pod affinity)Force co-scheduling (pod affi)Dedicated machin

5、es (Taints)Dedicated machines (Taints)Taint: TaintEffect: NoSchedule, Key: color,Value: blueToleration: Key: color,Value: blue, Operator: Equal,TaintEffect: NoScheduleDedicated machines (Taints)Dedicated machines (Taints)Prevent overcommitPrevent co-schedulingForce co-schedulingDedicated NodesPredic

6、ate summary?Best fit vs worst fitWorst fitBest fit vs worst fitBest fitBest fit vs worst fit?Selector SpreadingSelector Spreading?Node AffiNode Affi?Pod AffiPod Affi?Pod Anti-AffiPod Anti-Affi?How to combine scores?aipiLinear combination?Resource ManagementResourceQuotaAdmissionResourceQuota?Resched

7、ulerRescheduler?Priority/PreemptionPriority/PreemptionResource Requirement Resource Estimation Quota by percentage Dynamic QuotaFlexible resource allocationSponsor: Joe Beda (jbeda)Champion: Timothy St. Clair (timothysc)SIG: sig-scheduling, sig-bigdata: kubernetes-incubator/kube-arbitratorStatus: st

8、artup and need more contributor JLive Demokubernetes-incubator/kube-arbitratorSIG SchedulingMeeting every other Monday 2pm PST#sig-scheduling Slack channelkubernetes-sig-scheduling mailing groupJoin commuIBM Code: Deploy a distributed GitLab leveraging Kubernetes and Docker1.The user interacts with

9、GitLab via the webinterface or by pushing code to arepository. The GitLab container runs the mainRuby on Rails application behind NGINX and gitlab-workhorse, which is a reverse proxy for large HTTP requests like file downloads and Git push/pull. While serving repositories over HTTP/ HTTPS, GitLab ut

10、ilizes the GitLab API to resolve authorization and access and serves Git objects.After authentication and authorization, the GitLab Rails application puts the incoming jobs, job information, and metadata on the Redis job queue that acts as a non-persistent database.Repositories are created in a local file system.The user creates users, roles, merge requests, groups, and moreall are then stored in PostgreSQL.The user accesses the reposi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论