kubenate翻譯--Tutorials教程-Kubernetes Basics基礎- Using Minikube to Create a Cluster

Using Minikube to Create a Cluster

Objectives? 目的

Learn what a Kubernetes cluster is.?了解Kubernetes集群是什么刁俭。

Learn what Minikube is.?學習Minikube是什么产还。

Start a Kubernetes cluster using an online terminal.?使用一個在線終端啟動一個Kubernetes集群策泣。

Kubernetes Clusters?Kubernetes集群


Kubernetes Clusters? 什么是Kubernetes集群

Kubernetes coordinates 使調(diào)和 a highly available cluster of computers that are connected to work as a single unit.?Kubernetes將一個高度可用的計算機集群協(xié)調(diào)起來,這些計算機作為一個單獨的單元連接到一起工作巨缘。

The abstractions抽象 in Kubernetes allow you to deploy containerized applications to a cluster without tying them specifically to individual 個體machines.Kubernetes的抽象允許您將容器化的應用程序部署到集群中,而不需要將它們與單獨的機器綁定在一起。

?To make use of this new model of deployment, applications need to be packaged in a way that decouples them from individual hosts為了使用這種新的部署模型宁炫,應用程序需要以一種將它們從單個主機中分離出來的方式進行打包土砂。

: they need to be containerized.需要集裝箱化

Containerized applications are more flexible and available than in past deployment models, where applications were installed directly onto specific machines as packages deeply integrated整合 into the host主機.?Kubernetes automates?使自動化 the distribution 分配 and scheduling of application containers across a cluster in a more efficient way.?Kubernetes is an?open-source?platform and is production-ready.

A Kubernetes cluster consists of two types of resources:

The?Master?coordinates the cluster

Nodes?are the workers that run applications


Cluster Diagram? 集群圖


master

node?

node processes?進程

The Master is responsible?負責 for managing the cluster.?集群管理州既。?The master coordinates?使協(xié)調(diào) all activities?活動性 in your cluster, such as scheduling applications調(diào)度程序, maintaining applications' desired state,維護應用程序的理想狀態(tài) scaling applications擴展應用程序, and rolling out new updates.推出新的更新。

A node is a VM or a physical computer that serves as a worker machine in a Kubernetes cluster.?Each node has a Kubelet, which is an agent for managing the node and communicating交流? with the Kubernetes master. The node should also have tools for handling container operations, such as?Docker?or?rkt. A Kubernetes cluster that handles production traffic 交通 should have a minimum of three nodes.

When you deploy applications on Kubernetes, you tell the master to start the application containers. 當您在Kubernetes上部署應用程序時萝映,請告訴主人啟動應用程序容器

?The master schedules the containers to run on the cluster's nodes.?在集群的節(jié)點上 主容器 調(diào)度 去運行?

The nodes communicate 通訊 with the master using the Kubernetes API, which the master exposes暴露.

節(jié)點使用Kubernetes API與主節(jié)點通信吴叶,

?End users can also use the Kubernetes API directly to interact with the cluster

終端用戶還可以直接使用Kubernetes API與集群交互。.

A Kubernetes cluster can be deployed on either physical or virtual machines.Kubernetes集群可以部署在物理或虛擬機上

?To get started with Kubernetes development, you can use?Minikube?

為了開始Kubernetes的開發(fā)序臂,你可以使用Minikube

Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node.Minikube是一款輕量級的Kubernetes實現(xiàn)蚌卤,它在本地機器上創(chuàng)建一個VM,并部署一個只包含一個節(jié)點的簡單集群

? Minikube is available for Linux, macOS, and Windows systems. Minikube適用于Linux奥秆、macOS和Windows系統(tǒng)

The Minikube CLI provides basic bootstrapping operations for working with your cluster, Minikube CLI提供了與集群一起工作的基本啟動操作逊彭,

including start, stop, status, and delete. For this tutorial, however, you'll use a provided online terminal with Minikube pre-installed.

包括開始、停止构订、狀態(tài)和刪除侮叮。但是豪嚎,在本教程中撩嚼,您將使用一個提供的在線終端,并預先安裝Minikube尼变。

Now that you know what Kubernetes is, let's go to the online tutorial and start our first cluster!

現(xiàn)在您已經(jīng)知道Kubernetes是什么了亥宿,讓我們進入在線教程卸勺,開始我們的第一個集群!


搞定好像minikube很厲害的樣子箩绍,你到時在window上安裝一個試試啊

在阿里云上安裝孔庭,阿里云運行你開虛擬服務嗎

雞生蛋,蛋生雞!圆到!

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末怎抛,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子芽淡,更是在濱河造成了極大的恐慌马绝,老刑警劉巖,帶你破解...
    沈念sama閱讀 222,000評論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件挣菲,死亡現(xiàn)場離奇詭異富稻,居然都是意外死亡,警方通過查閱死者的電腦和手機白胀,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,745評論 3 399
  • 文/潘曉璐 我一進店門椭赋,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人或杠,你說我怎么就攤上這事哪怔。” “怎么了向抢?”我有些...
    開封第一講書人閱讀 168,561評論 0 360
  • 文/不壞的土叔 我叫張陵认境,是天一觀的道長。 經(jīng)常有香客問我挟鸠,道長叉信,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 59,782評論 1 298
  • 正文 為了忘掉前任艘希,我火速辦了婚禮硼身,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘枢冤。我一直安慰自己鸠姨,他們只是感情好,可當我...
    茶點故事閱讀 68,798評論 6 397
  • 文/花漫 我一把揭開白布淹真。 她就那樣靜靜地躺著讶迁,像睡著了一般。 火紅的嫁衣襯著肌膚如雪核蘸。 梳的紋絲不亂的頭發(fā)上巍糯,一...
    開封第一講書人閱讀 52,394評論 1 310
  • 那天,我揣著相機與錄音客扎,去河邊找鬼祟峦。 笑死,一個胖子當著我的面吹牛徙鱼,可吹牛的內(nèi)容都是我干的宅楞。 我是一名探鬼主播针姿,決...
    沈念sama閱讀 40,952評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼厌衙!你這毒婦竟也來了距淫?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,852評論 0 276
  • 序言:老撾萬榮一對情侶失蹤婶希,失蹤者是張志新(化名)和其女友劉穎榕暇,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體喻杈,經(jīng)...
    沈念sama閱讀 46,409評論 1 318
  • 正文 獨居荒郊野嶺守林人離奇死亡彤枢,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,483評論 3 341
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了筒饰。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片缴啡。...
    茶點故事閱讀 40,615評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖瓷们,靈堂內(nèi)的尸體忽然破棺而出盟猖,到底是詐尸還是另有隱情,我是刑警寧澤换棚,帶...
    沈念sama閱讀 36,303評論 5 350
  • 正文 年R本政府宣布,位于F島的核電站反镇,受9級特大地震影響固蚤,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜歹茶,卻給世界環(huán)境...
    茶點故事閱讀 41,979評論 3 334
  • 文/蒙蒙 一夕玩、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧惊豺,春花似錦燎孟、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,470評論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至烹俗,卻和暖如春爆侣,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背幢妄。 一陣腳步聲響...
    開封第一講書人閱讀 33,571評論 1 272
  • 我被黑心中介騙來泰國打工兔仰, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人蕉鸳。 一個月前我還...
    沈念sama閱讀 49,041評論 3 377
  • 正文 我出身青樓乎赴,卻偏偏與公主長得像,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子榕吼,可洞房花燭夜當晚...
    茶點故事閱讀 45,630評論 2 359

推薦閱讀更多精彩內(nèi)容