2018-10-12 21:25:01 +00:00
<!--
---
reviewers:
- janetkuo
title: Tools
content_template: templates/concept
---
-->
---
reviewers:
- janetkuo
2018-11-03 11:34:25 +00:00
title: 工具
2018-10-12 21:25:01 +00:00
content_template: templates/concept
---
<!--
Kubernetes contains several built-in tools to help you work with the Kubernetes system.
-->
{{% capture overview %}}
2018-11-03 11:34:25 +00:00
Kubernetes 包含一些内置工具,可以帮助用户更好的使用 Kubernetes 系统。
2018-10-12 21:25:01 +00:00
{{% /capture %}}
{{% capture body %}}
## Kubectl
<!--
[`kubectl` ](/docs/tasks/tools/install-kubectl/ ) is the command line tool for Kubernetes. It controls the Kubernetes cluster manager.
-->
2018-11-03 11:34:25 +00:00
[`kubectl` ](/docs/tasks/tools/install-kubectl/ ) 是 Kubernetes 命令行工具,可以用来操控 Kubernetes 集群。
2018-10-12 21:25:01 +00:00
## Kubeadm
<!--
[`kubeadm` ](/docs/tasks/tools/install-kubeadm/ ) is the command line tool for easily provisioning a secure Kubernetes cluster on top of physical or cloud servers or virtual machines (currently in alpha).
-->
2018-11-03 11:34:25 +00:00
[`kubeadm` ](/docs/tasks/tools/install-kubeadm/ ) 是一个命令行工具,可以用来在物理机、云服务器或虚拟机(目前处于 alpha 阶段)上轻松部署一个安全可靠的 Kubernetes 集群。
2018-10-12 21:25:01 +00:00
## Kubefed
<!--
[`kubefed` ](/docs/tasks/federation/set-up-cluster-federation-kubefed/ ) is the command line tool
to help you administrate your federated clusters.
-->
2018-11-03 11:34:25 +00:00
[`kubefed` ](/docs/tasks/federation/set-up-cluster-federation-kubefed/ ) 是一个命令行工具,可以用来帮助用户管理联邦集群。
2018-10-12 21:25:01 +00:00
## Minikube
<!--
[`minikube` ](/docs/tasks/tools/install-minikube/ ) is a tool that makes it
easy to run a single-node Kubernetes cluster locally on your workstation for
development and testing purposes.
-->
2018-11-03 11:34:25 +00:00
[`minikube` ](/docs/tasks/tools/install-minikube/ ) 是一个可以方便用户在其工作站点本地部署一个单节点 Kubernetes 集群的工具,用于开发和测试。
2018-10-12 21:25:01 +00:00
## Dashboard
<!--
[`Dashboard` ](/docs/tasks/access-application-cluster/web-ui-dashboard/ ), the web-based user interface of Kubernetes, allows you to deploy containerized applications
to a Kubernetes cluster, troubleshoot them, and manage the cluster and its resources itself.
-->
2018-11-03 11:34:25 +00:00
[`Dashboard` ](/docs/tasks/access-application-cluster/web-ui-dashboard/ ), 是 Kubernetes 基于 Web 的用户管理界面,允许用户部署容器化应用到 Kubernetes 集群,进行故障排查以及管理集群和集群资源。
2018-10-12 21:25:01 +00:00
## Helm
<!--
[`Kubernetes Helm` ](https://github.com/kubernetes/helm ) is a tool for managing packages of pre-configured
Kubernetes resources, aka Kubernetes charts.
-->
2018-11-03 11:34:25 +00:00
[`Kubernetes Helm` ](https://github.com/kubernetes/helm ) 是一个管理预先配置 Kubernetes 资源包的工具,这里的资源在 Helm 中也被称作 Kubernetes charts。
2018-10-12 21:25:01 +00:00
<!--
Use Helm to:
* Find and use popular software packaged as Kubernetes charts
* Share your own applications as Kubernetes charts
* Create reproducible builds of your Kubernetes applications
* Intelligently manage your Kubernetes manifest files
* Manage releases of Helm packages
-->
2018-11-03 11:34:25 +00:00
使用 Helm:
2018-10-12 21:25:01 +00:00
2018-11-03 11:34:25 +00:00
* 查找并使用已经打包为 Kubernetes charts 的流行软件
* 分享您自己的应用作为 Kubernetes charts
* 为 Kubernetes 应用创建可重复执行的构建
* 为您的 Kubernetes 清单文件提供更智能化的管理
* 管理 Helm 软件包的发布
2018-10-12 21:25:01 +00:00
## Kompose
<!--
[`Kompose` ](https://github.com/kubernetes-incubator/kompose ) is a tool to help Docker Compose users move to Kubernetes.
-->
2018-11-03 11:34:25 +00:00
[`Kompose` ](https://github.com/kubernetes-incubator/kompose ) 一个转换工具,用来帮助 Docker Compose 用户迁移至 Kubernetes。
2018-10-12 21:25:01 +00:00
<!--
Use Kompose to:
* Translate a Docker Compose file into Kubernetes objects
* Go from local Docker development to managing your application via Kubernetes
* Convert v1 or v2 Docker Compose `yaml` files or [Distributed Application Bundles ](https://docs.docker.com/compose/bundles/ )
-->
2018-11-03 11:34:25 +00:00
使用 Kompose:
2018-10-12 21:25:01 +00:00
2018-11-03 11:34:25 +00:00
* 将一个 Docker Compose 文件解释成 Kubernetes 对象
* 将本地 Docker 开发 转变成通过 Kubernetes 来管理
* 转换 v1 或 v2 Docker Compose `yaml` 文件 或 [分布式应用程序包 ](https://docs.docker.com/compose/bundles/ )
{{% /capture %}}