v3.1.1.0
|
Before Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 213 KiB |
@ -103,7 +103,7 @@ Kubernetes 对 Pod 进行调度时,以当时集群中各节点的可用资源
|
||||
| NFS Server | 172.17.216.82 | 请使用您自己的NFS服务的IP地址 |
|
||||
| NFS Path | /root/nfs_root | 请使用您自己的NFS服务所共享的路径 |
|
||||
|
||||

|
||||

|
||||
|
||||
* 在场景中使用存储类
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 155 KiB |
@ -167,7 +167,7 @@ Kubernetes 支持 20 种存储卷类型(可参考 [Types of Persistent Volumes
|
||||
|
||||
在 Kuboard 中查看 PersistentVolume 的界面如下图所示:
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
PersistentVolume 字段描述如下表所示:
|
||||
@ -187,7 +187,7 @@ PersistentVolume 字段描述如下表所示:
|
||||
|
||||
在 Kuboard 中查看存储卷声明的界面如下图所示:
|
||||
|
||||

|
||||

|
||||
|
||||
| 字段名称 | 可选项/备注 |
|
||||
| --------------------- | ------------------------------------------------------------ |
|
||||
@ -202,4 +202,4 @@ PersistentVolume 字段描述如下表所示:
|
||||
|
||||
在您完成存储卷声明的定义后,您可以在 Kuboard 工作复杂编辑器的 ***数据卷 Volume*** 区域引用该存储卷声明,如下图所示:
|
||||
|
||||

|
||||

|
||||
|
Before Width: | Height: | Size: 194 KiB |
|
After Width: | Height: | Size: 120 KiB |
@ -47,7 +47,7 @@ Kuboard 支持的存储类的种类如下:
|
||||
|
||||
在 Kuboard 中查看存储类,如下图所示:
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 207 KiB |
@ -60,9 +60,9 @@ spec:
|
||||
|
||||
同一个 volumeMounts 中 `subPath` 字段和 `subPathExpr` 字段不能同时使用。
|
||||
|
||||
> 在Kuboard界面中,如果工作负载编辑器中挂载点的 subPath/subPathExpr 字段中包含 `$`,则 Kuboard 认为该字段为 subPathExpr,否则被认为是 subPath。例如,下图中的 $(podName) 将被认为是 subPathExpr :<Badge type="default">Kuboard v1.0.6-beta.1</Badge>
|
||||
> 在Kuboard界面中,如果工作负载编辑器中挂载点的 subPath/subPathExpr 字段中包含 `$`,则 Kuboard 认为该字段为 subPathExpr,否则被认为是 subPath。例如,下图中的 $(podName) 将被认为是 subPathExpr :<Badge type="default">Kuboard v3.1.1.0</Badge>
|
||||
>
|
||||
> 
|
||||
> 
|
||||
|
||||
如下面的例子,该 Pod 使用 `subPathExpr` 在 hostPath 数据卷 `/var/log/pods` 中创建了一个目录 `pod1`(该参数来自于Pod的名字)。此时,宿主机目录 `/var/log/pods/pod1` 挂载到了容器的 `/logs` 路径:
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 180 KiB |
|
After Width: | Height: | Size: 242 KiB |
@ -60,7 +60,9 @@ Docker 里同样也存在一个 volume(数据卷)的概念,但是 docker
|
||||
|
||||
:::
|
||||
|
||||

|
||||
|
||||
|
||||

|
||||
|
||||
## 数据卷的类型
|
||||
|
||||
|
||||