Skip to content

Commit de1a887

Browse files
add: harvester zh-tw version (unfinished)
1 parent e9c3cd4 commit de1a887

51 files changed

Lines changed: 3889 additions & 3934 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

i18n/zh-TW/docusaurus-plugin-content-docs/current/harvester/advanced/addons/kubeovn-operator.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@ title: "Kube-OVN Operator"
88
<link rel="canonical" href="https://docs.harvesterhci.io/v1.6/advanced/addons/kubeovn-operator"/>
99
</head>
1010

11-
_Available as of v1.6.0_
11+
_v1.6.0 版本起提供_
1212

13-
[`kubeovn-operator`](https://github.com/harvester/kubeovn-operator) is used to manage the lifecycle of [Kube-OVN](https://github.com/kubeovn/kube-ovn) as a secondary CNI on underlying Harvester clusters.
13+
[`kubeovn-operator`](https://github.com/harvester/kubeovn-operator) 用於管理 [Kube-OVN](https://github.com/kubeovn/kube-ovn) 的生命週期,使其作為底層 Harvester 叢集上的次要 CNI (secondary CNI)。
1414

15-
## Enabling `kubeovn-operator`
15+
## 啟用 `kubeovn-operator`
1616

17-
You must enable `kubeovn-operator` to deploy Kube-OVN to a Harvester cluster for advanced SDN capabilities such as virtual private cloud (VPC) and subnets for virtual machine workloads.
17+
您必須啟用 `kubeovn-operator` 才能將 Kube-OVN 部署到 Harvester 叢集,以獲得進階 SDN 功能,例如虛擬機器工作負載所需的虛擬私有雲 (VPC) 和子網段。
1818

19-
1. On the Harvester UI, go to **Advanced** > **Add-ons**.
19+
1. Harvester UI 上,前往 **Advanced** > **Add-ons**
2020

21-
1. Select **kubeovn-operator (Experimental)**, and then select **** > **Enable**.
21+
1. 選取 **kubeovn-operator (Experimental)**,然後選取 **** > **Enable** (啟用)。
2222

2323
![](/img/harvester/networking/kubeovn-operator.png)
2424

25-
The add-on deploys `kubeovn-operator` and creates the default `Configuration` object named `configuration.kubeovn.io`, which uses sane Harvester-specific defaults for configuring the Kube-OVN CNI.
25+
此附加元件會部署 `kubeovn-operator` 並建立名為 `configuration.kubeovn.io` 的預設 `Configuration` 物件,該物件使用合理的 Harvester 專屬預設值來設定 Kube-OVN CNI
2626

27-
The following is an example of a `Configuration` object:
27+
以下是 `Configuration` 物件的範例:
2828

29-
```
29+
```yaml
3030
apiVersion: kubeovn.io/v1
3131
kind: Configuration
3232
metadata:
@@ -181,27 +181,28 @@ spec:
181181
182182
:::info important
183183
184-
Ensure that the Kube-OVN IPv4 pod and service CIDR blocks do not overlap with the Harvester pod and service CIDR blocks.
184+
請確保 Kube-OVN IPv4 pod service CIDR 區塊不會與 Harvester pod service CIDR 區塊重疊。
185185
186186
:::
187187
188188
:::caution
189189
190-
This `Configuration` object has been validated against Harvester installations. You can fine-tune the object by editing the `kubeovn-operator` add-on YAML, but exercise caution when making changes to the `configurationSpec` field.
190+
`Configuration` 物件已經過 Harvester 安裝驗證。您可以透過編輯 `kubeovn-operator` 附加元件 YAML 來微調該物件,但在變更 `configurationSpec` 欄位時請務必謹慎。
191191

192192
:::
193193

194-
## Disabling kubeovn-operator
194+
## 停用 kubeovn-operator
195+
195196
:::info important
196197

197-
Ensure that no virtual machines are using VM Networks backed by Kube-OVN SDN components.
198+
請確保沒有虛擬機器正在使用由 Kube-OVN SDN 元件支援的 VM 網路。
198199

199-
Disabling the kubeovn-operator is a disruptive process
200+
停用 kubeovn-operator 是一個具破壞性的過程 (disruptive process)。
200201
:::
201202

202-
You can disable `kubeovn-operator` using the following commands:
203+
您可以使用以下指令停用 `kubeovn-operator`
203204

204-
```
205+
```bash
205206
kubectl delete configuration kubeovn -n kube-system --wait=false
206207
207208
kubectl delete validatingwebhookconfiguration kube-ovn-webhook --ignore-not-found
@@ -212,7 +213,7 @@ kubectl delete subnets join ovn-default --ignore-not-found
212213
213214
kubectl delete vpc ovn-cluster --ignore-not-found
214215
215-
# Remove annotations/labels in namespaces and nodes
216+
# 移除命名空間與節點中的註解/標籤
216217
kubectl annotate node --all ovn.kubernetes.io/cidr-
217218
kubectl annotate node --all ovn.kubernetes.io/gateway-
218219
kubectl annotate node --all ovn.kubernetes.io/ip_address-
@@ -231,7 +232,7 @@ kubectl annotate ns --all ovn.kubernetes.io/private-
231232
kubectl annotate ns --all ovn.kubernetes.io/allow-
232233
kubectl annotate ns --all ovn.kubernetes.io/allocated-
233234
234-
# Remove annotations in all pods of all namespaces
235+
# 移除所有命名空間中所有 Pod 的註解
235236
for ns in $(kubectl get ns -o name | awk -F/ '{print $2}'); do
236237
echo "annotating pods in namespace $ns"
237238
kubectl annotate pod --all -n $ns ovn.kubernetes.io/cidr-
@@ -248,6 +249,6 @@ for ns in $(kubectl get ns -o name | awk -F/ '{print $2}'); do
248249
done
249250
```
250251

251-
You must reboot each node to complete the uninstallation process.
252+
您必須重新啟動每個節點以完成解除安裝程序。
252253

253-
Once the nodes are rebooted, you can disable the `kubeovn-operator` add-on from the Harvester UI.
254+
一旦節點重新啟動完成,您即可從 Harvester UI 停用 `kubeovn-operator` 附加元件。
Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
sidebar_position: 8
3-
sidebar_label: Local Storage Support
4-
title: "Local Storage Support (Experimental)"
3+
sidebar_label: 本地儲存支援
4+
title: "本地儲存支援 (實驗性)"
55
---
66

77
<head>
@@ -10,173 +10,173 @@ title: "Local Storage Support (Experimental)"
1010

1111
:::note
1212

13-
**harvester-csi-driver-lvm** is an *experimental* add-on. It is not included in the Harvester ISO, but you can download it from the [experimental-addons repository](https://github.com/harvester/experimental-addons). For more information about experimental features, see [Feature Labels](../../getting-started/document-conventions.md#feature-labels).
13+
**harvester-csi-driver-lvm** 是一個 *實驗性* 的附加元件。它未包含在 Harvester ISO 中,但您可以從 [experimental-addons 儲存庫](https://github.com/harvester/experimental-addons) 下載。有關實驗性功能的更多資訊,請參閱 [功能標籤](../../getting-started/document-conventions.md#feature-labels)
1414

1515
:::
1616

17-
Harvester allows you to use local storage on the host to create persistent volumes for your workloads with better performance and latency. This functionality is made possible by LVM, which provides logical volume management facilities on Linux.
17+
Harvester 允許您使用主機上的本地儲存 (local storage) 為您的工作負載建立持久性卷冊 (persistent volumes),以獲得更好的效能和延遲表現。此功能由 LVM 實現,它在 Linux 上提供了邏輯卷冊管理機制。
1818

19-
The **harvester-csi-driver-lvm** add-on is a CSI driver that supports local path provisioning through LVM.
19+
**harvester-csi-driver-lvm** 附加元件是一個 CSI 驅動程式,支援透過 LVM 進行本地路徑供應 (local path provisioning)。
2020

21-
## Installing and Enabling the Add-on
21+
## 安裝與啟用附加元件
2222

23-
If you are using the Harvester kubeconfig file, you can install the add-on by performing the following steps:
23+
如果您正在使用 Harvester kubeconfig 檔案,可以執行以下步驟來安裝附加元件:
2424

25-
1. Install the add-on by running the following command:
25+
1. 執行以下指令安裝附加元件:
2626

2727
```
28-
# kubectl apply -f https://raw.githubusercontent.com/harvester/experimental-addons/main/harvester-csi-driver-lvm/harvester-csi-driver-lvm.yaml
28+
# kubectl apply -f [https://raw.githubusercontent.com/harvester/experimental-addons/main/harvester-csi-driver-lvm/harvester-csi-driver-lvm.yaml](https://raw.githubusercontent.com/harvester/experimental-addons/main/harvester-csi-driver-lvm/harvester-csi-driver-lvm.yaml)
2929
```
3030
31-
1. On the Harvester UI, go to **Advanced** > **Add-ons**.
31+
1. Harvester UI 上,前往 **Advanced** > **Add-ons**
3232
33-
1. Select **harvester-csi-driver-lvm (Experimental)**, and then select **⋮** > **Enable**.
33+
1. 選取 **harvester-csi-driver-lvm (Experimental)**,然後選取 **⋮** > **Enable** (啟用)。
3434
3535
![](/img/harvester/advanced/enable-lvm-addon.png)
3636
37-
## Creating a Volume Group for LVM
37+
## 為 LVM 建立卷冊群組 (Volume Group)
3838
39-
A volume group combines physical volumes to create a single storage structure that can be divided into logical volumes.
39+
卷冊群組 (Volume Group) 結合了實體卷冊 (physical volumes) 以建立單一儲存結構,該結構可進一步劃分為邏輯卷冊 (logical volumes)。
4040
4141
:::note
4242
43-
Harvester currently does not allow you to modify the volume group composition (add or remove disks) after you create a logical volume. This issue will be addressed in a future release.
43+
Harvester 目前不允許在建立邏輯卷冊後修改卷冊群組的組成(新增或移除磁碟)。此問題將在未來的版本中解決。
4444
4545
:::
4646
47-
1. Verify that the **harvester-csi-driver-lvm** add-on is installed.
47+
1. 驗證 **harvester-csi-driver-lvm** 附加元件已安裝。
4848
49-
1. On the Harvester UI, go to the **Hosts** screen.
49+
1. Harvester UI 上,前往 **Hosts** 畫面。
5050
51-
1. Select the target host, and then select **⋮** > **Edit Config**.
51+
1. 選取目標主機,然後選取 **⋮** > **Edit Config** (編輯設定)。
5252
53-
1. On the Storage tab, add disks for the volume group.
53+
1. Storage (儲存) 頁籤上,為卷冊群組新增磁碟。
5454
5555
![](/img/harvester/advanced/add-disk-to-vg-01.png)
5656
57-
Configure the following settings for each selected disk:
57+
為每個選定的磁碟設定以下設定:
5858
59-
- **Provisioner**: Select **LVM**.
59+
- **Provisioner** (供應程式):選取 **LVM**
6060
6161
![](/img/harvester/advanced/add-disk-to-vg-02.png)
6262
63-
- **Volume Group**: Select an existing volume group or specify a name for a new volume group.
63+
- **Volume Group** (卷冊群組):選取現有的卷冊群組或為新的卷冊群組指定名稱。
6464
6565
![](/img/harvester/advanced/add-disk-to-vg-03.png)
6666
67-
For more information about adding disks, see [Multi-Disk Management](../../host/#multi-disk-management).
67+
有關新增磁碟的更多資訊,請參閱 [多磁碟管理](../../host/#multi-disk-management)
6868
69-
1. Click **Save**.
69+
1. 點擊 **Save** (儲存)。
7070
71-
1. On the host details screen, verify that the disks were added and the correct provisioner was set.
71+
1. 在主機詳細資訊畫面上,驗證磁碟是否已新增且設定了正確的供應程式。
7272
7373
![](/img/harvester/advanced/add-disk-to-vg-04.png)
7474
75-
## Creating a StorageClass for LVM
75+
## 為 LVM 建立 StorageClass
7676
7777
:::note
7878
79-
You can only use one type of local volume in each volume group. If necessary, create different volume groups for the volume types that you want to use.
79+
每個卷冊群組中只能使用一種類型的本地卷冊。如有必要,請為您想要使用的卷冊類型建立不同的卷冊群組。
8080
8181
:::
8282
83-
1. On the Harvester UI, go to the **Storage** screen.
83+
1. Harvester UI 上,前往 **Storage** 畫面。
8484
85-
1. Create a new StorageClass and select **LVM** in the **Provisioner** list.
85+
1. 建立一個新的 StorageClass,並在 **Provisioner** 清單中選取 **LVM**。
8686
8787
![](/img/harvester/advanced/create-lvm-sc-01.png)
8888
89-
1. On the **Parameters** tab, configure the following settings:
89+
1. **Parameters** (參數) 頁籤上,設定以下設定:
9090
91-
- **Node**: Select the target node for the intended workloads.
91+
- **Node** (節點):為預期的工作負載選取目標節點。
9292
9393
![](/img/harvester/advanced/create-lvm-sc-02.png)
9494
95-
- **Volume Group Name**: Select the volume group that you created.
95+
- **Volume Group Name** (卷冊群組名稱):選取您建立的卷冊群組。
9696
9797
![](/img/harvester/advanced/create-lvm-sc-03.png)
9898
99-
- **Volume Group Type**: Select the type of local volume that matches your requirements. Harvester currently supports **striped** and **dm-thin**.
99+
- **Volume Group Type** (卷冊群組類型):選取符合您需求的本地卷冊類型。Harvester 目前支援 **striped** (分條) 和 **dm-thin** (精簡配置)。
100100
101101
![](/img/harvester/advanced/create-lvm-sc-04.png)
102102
103-
1. Click **Save**.
103+
1. 點擊 **Save** (儲存)。
104104
105-
1. On the **Storage** screen, verify that the StorageClass was created and the correct provisioner was set.
105+
1. **Storage** 畫面上,驗證 StorageClass 是否已建立且設定了正確的供應程式。
106106
107107
![](/img/harvester/advanced/create-lvm-sc-05.png)
108108
109-
For more information, see [StorageClass](../storageclass.md).
109+
如需更多資訊,請參閱 [StorageClass](../storageclass.md)
110110
111-
## Creating a Volume with LVM
111+
## 使用 LVM 建立卷冊
112112
113-
1. On the Harvester UI, go to the **Volumes** screen.
113+
1. Harvester UI 上,前往 **Volumes** 畫面。
114114
115-
1. Create a new volume using the LVM StorageClass that you created.
115+
1. 使用您建立的 LVM StorageClass 建立一個新卷冊。
116116
117117
![](/img/harvester/advanced/create-lvm-volume-01.png)
118118
119119
:::note
120120
121-
The status **Not Ready** is normal because Harvester creates the LVM volume only when the first workload is created.
121+
狀態顯示 **Not Ready** (未就緒) 是正常的,因為 Harvester 僅在建立第一個工作負載時才會建立 LVM 卷冊。
122122
123123
:::
124124
125-
1. On the **Virtual Machines** screen, select the target virtual machine, and then select **⋮** > **Add Volume**.
125+
1. **Virtual Machines** 畫面上,選取目標虛擬機器,然後選取 **⋮** > **Add Volume** (新增卷冊)。
126126
127127
:::note
128128
129-
Because the LVM volume is a local volume, you must ensure that the target node of the LVM StorageClass is the node on which the virtual machine is scheduled.
129+
由於 LVM 卷冊是本地卷冊,您必須確保 LVM StorageClass 的目標節點即為該虛擬機器被調度到的節點。
130130
131131
:::
132132
133-
1. Specify the volume that you want to attach.
133+
1. 指定您要掛接的卷冊。
134134
135135
![](/img/harvester/advanced/attach-lvm-volume-01.png)
136136
137-
1. On the **Volumes** screen, verify that the state is **In-use**.
137+
1. **Volumes** 畫面上,驗證狀態是否為 **In-use** (使用中)。
138138
139139
![](/img/harvester/advanced/attach-lvm-volume-02.png)
140140
141-
You can also create a new virtual machine with the volume of the LVM StorageClass that you created. This virtual machine will be scheduled on the target node with local storage for the volume.
141+
您也可以使用您建立的 LVM StorageClass 卷冊來建立新的虛擬機器。此虛擬機器將被調度到擁有該卷冊本地儲存空間的目標節點上。
142142
143143
![](/img/harvester/advanced/create-vm-with-lvm-volume-01.png)
144144
145145
![](/img/harvester/advanced/create-vm-with-lvm-volume-02.png)
146146
147-
## Creating Snapshots for an LVM Volume
147+
## LVM 卷冊建立快照
148148
149-
1. On the Harvester UI, go to the **Settings** screen.
149+
1. Harvester UI 上,前往 **Settings** 畫面。
150150
151-
1. In the **csi-driver-config** section, select **⋮** > **Edit Setting**.
151+
1. **csi-driver-config** 區段中,選取 **⋮** > **Edit Setting** (編輯設定)。
152152
153153
![](/img/harvester/advanced/update-csi-driver-config-01.png)
154154
155-
1. Add an entry with the following settings:
155+
1. 新增一筆具有以下設定的項目:
156156
157-
- **Provisioner**: Select **lvm.driver.harvesterhci.io**.
158-
- **Volume Snapshot Class Name**: Select **lvm-snapshot**.
157+
- **Provisioner**:選取 **lvm.driver.harvesterhci.io**
158+
- **Volume Snapshot Class Name**:選取 **lvm-snapshot**
159159
160160
![](/img/harvester/advanced/csi-driver-config-external.png)
161161
162-
1. On the **Virtual Machines** screen, select the target virtual machine, and then select **⋮** > **Take Virtual Machine Snapshot**.
162+
1. **Virtual Machines** 畫面上,選取目標虛擬機器,然後選取 **⋮** > **Take Virtual Machine Snapshot** (建立虛擬機器快照)。
163163
164-
Example:
164+
範例:
165165
166166
![](/img/harvester/advanced/vm-take-snapshot-with-lvm-01.png)
167167
168-
1. On the **Virtual Machine Snapshots** screen, verify that snapshot is ready to use.
168+
1. **Virtual Machine Snapshots** 畫面上,驗證快照是否已就緒可供使用。
169169
170170
![](/img/harvester/advanced/vm-take-snapshot-with-lvm-02.png)
171171
172-
## Supported LVM Volume Features
172+
## 支援的 LVM 卷冊功能
173173
174-
- Volume resizing
175-
- Volume cloning
176-
- Snapshot creation
174+
- 卷冊調整大小 (Volume resizing)
175+
- 卷冊複製 (Volume cloning)
176+
- 快照建立 (Snapshot creation)
177177
178178
:::note
179179
180-
Backup creation is currently not supported. This limitation will be addressed in a future release.
180+
目前不支援備份建立。此限制將在未來的版本中解決。
181181
182182
:::

0 commit comments

Comments
 (0)