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