zh-translation:/docs/setup/platform-setup/MicroK8s/index.md (#5461)

This commit is contained in:
niceforbear 2019-11-07 22:53:07 +08:00 committed by Istio Automation
parent 27e60542c5
commit f6e0abeacb
1 changed files with 11 additions and 11 deletions

View File

@ -1,37 +1,37 @@
---
title: MicroK8s
description: Instructions to setup MicroK8s for use with Istio.
description: 配置 MicroK8s 以便使用 Istio。
weight: 20
skip_seealso: true
aliases:
- /docs/setup/kubernetes/prepare/platform-setup/MicroK8s/
- /docs/setup/kubernetes/platform-setup/MicroK8s/
- /zh/docs/setup/kubernetes/prepare/platform-setup/MicroK8s/
- /zh/docs/setup/kubernetes/platform-setup/MicroK8s/
keywords: [platform-setup,kubernetes,MicroK8s]
---
Follow these instructions to prepare MicroK8s for using Istio.
请按照如下说明准备 MicroK8s 以便使用 Istio。
{{< warning >}}
Administrative privileges are required to run MicroK8s.
运行 MicroK8s 需要管理员权限。
{{< /warning >}}
1. Install the latest version of [MicroK8s](https://microk8s.io) using the command
1. 使用如下命令安装最新版本的 [MicroK8s](https://microk8s.io)
{{< text bash >}}
$ sudo snap install microk8s --classic
{{< /text >}}
1. Enable Istio with the following command:
1. 使用如下命令启用 Istio。
{{< text bash >}}
$ microk8s.enable istio
{{< /text >}}
1. When prompted, choose whether to enforce mutual TLS authentication among sidecars.
If you have a mixed deployment with non-Istio and Istio enabled services or you're unsure, choose No.
1. 当提示出现时,您需要选择是否在 sidecars 之间强制进行双向 TLS 认证。
如果您有不支持 Istio 和支持 Istio 服务的混合部署,或者您不确定,请选择 No。
Please run the following command to check deployment progress:
请运行以下命令来检查部署进度:
{{< text bash >}}
$ watch microk8s.kubectl get all --all-namespaces
{{< /text >}}
{{< /text >}}