diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 0f8c208590..6c5e2d9f19 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 566f320137..79285697a2 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 9a887064d5..ac5bc7464a 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -728,6 +728,40 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } + +
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.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
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 |
-- |
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 |
-- |
metadata |
-Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata |
-false |
-- | - |
spec |
-Spec defines the limits enforced. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status |
-false |
-- | - |
LimitRange sets resource usage limits for each kind of resource in a Namespace.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
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 |
++ |
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 |
++ |
metadata |
+Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata |
+false |
++ | + |
spec |
+Spec defines the limits enforced. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status |
+false |
++ | + |
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