Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Chinese docs #157

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ aliases:
- /k3s/latest/en/configuration/
---


本文描述了用于运行和管理 K3s 的高级设置,以及为 K3s 准备主机操作系统所需的步骤。

## 证书管理
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ weight: 1
import ThemedImage from '@theme/ThemedImage';
import useBaseUrl from '@docusaurus/useBaseUrl';


本文介绍了高可用(HA)K3s 服务器集群的架构,以及 K3s 与单节点服务器集群的区别。

本文还描述了 Agent 节点是如何注册到 K3s Server 的。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ k3s server \
从 [v1.21.0+k3s1](https://github.com/k3s-io/k3s/releases/tag/v1.21.0%2Bk3s1) 起可用
:::

支持多个配置文件。默认从 `/etc/rancher/k3s/config.yaml` 和 `/etc/rancher/k3s/config.yaml.d/*.yaml` 中按字母顺序读取配置文件。将使用给定键的最后一个值。可以将 `+` 附加到键,这样能将值附加到现有字符串或切片,而不是替换它。
支持多个配置文件。默认从 `/etc/rancher/k3s/config.yaml` 和 `/etc/rancher/k3s/config.yaml.d/*.yaml` 中按字母顺序读取配置文件。

默认情况下,将使用给定键的最后一个值。可以将 `+` 附加到键,这样能将值附加到现有字符串或切片,而不是替换它。后续文件中的所有此键也需要使用 `+` 来防止覆盖累积值。

多个配置文件的示例如下:

Expand All @@ -134,13 +136,16 @@ node-label:

# config.yaml.d/test1.yaml
write-kubeconfig-mode: 600

node-taint:
- alice=bob:NoExecute

# config.yaml.d/test2.yaml
write-kubeconfig-mode: 777
node-label:
- other=what
- foo=three
node-taint+:
- charlie=delta:NoSchedule

```

Expand All @@ -152,6 +157,9 @@ token: boop
node-label:
- other=what
- foo=three
node-taint:
- alice=bob:NoExecute
- charlie=delta:NoSchedule
```

## 组合使用
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Kubernetes 仪表板"
weight: 60
---


本安装指南将帮助你在 K3s 上部署和配置 [Kubernetes 仪表板](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/)。

### 部署 Kubernetes 仪表板
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "网络选项"
weight: 25
---


本文介绍了 K3s 网络配置选项,包括配置或替换 Flannel,以及配置 IPv6。

> **注意**:有关 CoreDNS、Traefik 和 Service LB 的信息,请参阅[网络](../networking/networking.md)页面。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "CIS Hardening Guide"
weight: 80
---


:::info
请知悉,本文仅提供英文版。
:::
Expand Down
Loading