mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Fix example urls
This commit is contained in:
parent
c4d00b1c5f
commit
6d431fa05b
90
api/openapi-spec/swagger.json
generated
90
api/openapi-spec/swagger.json
generated
@ -6668,7 +6668,7 @@
|
|||||||
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"monitors": {
|
"monitors": {
|
||||||
"description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -6679,19 +6679,19 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"secretFile": {
|
"secretFile": {
|
||||||
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"secretRef": {
|
"secretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
||||||
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -6704,7 +6704,7 @@
|
|||||||
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"monitors": {
|
"monitors": {
|
||||||
"description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -6715,19 +6715,19 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"secretFile": {
|
"secretFile": {
|
||||||
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"secretRef": {
|
"secretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference",
|
||||||
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -6740,11 +6740,11 @@
|
|||||||
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"fsType": {
|
"fsType": {
|
||||||
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"secretRef": {
|
"secretRef": {
|
||||||
@ -6752,7 +6752,7 @@
|
|||||||
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
|
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
|
||||||
},
|
},
|
||||||
"volumeID": {
|
"volumeID": {
|
||||||
"description": "volume id used to identify the volume in cinder. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -6765,11 +6765,11 @@
|
|||||||
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"fsType": {
|
"fsType": {
|
||||||
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"secretRef": {
|
"secretRef": {
|
||||||
@ -6777,7 +6777,7 @@
|
|||||||
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
|
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
|
||||||
},
|
},
|
||||||
"volumeID": {
|
"volumeID": {
|
||||||
"description": "volume id used to identify the volume in cinder. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8126,19 +8126,19 @@
|
|||||||
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"endpoints": {
|
"endpoints": {
|
||||||
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"endpointsNamespace": {
|
"endpointsNamespace": {
|
||||||
"description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"path": {
|
"path": {
|
||||||
"description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8152,15 +8152,15 @@
|
|||||||
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"endpoints": {
|
"endpoints": {
|
||||||
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"path": {
|
"path": {
|
||||||
"description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -9474,7 +9474,7 @@
|
|||||||
},
|
},
|
||||||
"cinder": {
|
"cinder": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource",
|
||||||
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md"
|
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
|
||||||
},
|
},
|
||||||
"claimRef": {
|
"claimRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference",
|
||||||
@ -9502,7 +9502,7 @@
|
|||||||
},
|
},
|
||||||
"glusterfs": {
|
"glusterfs": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource",
|
||||||
"description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md"
|
"description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
|
||||||
},
|
},
|
||||||
"hostPath": {
|
"hostPath": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource",
|
||||||
@ -9549,7 +9549,7 @@
|
|||||||
},
|
},
|
||||||
"rbd": {
|
"rbd": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource",
|
||||||
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md"
|
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
|
||||||
},
|
},
|
||||||
"scaleIO": {
|
"scaleIO": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource",
|
||||||
@ -9561,7 +9561,7 @@
|
|||||||
},
|
},
|
||||||
"storageos": {
|
"storageos": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource",
|
||||||
"description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md"
|
"description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"
|
||||||
},
|
},
|
||||||
"volumeMode": {
|
"volumeMode": {
|
||||||
"description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.",
|
"description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.",
|
||||||
@ -10387,34 +10387,34 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"image": {
|
"image": {
|
||||||
"description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"keyring": {
|
"keyring": {
|
||||||
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"monitors": {
|
"monitors": {
|
||||||
"description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"pool": {
|
"pool": {
|
||||||
"description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"secretRef": {
|
"secretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecretReference",
|
||||||
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -10432,34 +10432,34 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"image": {
|
"image": {
|
||||||
"description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"keyring": {
|
"keyring": {
|
||||||
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"monitors": {
|
"monitors": {
|
||||||
"description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"pool": {
|
"pool": {
|
||||||
"description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"readOnly": {
|
"readOnly": {
|
||||||
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"secretRef": {
|
"secretRef": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference",
|
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference",
|
||||||
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -11719,7 +11719,7 @@
|
|||||||
},
|
},
|
||||||
"cinder": {
|
"cinder": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource",
|
||||||
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md"
|
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
|
||||||
},
|
},
|
||||||
"configMap": {
|
"configMap": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource",
|
||||||
@ -11759,7 +11759,7 @@
|
|||||||
},
|
},
|
||||||
"glusterfs": {
|
"glusterfs": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource",
|
||||||
"description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md"
|
"description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
|
||||||
},
|
},
|
||||||
"hostPath": {
|
"hostPath": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource",
|
||||||
@ -11767,7 +11767,7 @@
|
|||||||
},
|
},
|
||||||
"iscsi": {
|
"iscsi": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource",
|
||||||
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md"
|
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||||
@ -11799,7 +11799,7 @@
|
|||||||
},
|
},
|
||||||
"rbd": {
|
"rbd": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource",
|
||||||
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md"
|
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
|
||||||
},
|
},
|
||||||
"scaleIO": {
|
"scaleIO": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource",
|
"$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource",
|
||||||
|
@ -229,7 +229,7 @@ type PersistentVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
Local *LocalVolumeSource
|
Local *LocalVolumeSource
|
||||||
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
|
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
|
// More info: https://examples.k8s.io/volumes/storageos/README.md
|
||||||
// +optional
|
// +optional
|
||||||
StorageOS *StorageOSPersistentVolumeSource
|
StorageOS *StorageOSPersistentVolumeSource
|
||||||
// CSI (Container Storage Interface) represents storage that is handled by an external CSI driver.
|
// CSI (Container Storage Interface) represents storage that is handled by an external CSI driver.
|
||||||
@ -947,22 +947,22 @@ type GlusterfsVolumeSource struct {
|
|||||||
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
||||||
type GlusterfsPersistentVolumeSource struct {
|
type GlusterfsPersistentVolumeSource struct {
|
||||||
// EndpointsName is the endpoint name that details Glusterfs topology.
|
// EndpointsName is the endpoint name that details Glusterfs topology.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
EndpointsName string
|
EndpointsName string
|
||||||
|
|
||||||
// Path is the Glusterfs volume path.
|
// Path is the Glusterfs volume path.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
Path string
|
Path string
|
||||||
|
|
||||||
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool
|
ReadOnly bool
|
||||||
|
|
||||||
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
|
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
|
||||||
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
|
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
EndpointsNamespace *string
|
EndpointsNamespace *string
|
||||||
}
|
}
|
||||||
|
@ -275,7 +275,7 @@ message Capabilities {
|
|||||||
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
||||||
message CephFSPersistentVolumeSource {
|
message CephFSPersistentVolumeSource {
|
||||||
// Required: Monitors is a collection of Ceph monitors
|
// Required: Monitors is a collection of Ceph monitors
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
repeated string monitors = 1;
|
repeated string monitors = 1;
|
||||||
|
|
||||||
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
||||||
@ -283,23 +283,23 @@ message CephFSPersistentVolumeSource {
|
|||||||
optional string path = 2;
|
optional string path = 2;
|
||||||
|
|
||||||
// Optional: User is the rados user name, default is admin
|
// Optional: User is the rados user name, default is admin
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string user = 3;
|
optional string user = 3;
|
||||||
|
|
||||||
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string secretFile = 4;
|
optional string secretFile = 4;
|
||||||
|
|
||||||
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional SecretReference secretRef = 5;
|
optional SecretReference secretRef = 5;
|
||||||
|
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 6;
|
optional bool readOnly = 6;
|
||||||
}
|
}
|
||||||
@ -308,7 +308,7 @@ message CephFSPersistentVolumeSource {
|
|||||||
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
||||||
message CephFSVolumeSource {
|
message CephFSVolumeSource {
|
||||||
// Required: Monitors is a collection of Ceph monitors
|
// Required: Monitors is a collection of Ceph monitors
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
repeated string monitors = 1;
|
repeated string monitors = 1;
|
||||||
|
|
||||||
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
||||||
@ -316,23 +316,23 @@ message CephFSVolumeSource {
|
|||||||
optional string path = 2;
|
optional string path = 2;
|
||||||
|
|
||||||
// Optional: User is the rados user name, default is admin
|
// Optional: User is the rados user name, default is admin
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string user = 3;
|
optional string user = 3;
|
||||||
|
|
||||||
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string secretFile = 4;
|
optional string secretFile = 4;
|
||||||
|
|
||||||
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional LocalObjectReference secretRef = 5;
|
optional LocalObjectReference secretRef = 5;
|
||||||
|
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 6;
|
optional bool readOnly = 6;
|
||||||
}
|
}
|
||||||
@ -343,19 +343,19 @@ message CephFSVolumeSource {
|
|||||||
// Cinder volumes support ownership management and SELinux relabeling.
|
// Cinder volumes support ownership management and SELinux relabeling.
|
||||||
message CinderPersistentVolumeSource {
|
message CinderPersistentVolumeSource {
|
||||||
// volume id used to identify the volume in cinder.
|
// volume id used to identify the volume in cinder.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
optional string volumeID = 1;
|
optional string volumeID = 1;
|
||||||
|
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional string fsType = 2;
|
optional string fsType = 2;
|
||||||
|
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 3;
|
optional bool readOnly = 3;
|
||||||
|
|
||||||
@ -371,19 +371,19 @@ message CinderPersistentVolumeSource {
|
|||||||
// Cinder volumes support ownership management and SELinux relabeling.
|
// Cinder volumes support ownership management and SELinux relabeling.
|
||||||
message CinderVolumeSource {
|
message CinderVolumeSource {
|
||||||
// volume id used to identify the volume in cinder.
|
// volume id used to identify the volume in cinder.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
optional string volumeID = 1;
|
optional string volumeID = 1;
|
||||||
|
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional string fsType = 2;
|
optional string fsType = 2;
|
||||||
|
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 3;
|
optional bool readOnly = 3;
|
||||||
|
|
||||||
@ -1591,22 +1591,22 @@ message GitRepoVolumeSource {
|
|||||||
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
||||||
message GlusterfsPersistentVolumeSource {
|
message GlusterfsPersistentVolumeSource {
|
||||||
// EndpointsName is the endpoint name that details Glusterfs topology.
|
// EndpointsName is the endpoint name that details Glusterfs topology.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
optional string endpoints = 1;
|
optional string endpoints = 1;
|
||||||
|
|
||||||
// Path is the Glusterfs volume path.
|
// Path is the Glusterfs volume path.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
optional string path = 2;
|
optional string path = 2;
|
||||||
|
|
||||||
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 3;
|
optional bool readOnly = 3;
|
||||||
|
|
||||||
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
|
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
|
||||||
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
|
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
optional string endpointsNamespace = 4;
|
optional string endpointsNamespace = 4;
|
||||||
}
|
}
|
||||||
@ -1615,16 +1615,16 @@ message GlusterfsPersistentVolumeSource {
|
|||||||
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
||||||
message GlusterfsVolumeSource {
|
message GlusterfsVolumeSource {
|
||||||
// EndpointsName is the endpoint name that details Glusterfs topology.
|
// EndpointsName is the endpoint name that details Glusterfs topology.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
optional string endpoints = 1;
|
optional string endpoints = 1;
|
||||||
|
|
||||||
// Path is the Glusterfs volume path.
|
// Path is the Glusterfs volume path.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
optional string path = 2;
|
optional string path = 2;
|
||||||
|
|
||||||
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 3;
|
optional bool readOnly = 3;
|
||||||
}
|
}
|
||||||
@ -2639,7 +2639,7 @@ message PersistentVolumeSource {
|
|||||||
|
|
||||||
// Glusterfs represents a Glusterfs volume that is attached to a host and
|
// Glusterfs represents a Glusterfs volume that is attached to a host and
|
||||||
// exposed to the pod. Provisioned by an admin.
|
// exposed to the pod. Provisioned by an admin.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional GlusterfsPersistentVolumeSource glusterfs = 4;
|
optional GlusterfsPersistentVolumeSource glusterfs = 4;
|
||||||
|
|
||||||
@ -2649,7 +2649,7 @@ message PersistentVolumeSource {
|
|||||||
optional NFSVolumeSource nfs = 5;
|
optional NFSVolumeSource nfs = 5;
|
||||||
|
|
||||||
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
|
// More info: https://examples.k8s.io/volumes/rbd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional RBDPersistentVolumeSource rbd = 6;
|
optional RBDPersistentVolumeSource rbd = 6;
|
||||||
|
|
||||||
@ -2659,7 +2659,7 @@ message PersistentVolumeSource {
|
|||||||
optional ISCSIPersistentVolumeSource iscsi = 7;
|
optional ISCSIPersistentVolumeSource iscsi = 7;
|
||||||
|
|
||||||
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional CinderPersistentVolumeSource cinder = 8;
|
optional CinderPersistentVolumeSource cinder = 8;
|
||||||
|
|
||||||
@ -2712,7 +2712,7 @@ message PersistentVolumeSource {
|
|||||||
optional LocalVolumeSource local = 20;
|
optional LocalVolumeSource local = 20;
|
||||||
|
|
||||||
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
|
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
|
// More info: https://examples.k8s.io/volumes/storageos/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional StorageOSPersistentVolumeSource storageos = 21;
|
optional StorageOSPersistentVolumeSource storageos = 21;
|
||||||
|
|
||||||
@ -3731,11 +3731,11 @@ message QuobyteVolumeSource {
|
|||||||
// RBD volumes support ownership management and SELinux relabeling.
|
// RBD volumes support ownership management and SELinux relabeling.
|
||||||
message RBDPersistentVolumeSource {
|
message RBDPersistentVolumeSource {
|
||||||
// A collection of Ceph monitors.
|
// A collection of Ceph monitors.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
repeated string monitors = 1;
|
repeated string monitors = 1;
|
||||||
|
|
||||||
// The rados image name.
|
// The rados image name.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
optional string image = 2;
|
optional string image = 2;
|
||||||
|
|
||||||
// Filesystem type of the volume that you want to mount.
|
// Filesystem type of the volume that you want to mount.
|
||||||
@ -3748,32 +3748,32 @@ message RBDPersistentVolumeSource {
|
|||||||
|
|
||||||
// The rados pool name.
|
// The rados pool name.
|
||||||
// Default is rbd.
|
// Default is rbd.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string pool = 4;
|
optional string pool = 4;
|
||||||
|
|
||||||
// The rados user name.
|
// The rados user name.
|
||||||
// Default is admin.
|
// Default is admin.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string user = 5;
|
optional string user = 5;
|
||||||
|
|
||||||
// Keyring is the path to key ring for RBDUser.
|
// Keyring is the path to key ring for RBDUser.
|
||||||
// Default is /etc/ceph/keyring.
|
// Default is /etc/ceph/keyring.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string keyring = 6;
|
optional string keyring = 6;
|
||||||
|
|
||||||
// SecretRef is name of the authentication secret for RBDUser. If provided
|
// SecretRef is name of the authentication secret for RBDUser. If provided
|
||||||
// overrides keyring.
|
// overrides keyring.
|
||||||
// Default is nil.
|
// Default is nil.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional SecretReference secretRef = 7;
|
optional SecretReference secretRef = 7;
|
||||||
|
|
||||||
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 8;
|
optional bool readOnly = 8;
|
||||||
}
|
}
|
||||||
@ -3782,11 +3782,11 @@ message RBDPersistentVolumeSource {
|
|||||||
// RBD volumes support ownership management and SELinux relabeling.
|
// RBD volumes support ownership management and SELinux relabeling.
|
||||||
message RBDVolumeSource {
|
message RBDVolumeSource {
|
||||||
// A collection of Ceph monitors.
|
// A collection of Ceph monitors.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
repeated string monitors = 1;
|
repeated string monitors = 1;
|
||||||
|
|
||||||
// The rados image name.
|
// The rados image name.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
optional string image = 2;
|
optional string image = 2;
|
||||||
|
|
||||||
// Filesystem type of the volume that you want to mount.
|
// Filesystem type of the volume that you want to mount.
|
||||||
@ -3799,32 +3799,32 @@ message RBDVolumeSource {
|
|||||||
|
|
||||||
// The rados pool name.
|
// The rados pool name.
|
||||||
// Default is rbd.
|
// Default is rbd.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string pool = 4;
|
optional string pool = 4;
|
||||||
|
|
||||||
// The rados user name.
|
// The rados user name.
|
||||||
// Default is admin.
|
// Default is admin.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string user = 5;
|
optional string user = 5;
|
||||||
|
|
||||||
// Keyring is the path to key ring for RBDUser.
|
// Keyring is the path to key ring for RBDUser.
|
||||||
// Default is /etc/ceph/keyring.
|
// Default is /etc/ceph/keyring.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional string keyring = 6;
|
optional string keyring = 6;
|
||||||
|
|
||||||
// SecretRef is name of the authentication secret for RBDUser. If provided
|
// SecretRef is name of the authentication secret for RBDUser. If provided
|
||||||
// overrides keyring.
|
// overrides keyring.
|
||||||
// Default is nil.
|
// Default is nil.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional LocalObjectReference secretRef = 7;
|
optional LocalObjectReference secretRef = 7;
|
||||||
|
|
||||||
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
optional bool readOnly = 8;
|
optional bool readOnly = 8;
|
||||||
}
|
}
|
||||||
@ -5046,12 +5046,12 @@ message VolumeSource {
|
|||||||
|
|
||||||
// ISCSI represents an ISCSI Disk resource that is attached to a
|
// ISCSI represents an ISCSI Disk resource that is attached to a
|
||||||
// kubelet's host machine and then exposed to the pod.
|
// kubelet's host machine and then exposed to the pod.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md
|
// More info: https://examples.k8s.io/volumes/iscsi/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional ISCSIVolumeSource iscsi = 8;
|
optional ISCSIVolumeSource iscsi = 8;
|
||||||
|
|
||||||
// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional GlusterfsVolumeSource glusterfs = 9;
|
optional GlusterfsVolumeSource glusterfs = 9;
|
||||||
|
|
||||||
@ -5062,7 +5062,7 @@ message VolumeSource {
|
|||||||
optional PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
|
optional PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
|
||||||
|
|
||||||
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
|
// More info: https://examples.k8s.io/volumes/rbd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional RBDVolumeSource rbd = 11;
|
optional RBDVolumeSource rbd = 11;
|
||||||
|
|
||||||
@ -5072,7 +5072,7 @@ message VolumeSource {
|
|||||||
optional FlexVolumeSource flexVolume = 12;
|
optional FlexVolumeSource flexVolume = 12;
|
||||||
|
|
||||||
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional CinderVolumeSource cinder = 13;
|
optional CinderVolumeSource cinder = 13;
|
||||||
|
|
||||||
|
@ -87,11 +87,11 @@ type VolumeSource struct {
|
|||||||
NFS *NFSVolumeSource `json:"nfs,omitempty" protobuf:"bytes,7,opt,name=nfs"`
|
NFS *NFSVolumeSource `json:"nfs,omitempty" protobuf:"bytes,7,opt,name=nfs"`
|
||||||
// ISCSI represents an ISCSI Disk resource that is attached to a
|
// ISCSI represents an ISCSI Disk resource that is attached to a
|
||||||
// kubelet's host machine and then exposed to the pod.
|
// kubelet's host machine and then exposed to the pod.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md
|
// More info: https://examples.k8s.io/volumes/iscsi/README.md
|
||||||
// +optional
|
// +optional
|
||||||
ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty" protobuf:"bytes,8,opt,name=iscsi"`
|
ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty" protobuf:"bytes,8,opt,name=iscsi"`
|
||||||
// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
||||||
// +optional
|
// +optional
|
||||||
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" protobuf:"bytes,9,opt,name=glusterfs"`
|
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" protobuf:"bytes,9,opt,name=glusterfs"`
|
||||||
// PersistentVolumeClaimVolumeSource represents a reference to a
|
// PersistentVolumeClaimVolumeSource represents a reference to a
|
||||||
@ -100,7 +100,7 @@ type VolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty" protobuf:"bytes,10,opt,name=persistentVolumeClaim"`
|
PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty" protobuf:"bytes,10,opt,name=persistentVolumeClaim"`
|
||||||
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
|
// More info: https://examples.k8s.io/volumes/rbd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
RBD *RBDVolumeSource `json:"rbd,omitempty" protobuf:"bytes,11,opt,name=rbd"`
|
RBD *RBDVolumeSource `json:"rbd,omitempty" protobuf:"bytes,11,opt,name=rbd"`
|
||||||
// FlexVolume represents a generic volume resource that is
|
// FlexVolume represents a generic volume resource that is
|
||||||
@ -108,7 +108,7 @@ type VolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" protobuf:"bytes,12,opt,name=flexVolume"`
|
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" protobuf:"bytes,12,opt,name=flexVolume"`
|
||||||
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
Cinder *CinderVolumeSource `json:"cinder,omitempty" protobuf:"bytes,13,opt,name=cinder"`
|
Cinder *CinderVolumeSource `json:"cinder,omitempty" protobuf:"bytes,13,opt,name=cinder"`
|
||||||
// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
||||||
@ -192,7 +192,7 @@ type PersistentVolumeSource struct {
|
|||||||
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" protobuf:"bytes,3,opt,name=hostPath"`
|
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" protobuf:"bytes,3,opt,name=hostPath"`
|
||||||
// Glusterfs represents a Glusterfs volume that is attached to a host and
|
// Glusterfs represents a Glusterfs volume that is attached to a host and
|
||||||
// exposed to the pod. Provisioned by an admin.
|
// exposed to the pod. Provisioned by an admin.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
||||||
// +optional
|
// +optional
|
||||||
Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" protobuf:"bytes,4,opt,name=glusterfs"`
|
Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" protobuf:"bytes,4,opt,name=glusterfs"`
|
||||||
// NFS represents an NFS mount on the host. Provisioned by an admin.
|
// NFS represents an NFS mount on the host. Provisioned by an admin.
|
||||||
@ -200,7 +200,7 @@ type PersistentVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
NFS *NFSVolumeSource `json:"nfs,omitempty" protobuf:"bytes,5,opt,name=nfs"`
|
NFS *NFSVolumeSource `json:"nfs,omitempty" protobuf:"bytes,5,opt,name=nfs"`
|
||||||
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
|
// More info: https://examples.k8s.io/volumes/rbd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
RBD *RBDPersistentVolumeSource `json:"rbd,omitempty" protobuf:"bytes,6,opt,name=rbd"`
|
RBD *RBDPersistentVolumeSource `json:"rbd,omitempty" protobuf:"bytes,6,opt,name=rbd"`
|
||||||
// ISCSI represents an ISCSI Disk resource that is attached to a
|
// ISCSI represents an ISCSI Disk resource that is attached to a
|
||||||
@ -208,7 +208,7 @@ type PersistentVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" protobuf:"bytes,7,opt,name=iscsi"`
|
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" protobuf:"bytes,7,opt,name=iscsi"`
|
||||||
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
// Cinder represents a cinder volume attached and mounted on kubelets host machine.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
Cinder *CinderPersistentVolumeSource `json:"cinder,omitempty" protobuf:"bytes,8,opt,name=cinder"`
|
Cinder *CinderPersistentVolumeSource `json:"cinder,omitempty" protobuf:"bytes,8,opt,name=cinder"`
|
||||||
// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
||||||
@ -248,7 +248,7 @@ type PersistentVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
Local *LocalVolumeSource `json:"local,omitempty" protobuf:"bytes,20,opt,name=local"`
|
Local *LocalVolumeSource `json:"local,omitempty" protobuf:"bytes,20,opt,name=local"`
|
||||||
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
|
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
|
// More info: https://examples.k8s.io/volumes/storageos/README.md
|
||||||
// +optional
|
// +optional
|
||||||
StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" protobuf:"bytes,21,opt,name=storageos"`
|
StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" protobuf:"bytes,21,opt,name=storageos"`
|
||||||
// CSI represents storage that is handled by an external CSI driver (Beta feature).
|
// CSI represents storage that is handled by an external CSI driver (Beta feature).
|
||||||
@ -625,16 +625,16 @@ type EmptyDirVolumeSource struct {
|
|||||||
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
||||||
type GlusterfsVolumeSource struct {
|
type GlusterfsVolumeSource struct {
|
||||||
// EndpointsName is the endpoint name that details Glusterfs topology.
|
// EndpointsName is the endpoint name that details Glusterfs topology.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
EndpointsName string `json:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
|
EndpointsName string `json:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
|
||||||
|
|
||||||
// Path is the Glusterfs volume path.
|
// Path is the Glusterfs volume path.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
|
Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
|
||||||
|
|
||||||
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
||||||
}
|
}
|
||||||
@ -643,22 +643,22 @@ type GlusterfsVolumeSource struct {
|
|||||||
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
// Glusterfs volumes do not support ownership management or SELinux relabeling.
|
||||||
type GlusterfsPersistentVolumeSource struct {
|
type GlusterfsPersistentVolumeSource struct {
|
||||||
// EndpointsName is the endpoint name that details Glusterfs topology.
|
// EndpointsName is the endpoint name that details Glusterfs topology.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
EndpointsName string `json:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
|
EndpointsName string `json:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`
|
||||||
|
|
||||||
// Path is the Glusterfs volume path.
|
// Path is the Glusterfs volume path.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
|
Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
|
||||||
|
|
||||||
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
||||||
|
|
||||||
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
|
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
|
||||||
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
|
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
|
// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
||||||
// +optional
|
// +optional
|
||||||
EndpointsNamespace *string `json:"endpointsNamespace,omitempty" protobuf:"bytes,4,opt,name=endpointsNamespace"`
|
EndpointsNamespace *string `json:"endpointsNamespace,omitempty" protobuf:"bytes,4,opt,name=endpointsNamespace"`
|
||||||
}
|
}
|
||||||
@ -667,10 +667,10 @@ type GlusterfsPersistentVolumeSource struct {
|
|||||||
// RBD volumes support ownership management and SELinux relabeling.
|
// RBD volumes support ownership management and SELinux relabeling.
|
||||||
type RBDVolumeSource struct {
|
type RBDVolumeSource struct {
|
||||||
// A collection of Ceph monitors.
|
// A collection of Ceph monitors.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
CephMonitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
CephMonitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
||||||
// The rados image name.
|
// The rados image name.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
RBDImage string `json:"image" protobuf:"bytes,2,opt,name=image"`
|
RBDImage string `json:"image" protobuf:"bytes,2,opt,name=image"`
|
||||||
// Filesystem type of the volume that you want to mount.
|
// Filesystem type of the volume that you want to mount.
|
||||||
// Tip: Ensure that the filesystem type is supported by the host operating system.
|
// Tip: Ensure that the filesystem type is supported by the host operating system.
|
||||||
@ -681,28 +681,28 @@ type RBDVolumeSource struct {
|
|||||||
FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"`
|
FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"`
|
||||||
// The rados pool name.
|
// The rados pool name.
|
||||||
// Default is rbd.
|
// Default is rbd.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
RBDPool string `json:"pool,omitempty" protobuf:"bytes,4,opt,name=pool"`
|
RBDPool string `json:"pool,omitempty" protobuf:"bytes,4,opt,name=pool"`
|
||||||
// The rados user name.
|
// The rados user name.
|
||||||
// Default is admin.
|
// Default is admin.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
RadosUser string `json:"user,omitempty" protobuf:"bytes,5,opt,name=user"`
|
RadosUser string `json:"user,omitempty" protobuf:"bytes,5,opt,name=user"`
|
||||||
// Keyring is the path to key ring for RBDUser.
|
// Keyring is the path to key ring for RBDUser.
|
||||||
// Default is /etc/ceph/keyring.
|
// Default is /etc/ceph/keyring.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
Keyring string `json:"keyring,omitempty" protobuf:"bytes,6,opt,name=keyring"`
|
Keyring string `json:"keyring,omitempty" protobuf:"bytes,6,opt,name=keyring"`
|
||||||
// SecretRef is name of the authentication secret for RBDUser. If provided
|
// SecretRef is name of the authentication secret for RBDUser. If provided
|
||||||
// overrides keyring.
|
// overrides keyring.
|
||||||
// Default is nil.
|
// Default is nil.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,7,opt,name=secretRef"`
|
SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,7,opt,name=secretRef"`
|
||||||
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,8,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,8,opt,name=readOnly"`
|
||||||
}
|
}
|
||||||
@ -711,10 +711,10 @@ type RBDVolumeSource struct {
|
|||||||
// RBD volumes support ownership management and SELinux relabeling.
|
// RBD volumes support ownership management and SELinux relabeling.
|
||||||
type RBDPersistentVolumeSource struct {
|
type RBDPersistentVolumeSource struct {
|
||||||
// A collection of Ceph monitors.
|
// A collection of Ceph monitors.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
CephMonitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
CephMonitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
||||||
// The rados image name.
|
// The rados image name.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
RBDImage string `json:"image" protobuf:"bytes,2,opt,name=image"`
|
RBDImage string `json:"image" protobuf:"bytes,2,opt,name=image"`
|
||||||
// Filesystem type of the volume that you want to mount.
|
// Filesystem type of the volume that you want to mount.
|
||||||
// Tip: Ensure that the filesystem type is supported by the host operating system.
|
// Tip: Ensure that the filesystem type is supported by the host operating system.
|
||||||
@ -725,28 +725,28 @@ type RBDPersistentVolumeSource struct {
|
|||||||
FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"`
|
FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"`
|
||||||
// The rados pool name.
|
// The rados pool name.
|
||||||
// Default is rbd.
|
// Default is rbd.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
RBDPool string `json:"pool,omitempty" protobuf:"bytes,4,opt,name=pool"`
|
RBDPool string `json:"pool,omitempty" protobuf:"bytes,4,opt,name=pool"`
|
||||||
// The rados user name.
|
// The rados user name.
|
||||||
// Default is admin.
|
// Default is admin.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
RadosUser string `json:"user,omitempty" protobuf:"bytes,5,opt,name=user"`
|
RadosUser string `json:"user,omitempty" protobuf:"bytes,5,opt,name=user"`
|
||||||
// Keyring is the path to key ring for RBDUser.
|
// Keyring is the path to key ring for RBDUser.
|
||||||
// Default is /etc/ceph/keyring.
|
// Default is /etc/ceph/keyring.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
Keyring string `json:"keyring,omitempty" protobuf:"bytes,6,opt,name=keyring"`
|
Keyring string `json:"keyring,omitempty" protobuf:"bytes,6,opt,name=keyring"`
|
||||||
// SecretRef is name of the authentication secret for RBDUser. If provided
|
// SecretRef is name of the authentication secret for RBDUser. If provided
|
||||||
// overrides keyring.
|
// overrides keyring.
|
||||||
// Default is nil.
|
// Default is nil.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *SecretReference `json:"secretRef,omitempty" protobuf:"bytes,7,opt,name=secretRef"`
|
SecretRef *SecretReference `json:"secretRef,omitempty" protobuf:"bytes,7,opt,name=secretRef"`
|
||||||
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
||||||
// Defaults to false.
|
// Defaults to false.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,8,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,8,opt,name=readOnly"`
|
||||||
}
|
}
|
||||||
@ -757,17 +757,17 @@ type RBDPersistentVolumeSource struct {
|
|||||||
// Cinder volumes support ownership management and SELinux relabeling.
|
// Cinder volumes support ownership management and SELinux relabeling.
|
||||||
type CinderVolumeSource struct {
|
type CinderVolumeSource struct {
|
||||||
// volume id used to identify the volume in cinder.
|
// volume id used to identify the volume in cinder.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"`
|
VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"`
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"`
|
FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"`
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
||||||
// Optional: points to a secret object containing parameters used to connect
|
// Optional: points to a secret object containing parameters used to connect
|
||||||
@ -782,17 +782,17 @@ type CinderVolumeSource struct {
|
|||||||
// Cinder volumes support ownership management and SELinux relabeling.
|
// Cinder volumes support ownership management and SELinux relabeling.
|
||||||
type CinderPersistentVolumeSource struct {
|
type CinderPersistentVolumeSource struct {
|
||||||
// volume id used to identify the volume in cinder.
|
// volume id used to identify the volume in cinder.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"`
|
VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"`
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"`
|
FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"`
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
|
||||||
// Optional: points to a secret object containing parameters used to connect
|
// Optional: points to a secret object containing parameters used to connect
|
||||||
@ -805,26 +805,26 @@ type CinderPersistentVolumeSource struct {
|
|||||||
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
||||||
type CephFSVolumeSource struct {
|
type CephFSVolumeSource struct {
|
||||||
// Required: Monitors is a collection of Ceph monitors
|
// Required: Monitors is a collection of Ceph monitors
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
||||||
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
||||||
// +optional
|
// +optional
|
||||||
Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
|
Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
|
||||||
// Optional: User is the rados user name, default is admin
|
// Optional: User is the rados user name, default is admin
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
|
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
|
||||||
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"`
|
SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"`
|
||||||
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"`
|
SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"`
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"`
|
||||||
}
|
}
|
||||||
@ -844,26 +844,26 @@ type SecretReference struct {
|
|||||||
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
// Cephfs volumes do not support ownership management or SELinux relabeling.
|
||||||
type CephFSPersistentVolumeSource struct {
|
type CephFSPersistentVolumeSource struct {
|
||||||
// Required: Monitors is a collection of Ceph monitors
|
// Required: Monitors is a collection of Ceph monitors
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
|
||||||
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
||||||
// +optional
|
// +optional
|
||||||
Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
|
Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
|
||||||
// Optional: User is the rados user name, default is admin
|
// Optional: User is the rados user name, default is admin
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
|
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
|
||||||
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"`
|
SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"`
|
||||||
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *SecretReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"`
|
SecretRef *SecretReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"`
|
||||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"`
|
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"`
|
||||||
}
|
}
|
||||||
|
@ -158,12 +158,12 @@ func (Capabilities) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_CephFSPersistentVolumeSource = map[string]string{
|
var map_CephFSPersistentVolumeSource = map[string]string{
|
||||||
"": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
"": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"monitors": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"monitors": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"path": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
|
"path": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
|
||||||
"user": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"user": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (CephFSPersistentVolumeSource) SwaggerDoc() map[string]string {
|
func (CephFSPersistentVolumeSource) SwaggerDoc() map[string]string {
|
||||||
@ -172,12 +172,12 @@ func (CephFSPersistentVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_CephFSVolumeSource = map[string]string{
|
var map_CephFSVolumeSource = map[string]string{
|
||||||
"": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
"": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"monitors": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"monitors": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"path": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
|
"path": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
|
||||||
"user": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"user": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (CephFSVolumeSource) SwaggerDoc() map[string]string {
|
func (CephFSVolumeSource) SwaggerDoc() map[string]string {
|
||||||
@ -186,9 +186,9 @@ func (CephFSVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_CinderPersistentVolumeSource = map[string]string{
|
var map_CinderPersistentVolumeSource = map[string]string{
|
||||||
"": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
"": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
||||||
"volumeID": "volume id used to identify the volume in cinder. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"volumeID": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"secretRef": "Optional: points to a secret object containing parameters used to connect to OpenStack.",
|
"secretRef": "Optional: points to a secret object containing parameters used to connect to OpenStack.",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -198,9 +198,9 @@ func (CinderPersistentVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_CinderVolumeSource = map[string]string{
|
var map_CinderVolumeSource = map[string]string{
|
||||||
"": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
"": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
||||||
"volumeID": "volume id used to identify the volume in cinder. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"volumeID": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"secretRef": "Optional: points to a secret object containing parameters used to connect to OpenStack.",
|
"secretRef": "Optional: points to a secret object containing parameters used to connect to OpenStack.",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -757,10 +757,10 @@ func (GitRepoVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_GlusterfsPersistentVolumeSource = map[string]string{
|
var map_GlusterfsPersistentVolumeSource = map[string]string{
|
||||||
"": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
"": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"path": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"path": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"endpointsNamespace": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"endpointsNamespace": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (GlusterfsPersistentVolumeSource) SwaggerDoc() map[string]string {
|
func (GlusterfsPersistentVolumeSource) SwaggerDoc() map[string]string {
|
||||||
@ -769,9 +769,9 @@ func (GlusterfsPersistentVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_GlusterfsVolumeSource = map[string]string{
|
var map_GlusterfsVolumeSource = map[string]string{
|
||||||
"": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
"": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
||||||
"endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"path": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"path": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
"readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
"readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (GlusterfsVolumeSource) SwaggerDoc() map[string]string {
|
func (GlusterfsVolumeSource) SwaggerDoc() map[string]string {
|
||||||
@ -1328,11 +1328,11 @@ var map_PersistentVolumeSource = map[string]string{
|
|||||||
"gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
|
"gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
|
||||||
"awsElasticBlockStore": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
|
"awsElasticBlockStore": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
|
||||||
"hostPath": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
|
"hostPath": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
|
||||||
"glusterfs": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
|
"glusterfs": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md",
|
||||||
"nfs": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
|
"nfs": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
|
||||||
"rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
|
"rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md",
|
||||||
"iscsi": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.",
|
"iscsi": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.",
|
||||||
"cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
|
"cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
|
||||||
"fc": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
|
"fc": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
|
||||||
"flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running",
|
"flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running",
|
||||||
@ -1345,7 +1345,7 @@ var map_PersistentVolumeSource = map[string]string{
|
|||||||
"portworxVolume": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine",
|
"portworxVolume": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine",
|
||||||
"scaleIO": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
|
"scaleIO": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
|
||||||
"local": "Local represents directly-attached storage with node affinity",
|
"local": "Local represents directly-attached storage with node affinity",
|
||||||
"storageos": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md",
|
"storageos": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md",
|
||||||
"csi": "CSI represents storage that is handled by an external CSI driver (Beta feature).",
|
"csi": "CSI represents storage that is handled by an external CSI driver (Beta feature).",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1764,14 +1764,14 @@ func (QuobyteVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_RBDPersistentVolumeSource = map[string]string{
|
var map_RBDPersistentVolumeSource = map[string]string{
|
||||||
"": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
|
"": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
|
||||||
"monitors": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"monitors": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"image": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"image": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
|
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
|
||||||
"pool": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"pool": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"user": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"user": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"keyring": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"keyring": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"secretRef": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"secretRef": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RBDPersistentVolumeSource) SwaggerDoc() map[string]string {
|
func (RBDPersistentVolumeSource) SwaggerDoc() map[string]string {
|
||||||
@ -1780,14 +1780,14 @@ func (RBDPersistentVolumeSource) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_RBDVolumeSource = map[string]string{
|
var map_RBDVolumeSource = map[string]string{
|
||||||
"": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
|
"": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
|
||||||
"monitors": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"monitors": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"image": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"image": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
|
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
|
||||||
"pool": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"pool": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"user": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"user": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"keyring": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"keyring": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"secretRef": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"secretRef": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
"readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
"readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RBDVolumeSource) SwaggerDoc() map[string]string {
|
func (RBDVolumeSource) SwaggerDoc() map[string]string {
|
||||||
@ -2387,12 +2387,12 @@ var map_VolumeSource = map[string]string{
|
|||||||
"gitRepo": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
|
"gitRepo": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
|
||||||
"secret": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
|
"secret": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
|
||||||
"nfs": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
|
"nfs": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
|
||||||
"iscsi": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md",
|
"iscsi": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md",
|
||||||
"glusterfs": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
|
"glusterfs": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md",
|
||||||
"persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
"persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||||
"rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
|
"rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md",
|
||||||
"flexVolume": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
|
"flexVolume": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
|
||||||
"cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
"cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
|
||||||
"cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
|
"cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
|
||||||
"flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
|
"flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
|
||||||
"downwardAPI": "DownwardAPI represents downward API about the pod that should populate this volume",
|
"downwardAPI": "DownwardAPI represents downward API about the pod that should populate this volume",
|
||||||
|
Loading…
Reference in New Issue
Block a user