![CCTC201才云科技鄧德源-谷歌容器集群管理系統(tǒng)實踐_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/10/20d6b10b-5c40-4777-8f29-bd3620264c4d/20d6b10b-5c40-4777-8f29-bd3620264c4d1.gif)
![CCTC201才云科技鄧德源-谷歌容器集群管理系統(tǒng)實踐_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/10/20d6b10b-5c40-4777-8f29-bd3620264c4d/20d6b10b-5c40-4777-8f29-bd3620264c4d2.gif)
![CCTC201才云科技鄧德源-谷歌容器集群管理系統(tǒng)實踐_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/10/20d6b10b-5c40-4777-8f29-bd3620264c4d/20d6b10b-5c40-4777-8f29-bd3620264c4d3.gif)
![CCTC201才云科技鄧德源-谷歌容器集群管理系統(tǒng)實踐_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/10/20d6b10b-5c40-4777-8f29-bd3620264c4d/20d6b10b-5c40-4777-8f29-bd3620264c4d4.gif)
![CCTC201才云科技鄧德源-谷歌容器集群管理系統(tǒng)實踐_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/10/20d6b10b-5c40-4777-8f29-bd3620264c4d/20d6b10b-5c40-4777-8f29-bd3620264c4d5.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、CCTC2016才云科技鄧德源-谷歌容器集群管理系統(tǒng)實谷歌容器集群管理系統(tǒng)實踐鄧德源才云科技Engineering in Google? Development? <20% time side project? work on any project you want? dashboard for posting jobs? you can do more than you think!? Be SRE for <2 or 3 months (<20% more salary!)? SRE (Site Reliability Engineering)? 50% time fo
2、r development? to automate routine tasks? scale nicely? SRE consists of two categories: 55% SDE, and 45% Ops? Say no to development team? error quota, e.g. 99.95% slo monthly means 4hrs impact? both SRE and Development team mange the risk? Ability to change code base? Postmortem? Not to blame, but t
3、o find problems and fix itContainer? Reason? primary goal: save money - VM is heavy? high-density and performance? fast to start? Start Container Journey? <2004 - ? Everything runs in container? use container for decade? ><2B container a weekLimited Isolationchrootcgroupslxclmctfy<20
4、04<2006<2008<2013user namespace <2014<2007 namespaces?<2015 OCIContainerImage from RedhatLimited Isolationchrootcgroupslxclmctfy<2004<2006<2008<2013user namespace <2014<2007 namespaces?<2015 OCI? cgroup? resource isolation (cpu, memory, blockio, etc.)ContainerL
5、imited Isolationchrootcgroupslxclmctfy<2004<2006<2008<2013 user namespace <2014<2007 namespaces?<2015 OCI? cgroup v1 -> v<2? multiple hierarchy? subcontainer and asymmetric isolation? v<2: unified hierarchyImage from Redhat sub1 sub<2sub3subcontainerCPU MemNetcon
6、tainer1container<2container3asymmetric isolationcg1cg10 cg11cg100 cg101ContainerLimited Isolationchrootcgroupslxclmctfy<2004<2006<2008<2013user namespace <2014<2015 OCI<2007 namespaces?Image from Toptal? Namespacesenvironment? isolate pro cess's 6><#00aa00'>v
7、iew of the operating? Mount, UTS, IPC, PID, Network, User? Support added fair recently? Primarily Linux cgroups? 'namespace' is done at user-space policiesContainer? lxc? lmctfy? internal version of Imctfy exists long before lxc? lxc: no strong abstraction? namespace abstraction + raw cgroup
8、? lxc: no programmable API? must be built to work with other tools? lmctfy: more abstraction and enhancement? e.g. subcontainer and asymmetric isolation? e.g. quality of service? OCI? Container: runtime + image? Based on DockerLimited Isolationchroot cgroupslxclmctfy<2004<2006<2008<2013u
9、ser namespace <2014<2007 namespaces?<2015 OCIContainer? Container management? clustering is the hard part? hundreds of engineerings building cluster management systemBorg: concepts? Configuration? Borg configuration language? Most hated ' language? Job and Task? Job: unit of deployment,
10、 including resources requirement, number of tasks, etc? Task: unit of running entity? Resource container: the container to run taskJobTask1 Task<2Borg: concepts? AllocSet and Alloc? co-scheduling: e.g. logsaver and application? share resources for all tasks? persist data when tasks exitJobTask1 T
11、ask<2host bind mount/cg11/cg1<2Borg: concepts? Scheduling? priority? resources: resource has priority? quota: quota has priority? packages: vs docker image? machine constraints? %ports% (BNS, chubby)? options:? repeated failures? quorum requirement? etc? Runtime? application class? resource es
12、timation:? decrease resource reservation (gradual decay function)borg config file borgcfg1RPC/Protocol BufferPrimary BorgMasterschedulerservertask1pkg1<2Paxospkg<2resource containerBorglettask_Nresource containerBorgletpollinginstalling packageBorg Cell8 'run ' + args + resourceAuthN/Z
13、Borg: Request LifecyclelinkshardBorg: The Good, The Bad, The Ugly? 高穩(wěn)定性、高自動化、高智能? 極其復(fù)雜的配置文件最流行語言排行榜?Go, Python, Java, C+, Javascript,最令人畏懼語言排行榜?Python, Borgcfg, Borgmon, Shell,? Borgmaster becomes borg monster? People step on each other 's footOmega: 早年寄予厚望? From Monolithic to Shared State? Pers
14、istent Storage as the ground truth? Look to the Future!? Collaboration across the globe? A bottom up driven projectOmega: 中年四面楚歌? Engineering mayhem? Testing cell? API rewrites, all Borg callers have to change (along with behavioral change)!? Borgmaster is hard to rewrite?向現(xiàn)實妥協(xié):? 項目進度? 與 Borg 的關(guān)系Ome
15、ga: 晚年戛然而止? 工程與理論的差距? 預(yù)測的困難? 精確度 vs 吞吐量? Borg 的進化? 性能? 軟件工程? 終究下架? Big shuffleCloud: The Urs'quake? 經(jīng)濟上的巨大回報? 技術(shù)上的巨大領(lǐng)先? 產(chǎn)品化上的差異? PaaS與laaS的矛盾? GAE vs GCE? Managed VMKubernetes? 此處為何地? Google Mountain <#00aa00'>View? Google Pittsburgh? kubernetes 乳名 ? Kubernetes birth placeKubernetesyam
16、l config file kubectl1HTTPSingle Masterscheduler API server con1<2etcd4KubeletKubernetes Cluster3 AuthN/Zcontrollermanagercon<2infrainstalling packagewatchpostcon1Kubeletcon<2infra? 一個 Cluster 里有一個或多個 Borg cell? Borg 容器之外的其他任務(wù)? Borg 自身誰來管理?? 機器層面誰來管理?? 網(wǎng)絡(luò)層面誰來管理?? 安全誰來控制?? 鏡像如何管理?Cluster man
17、agementBorgHarewareOps流程工具/、自動系統(tǒng)安裝工具在線硬盤修復(fù)系統(tǒng)生產(chǎn)系統(tǒng)維護管理系統(tǒng)節(jié)點醫(yī)生網(wǎng)絡(luò)醫(yī)生耗竭系集群工作流管理系統(tǒng) 日歷系統(tǒng)Capacity 安全把控系統(tǒng)分布式存儲集群數(shù)據(jù)庫用戶和組管理系統(tǒng)SDN網(wǎng) 絡(luò)自動節(jié)能系統(tǒng)負(fù)載均衡資源分配擴容系統(tǒng)集群監(jiān)測系統(tǒng)安全掃描系統(tǒng)分布式構(gòu)建系統(tǒng)分布式測試系統(tǒng)調(diào)試系統(tǒng)和工具調(diào)試系統(tǒng)和工具發(fā)布管理工具The entire familyAnd . The Robot? Disk Erase? Decommission? Inventory ManagementAn example workflow: Pre-borg 集群工作流管理系統(tǒng)自動系統(tǒng)安裝工具集群數(shù)據(jù)庫節(jié)點管理agentBorgdriverChubbydriver節(jié)點醫(yī)生
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 傭金類合同范例
- 全國公路合同范本2013
- 勘測設(shè)備購銷合同范本
- 出境合同范本
- 別墅裝修協(xié)議合同范例
- 出租房屋水電維修合同范本
- 買車出售合同范例
- 修鎖合同范例
- 勞務(wù)調(diào)查居間合同范例
- 個人與公司采購合同范例
- JJF 1069-2012 法定計量檢定機構(gòu)考核規(guī)范(培訓(xùn)講稿)
- 最新如何進行隔代教育專業(yè)知識講座課件
- 當(dāng)前警察職務(wù)犯罪的特征、原因及防范,司法制度論文
- 計算機文化基礎(chǔ)單元設(shè)計-windows
- 創(chuàng)建動物保護家園-完整精講版課件
- 廣東省保安服務(wù)監(jiān)管信息系統(tǒng)用戶手冊(操作手冊)
- DNA 親子鑒定手冊 模板
- DB33T 1233-2021 基坑工程地下連續(xù)墻技術(shù)規(guī)程
- 天津 建設(shè)工程委托監(jiān)理合同(示范文本)
- 部編一年級語文下冊教材分析
- 火炬及火炬氣回收系統(tǒng)操作手冊
評論
0/150
提交評論