Harvester Beta版本發佈,交付新一代超融合基礎架構!

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"2020年12月,Rancher中國研發團隊"},{"type":"link","attrs":{"href":"https:\/\/mp.weixin.qq.com\/s?__biz=MzIyMTUwMDMyOQ==&mid=2247495155&idx=1&sn=f15094eb80787089c30d8d927821014f&scene=21#wechat_redirect","title":null,"type":null},"content":[{"type":"text","text":"首次推出Harvester"}]},{"type":"text","text":",這是一款通過Kubernetes構建的超融合基礎架構開源軟件。自此,我們收到了來自早期使用者的大量反饋。這些反饋充分幫助研發團隊制定Harvester的發展路線。近日,Harvester 0.2.0已經全新發布,正式進入Beta階段!"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/f1\/f106c009bda231c9181c233880a30dd6.png","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"原始塊設備(Raw Block Device)支持"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在Harvester 0.2.0中,我們增加了對原始塊設備的支持。由於這是一個底層架構的變化,所以對於最終用戶來說,這一更新不是十分明顯。以下是關於這一特性的信息:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在Harvester v0.1.0中,從鏡像到虛擬機的工作流如下:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"numberedlist","attrs":{"start":null,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"用戶添加一個新的VM鏡像"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"Harvester將鏡像下載到內置的MinIO對象存儲中"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":"用戶使用該鏡像創建一個新的VM"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":4,"align":null,"origin":null},"content":[{"type":"text","text":"Harvester從MinIO對象存儲中複製鏡像並創建一個新的volume卷"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":5,"align":null,"origin":null},"content":[{"type":"text","text":"該鏡像作爲一個塊設備呈現給VM,但它作爲文件存儲在Harvester創建的volume中"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"這一工作方式存在一些問題:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"numberedlist","attrs":{"start":null,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"由於文件系統層的開銷,對VM volume的讀\/寫操作需要轉換爲讀\/寫鏡像文件,與讀\/寫原始塊設備相比,其性能更差"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"如果一個VM鏡像被不同的VM使用多次,它將會在集羣中被複制多次。這是因爲每個VM都有自己的volume副本,儘管大部分內容可能是相同的,因爲它們來自同一個鏡像。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":"對MinIO存儲鏡像的依賴導致Harvester需要保持MinIO的高可用性和可擴展性。這些要求給Harvester管理平面帶來了額外的負擔。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在 v0.2.0 中,我們採用另一種方式來解決這些問題,使得整個解決方案具有更好的性能和更少的重複數據:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"numberedlist","attrs":{"start":null,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"現在我們爲VM提供的是原始塊設備,而不是文件系統上的鏡像文件,這使得虛擬機的性能得到提高。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"我們充分利用了Longhorn v1.1.1中Backing鏡像的功能來減少VM鏡像不必要的複製。現在VM鏡像將作爲一個只讀層提供給所有使用它的VM。Longhorn現在負責在鏡像之上創建另一個寫時拷貝(copy-on-write)層,供虛擬機使用。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":"既然現在Longhorn開始使用Backing鏡像功能來管理VM鏡像,那麼MinIO的依賴項將可以被移除。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/8d\/8d7839f01453e7c908d43dc945f5f38b.png","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"Harvester中的鏡像"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"從用戶體驗的角度來看,你可能已經注意到,瞬間就能完成一個鏡像的導入。而由於Longhorn中的鏡像下載過程,啓動一個基於新鏡像的VM需要花費一點時間。不過,與之前的v0.1.0版本相比,使用相同鏡像的虛擬機的啓動時間將明顯縮短,而且磁盤IO性能也會更好。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"支持虛擬機實時遷移"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"爲了讓之後的升級過程更順利,現在Harvester v0.2.0中支持虛擬機實時遷移。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"虛擬機實時遷移可以讓虛擬機從一個節點遷移到另一個節點,且沒有任何停機時間。當你想在一個節點上進行維護工作或想在各節點上平衡工作負載時,大多會用到它。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"值得注意的一點是,由於使用默認管理網絡時,遷移後虛擬機的IP可能會發生變化,因此我們強烈建議使用VLAN網絡而不是默認管理網絡。否則,你可能在遷移到另一個節點後無法爲虛擬機保持相同的IP。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"關於實時遷移的功能,你可以參閱以下鏈接:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/docs.harvesterhci.io\/v0.2\/vm\/live-migration\/"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"虛擬機備份支持"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在Harvester v0.2.0中我們添加了虛擬機備份支持。該備份支持功能爲你提供了一種在集羣外備份虛擬機鏡像的方式。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"要使用備份\/存儲功能,你需要一個與S3兼容的端點或NFS server,備份的目的地將被稱爲備份目標。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"你可以訪問以下鏈接瞭解如何在Harvester中設置備份目標:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/docs.harvesterhci.io\/v0.2\/vm\/backup-restore\/"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/f5\/f54f918277646ac8d7e0e59d4017fa34.png","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"在Harvester中輕鬆管理和操作你的虛擬機"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"與此同時,我們也在爲虛擬機開發快照功能。與備份功能相反,快照功能將在集羣內存儲鏡像狀態,爲虛擬機提供恢復快照的能力。與備份功能不同,快照不會將數據複製到集羣外。因此,這將是一個實驗性的方法,但如果你需要在集羣發生故障時保障數據安全,這並不是理想方法。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"支持PXE Boot安裝"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"PXE boot安裝被廣泛應用於數據中心,用所需的操作系統自動填充裸機節點。我們在Harvester v0.2.0中添加了這一功能,以幫助擁有大量服務器並希望獲得完全自動化安裝過程的用戶。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"如果你想了解更多如何在Harvester中使用PXE boot安裝的信息,請參閱以下鏈接:"},{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/docs.harvesterhci.io\/v0.2\/install\/pxe-boot-install\/"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"此外,我們還提供了一些在公有裸機雲提供商上進行iPXE的例子,包括Equinix Metal。更多信息,請訪問以下鏈接:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/github.com\/harvester\/ipxe-examples\/blob\/main\/equinix\/README.md"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Rancher集成"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最後,在Harvester v0.2.0中現在內置了一個用於Kubernetes管理的Rancher server。這是自我們宣佈Harvester v0.1.0發佈以來呼聲最大的功能之一,我們非常高興在v0.2.0中提供Rancher集成。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在Harvester v0.2.0中,你可以使用內置的Rancher server在你的Harvester裸機集羣上創建Kubernetes集羣。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"要在Harvester v0.2.0中開始使用內置的Rancher,進入“Settings”,然後將“rancher-enabled”選項設置爲“true”。現在你應該能在UI的右上角看到一個Rancher按鈕。點擊該按鈕即可訪問Rancher UI。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Harvester和Rancher共享身份認證流程,所以一旦你登錄到Harvester,你不需要在Rancher中重新進行登錄,反之亦然。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"如果你想使用Rancher創建一個新的Kubernetes集羣,你可以根據以下鏈接進行操作:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/docs.harvesterhci.io\/v0.2\/rancher\/node-driver\/#create-cluster"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"值得注意的是,在Harvester之上創建Kubernetes集羣時需要啓用VLAN網絡,因爲默認的管理網絡不能保證虛擬機有一個穩定的IP,尤其是在重啓或遷移之後。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"未來規劃"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"接下來,我們將發佈v0.3.0,這是Harvester GA前的最後一個版本。我們正在努力研發的v0.3.0中新增了許多亮點功能:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" "}]},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"內置負載均衡"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"集成Rancher 2.6"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"採用一個爲容器工作負載設計的小型操作系統"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"支持多租戶"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"支持多磁盤"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"支持VM快照"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Terraform應用支持"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Guest Kubernetes集羣 CSI驅動程序"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"增強監控、日誌功能"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Harvester秉承100%開源的理念,歡迎下載體驗。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Harvester GitHub:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/github.com\/harvester\/harvester"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Harvester主頁:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"underline"}],"text":"https:\/\/harvesterhci.io\/"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"本文轉載自:RancherLabs(ID:RancherLabs)"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"原文鏈接:"},{"type":"link","attrs":{"href":"https:\/\/mp.weixin.qq.com\/s\/UttDt79tTtoS8ARceFVcnw","title":"xxx","type":null},"content":[{"type":"text","text":"Harvester Beta版本發佈,交付新一代超融合基礎架構!"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章