From 42b7bb2fee8ce9311b90ca33aa1ebef3e894eb0b Mon Sep 17 00:00:00 2001 From: guoxudong Date: Fri, 30 Apr 2021 10:05:38 +0800 Subject: [PATCH] translate kubectlplugin (#83) --- .../{kubectlplugin.md => kubectlplugin.mdx} | 41 +++++++++++++++---- 1 file changed, 34 insertions(+), 7 deletions(-) rename i18n/zh/docusaurus-plugin-content-docs/current/end-user/{kubectlplugin.md => kubectlplugin.mdx} (51%) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/end-user/kubectlplugin.md b/i18n/zh/docusaurus-plugin-content-docs/current/end-user/kubectlplugin.mdx similarity index 51% rename from i18n/zh/docusaurus-plugin-content-docs/current/end-user/kubectlplugin.md rename to i18n/zh/docusaurus-plugin-content-docs/current/end-user/kubectlplugin.mdx index 888a9bf7..2fcbf38f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/end-user/kubectlplugin.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/end-user/kubectlplugin.mdx @@ -1,22 +1,49 @@ --- -title: Install kubectl plugin +title: 安装 kubectl 插件 --- -Install vela kubectl plugin can help you to ship applications more easily! +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; -## Installation +安装 vela kubectl 插件可以帮助你更简单的交付云原生应用! -You can install kubectl plugin `kubectl vela` by: +## 安装 + +你可以通过以下方式安装 `kubectl vela`: + + + + +1. 安装并且设置 [krew](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) +2. 更新 kubectl 插件列表: + ```shell + kubectl krew update + ``` +3. 安装 kubectl vela: + ```shell script + kubectl krew install vela + ``` + + + **macOS/Linux** ```shell script curl -fsSl https://kubevela.io/script/install-kubectl-vela.sh | bash ``` -You can also download the binary from [release pages ( >= v1.0.3)](https://github.com/oam-dev/kubevela/releases) manually. -Kubectl will discover it from your system path automatically. +你也可以在 [release 页面(>= v1.0.3)](https://github.com/oam-dev/kubevela/releases)手动下载二进制可执行文件,Kubectl 会自动从你的系统路径中找到它。 + + -## Usage + +## 使用 ```shell $ kubectl vela -h