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 使调和 a highly available cluster of computers that are connected to work as a single unit. Kubernetes将一个高度可用的计算机集群协调起来,这些计算机作为一个单独的单元连接到一起工作。

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  集群图


kubenate翻译--Tutorials教程-Kubernetes Basics基础- Using Minikube to Create a Cluster_第1张图片

master

node 

node processes 进程

The Master is responsible 负责 for managing the cluster. 集群管理。 The master coordinates 使协调 all activities 活动性 in your cluster, such as scheduling applications调度程序, maintaining applications' desired state,维护应用程序的理想状态 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. 在集群的节点上 主容器 调度 去运行 

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

节点使用Kubernetes API与主节点通信,

 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的开发,你可以使用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实现,它在本地机器上创建一个VM,并部署一个只包含一个节点的简单集群

  Minikube is available for Linux, macOS, and Windows systems. Minikube适用于Linux、macOS和Windows系统

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.

包括开始、停止、状态和删除。但是,在本教程中,您将使用一个提供的在线终端,并预先安装Minikube。

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

现在您已经知道Kubernetes是什么了,让我们进入在线教程,开始我们的第一个集群!


搞定好像minikube很厉害的样子,你到时在window上安装一个试试啊

在阿里云上安装,阿里云运行你开虚拟服务吗

鸡生蛋,蛋生鸡!!

kubenate翻译--Tutorials教程-Kubernetes Basics基础- Using Minikube to Create a Cluster_第2张图片

你可能感兴趣的:(kubenate翻译--Tutorials教程-Kubernetes Basics基础- Using Minikube to Create a Cluster)