diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 0f8c208590244..6c5e2d9f19a0c 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -44496,6 +44496,18 @@ } } }, + "io.k8s.kubernetes.pkg.api.v1.LocalVolumeSource": { + "description": "Local represents directly-attached storage with node affinity", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "type": "string" + } + } + }, "io.k8s.kubernetes.pkg.api.v1.NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -45273,6 +45285,10 @@ "description": "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.", "$ref": "#/definitions/io.k8s.kubernetes.pkg.api.v1.ISCSIVolumeSource" }, + "local": { + "description": "Local represents directly-attached storage with node affinity", + "$ref": "#/definitions/io.k8s.kubernetes.pkg.api.v1.LocalVolumeSource" + }, "nfs": { "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "$ref": "#/definitions/io.k8s.kubernetes.pkg.api.v1.NFSVolumeSource" diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 566f320137813..79285697a2c51 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -18966,6 +18966,10 @@ "$ref": "v1.ScaleIOVolumeSource", "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." }, + "local": { + "$ref": "v1.LocalVolumeSource", + "description": "Local represents directly-attached storage with node affinity" + }, "accessModes": { "type": "array", "items": { @@ -19536,6 +19540,19 @@ } } }, + "v1.LocalVolumeSource": { + "id": "v1.LocalVolumeSource", + "description": "Local represents directly-attached storage with node affinity", + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string", + "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device" + } + } + }, "v1.PersistentVolumeStatus": { "id": "v1.PersistentVolumeStatus", "description": "PersistentVolumeStatus is the current status of a persistent volume.", diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index 9a887064d5dd9..ac5bc7464aa65 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -728,6 +728,40 @@
Local represents directly-attached storage with node affinity
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
path |
+The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device |
+true |
+string |
++ |
LimitRange sets resource usage limits for each kind of resource in a Namespace.
+DownwardAPIVolumeFile represents information to create the file containing the pod field
kind |
-Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
-false |
+path |
+Required: Path is the relative path name of the file to be created. Must not be absolute or contain the .. path. Must be utf-8 encoded. The first item of the relative path must not start with .. |
+true |
string |
|
apiVersion |
-APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
+fieldRef |
+Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. |
false |
-string |
+||
metadata |
-Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata |
+resourceFieldRef |
+Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. |
false |
-+ | ||
spec |
-Spec defines the limits enforced. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status |
+mode |
+Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. |
false |
-+ | integer (int32) |
path |
-Required: Path is the relative path name of the file to be created. Must not be absolute or contain the .. path. Must be utf-8 encoded. The first item of the relative path must not start with .. |
-true |
+kind |
+Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
+false |
string |
|
fieldRef |
-Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. |
+apiVersion |
+APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
false |
-+ | string |
|
resourceFieldRef |
-Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. |
+metadata |
+Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata |
false |
-+ | ||
mode |
-Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. |
+spec |
+Spec defines the limits enforced. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status |
false |
-integer (int32) |
+||
local |
+Local represents directly-attached storage with node affinity |
+false |
++ | + | |||
accessModes |
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes |
false |
@@ -10043,7 +10084,7 @@