WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `"Delete"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.
222
+
- `"Recycle"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.
223
+
- `"Retain"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.
*Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.*
259
-
260
-
- **hostPath.path** (string), required
261
-
262
-
path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
263
-
264
-
- **hostPath.type** (string)
265
-
266
-
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
**表示映射到 Pod 中的主机路径。主机路径卷不支持所有权管理或 SELinux 重新打标签。**
276
292
293
+
<!--
294
+
- **hostPath.path** (string), required
295
+
296
+
path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
297
+
298
+
- **hostPath.type** (string)
299
+
300
+
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- `""` For backwards compatible, leave it empty if unset
316
+
- `"BlockDevice"` A block device must exist at the given path
317
+
- `"CharDevice"` A character device must exist at the given path
318
+
- `"Directory"` A directory must exist at the given path
319
+
- `"DirectoryOrCreate"` If nothing exists at the given path, an empty directory will be created there as needed with file mode 0755, having the same group and ownership with Kubelet.
320
+
- `"File"` A file must exist at the given path
321
+
- `"FileOrCreate"` If nothing exists at the given path, an empty file will be created there as needed with file mode 0644, having the same group and ownership with Kubelet.
322
+
- `"Socket"` A UNIX socket must exist at the given path
kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
1963
-
1964
-
- **reason** (string)
1965
-
1966
-
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
- `"Available"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims
2051
+
- `"Bound"` used for PersistentVolumes that are bound
2052
+
- `"Failed"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim
2053
+
- `"Pending"` used for PersistentVolumes that are not available
2054
+
- `"Released"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource
0 commit comments