johnandersen777.bsky.social/socialweb-computer-console
console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork
0
0
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: persistentvolumes.core
spec:
conversion:
strategy: None
group: ""
names:
kind: PersistentVolume
listKind: PersistentVolumeList
plural: persistentvolumes
shortNames:
- pv
singular: persistentvolume
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description:
"PersistentVolume (PV) is a storage resource provisioned by an
administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"
properties:
apiVersion:
description:
"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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: string
kind:
description:
"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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: string
metadata:
type: object
spec:
description:
"spec defines a specification of a persistent volume owned
by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"
properties:
accessModes:
description:
"accessModes contains all ways the volume can be mounted.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"
items:
type: string
type: array
awsElasticBlockStore:
description:
"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"
properties:
fsType:
description:
'fsType is the 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#awselasticblockstore'
type: string
partition:
description:
'partition is the partition in the volume that you
want to mount. If omitted, the default is to mount by volume
name. Examples: For volume /dev/sda1, you specify the partition
as "1". Similarly, the volume partition for /dev/sda is "0"
(or you can leave the property empty).'
format: int32
type: integer
readOnly:
description:
"readOnly value true will force the readOnly setting
in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
type: boolean
volumeID:
description:
"volumeID is unique ID of the persistent disk resource
in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
type: string
required:
- volumeID
type: object
azureDisk:
description:
azureDisk represents an Azure Data Disk mount on the
host and bind mount to the pod.
properties:
cachingMode:
description:
"cachingMode is the Host Caching mode: None, Read
Only, Read Write."
type: string
diskName:
description:
diskName is the Name of the data disk in the blob
storage
type: string
diskURI:
description: diskURI is the URI of data disk in the blob storage
type: string
fsType:
description:
fsType is Filesystem type to mount. Must be a filesystem
type supported by the host operating system. Ex. "ext4", "xfs",
"ntfs". Implicitly inferred to be "ext4" if unspecified.
type: string
kind:
description:
"kind expected values are Shared: multiple blob disks
per storage account Dedicated: single blob disk per storage
account Managed: azure managed data disk (only in managed availability
set). defaults to shared"
type: string
readOnly:
description:
readOnly Defaults to false (read/write). ReadOnly
here will force the ReadOnly setting in VolumeMounts.
type: boolean
required:
- diskName
- diskURI
type: object
azureFile:
description:
azureFile represents an Azure File Service mount on the
host and bind mount to the pod.
properties:
readOnly:
description:
readOnly defaults to false (read/write). ReadOnly
here will force the ReadOnly setting in VolumeMounts.
type: boolean
secretName:
description:
secretName is the name of secret that contains Azure
Storage Account Name and Key
type: string
secretNamespace:
description:
secretNamespace is the namespace of the secret that
contains Azure Storage Account Name and Key default is the same
as the Pod
type: string
shareName:
description: shareName is the azure Share Name
type: string
required:
- secretName
- shareName
type: object
capacity:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description:
"capacity is the description of the persistent volume's
resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"
type: object
cephfs:
description:
cephFS represents a Ceph FS mount on the host that shares
a pod's lifetime
properties:
monitors:
description:
"monitors is Required: Monitors is a collection of
Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"
items:
type: string
type: array
path:
description:
"path is Optional: Used as the mounted root, rather
than the full Ceph tree, default is /"
type: string
readOnly:
description:
"readOnly is 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
secretFile:
description:
"secretFile is 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
secretRef:
description:
"secretRef is 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"
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
user:
description:
"user is 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
required:
- monitors
type: object
cinder:
description:
"cinder represents a cinder volume attached and mounted
on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
properties:
fsType:
description:
'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'
type: string
readOnly:
description:
"readOnly is 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
secretRef:
description:
"secretRef is Optional: points to a secret object
containing parameters used to connect to OpenStack."
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
volumeID:
description:
"volumeID used to identify the volume in cinder.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
type: string
required:
- volumeID
type: object
claimRef:
description:
"claimRef is part of a bi-directional binding between
PersistentVolume and PersistentVolumeClaim. Expected to be non-nil
when bound. claim.VolumeName is the authoritative bind between PV
and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description:
'If referring to a piece of an object instead of
an entire object, this string should contain a valid JSON/Go
field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within
a pod, this would take on a value like: "spec.containers{name}"
(where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax is chosen
only to have some well-defined way of referencing a part of
an object.'
type: string
kind:
description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: string
name:
description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
namespace:
description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
type: string
resourceVersion:
description:
"Specific resourceVersion to which this reference
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
type: string
uid:
description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"
type: string
type: object
csi:
description:
csi represents storage that is handled by an external
CSI driver (Beta feature).
properties:
controllerExpandSecretRef:
description:
controllerExpandSecretRef is a reference to the secret
object containing sensitive information to pass to the CSI driver
to complete the CSI ControllerExpandVolume call. This is an
beta field and requires enabling ExpandCSIVolumes feature gate.
This field is optional, and may be empty if no secret is required.
If the secret object contains more than one secret, all secrets
are passed.
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
controllerPublishSecretRef:
description:
controllerPublishSecretRef is a reference to the
secret object containing sensitive information to pass to the
CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume
calls. This field is optional, and may be empty if no secret
is required. If the secret object contains more than one secret,
all secrets are passed.
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
driver:
description:
driver is the name of the driver to use for this
volume. Required.
type: string
fsType:
description:
fsType to mount. Must be a filesystem type supported
by the host operating system. Ex. "ext4", "xfs", "ntfs".
type: string
nodeExpandSecretRef:
description:
nodeExpandSecretRef is a reference to the secret
object containing sensitive information to pass to the CSI driver
to complete the CSI NodeExpandVolume call. This is an alpha
field and requires enabling CSINodeExpandSecret feature gate.
This field is optional, may be omitted if no secret is required.
If the secret object contains more than one secret, all secrets
are passed.
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
nodePublishSecretRef:
description:
nodePublishSecretRef is a reference to the secret
object containing sensitive information to pass to the CSI driver
to complete the CSI NodePublishVolume and NodeUnpublishVolume
calls. This field is optional, and may be empty if no secret
is required. If the secret object contains more than one secret,
all secrets are passed.
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
nodeStageSecretRef:
description:
nodeStageSecretRef is a reference to the secret object
containing sensitive information to pass to the CSI driver to
complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume
calls. This field is optional, and may be empty if no secret
is required. If the secret object contains more than one secret,
all secrets are passed.
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
readOnly:
description:
readOnly value to pass to ControllerPublishVolumeRequest.
Defaults to false (read/write).
type: boolean
volumeAttributes:
additionalProperties:
type: string
description: volumeAttributes of the volume to publish.
type: object
volumeHandle:
description:
volumeHandle is the unique volume name returned by
the CSI volume plugin’s CreateVolume to refer to the volume
on all subsequent calls. Required.
type: string
required:
- driver
- volumeHandle
type: object
fc:
description:
fc represents a Fibre Channel resource that is attached
to a kubelet's host machine and then exposed to the pod.
properties:
fsType:
description:
fsType is the filesystem type to mount. Must be a
filesystem type supported by the host operating system. Ex.
"ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
type: string
lun:
description: "lun is Optional: FC target lun number"
format: int32
type: integer
readOnly:
description:
"readOnly is Optional: Defaults to false (read/write).
ReadOnly here will force the ReadOnly setting in VolumeMounts."
type: boolean
targetWWNs:
description:
"targetWWNs is Optional: FC target worldwide names
(WWNs)"
items:
type: string
type: array
wwids:
description:
"wwids Optional: FC volume world wide identifiers
(wwids) Either wwids or combination of targetWWNs and lun must
be set, but not both simultaneously."
items:
type: string
type: array
type: object
flexVolume:
description:
flexVolume represents a generic volume resource that
is provisioned/attached using an exec based plugin.
properties:
driver:
description:
driver is the name of the driver to use for this
volume.
type: string
fsType:
description:
fsType is the Filesystem type to mount. Must be a
filesystem type supported by the host operating system. Ex.
"ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume
script.
type: string
options:
additionalProperties:
type: string
description:
"options is Optional: this field holds extra command
options if any."
type: object
readOnly:
description:
"readOnly is Optional: defaults to false (read/write).
ReadOnly here will force the ReadOnly setting in VolumeMounts."
type: boolean
secretRef:
description:
"secretRef is Optional: SecretRef is reference to
the secret object containing sensitive information to pass to
the plugin scripts. This may be empty if no secret object is
specified. If the secret object contains more than one secret,
all secrets are passed to the plugin scripts."
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
required:
- driver
type: object
flocker:
description:
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
properties:
datasetName:
description:
datasetName is Name of the dataset stored as metadata
-> name on the dataset for Flocker should be considered as deprecated
type: string
datasetUUID:
description:
datasetUUID is the UUID of the dataset. This is unique
identifier of a Flocker dataset
type: string
type: object
gcePersistentDisk:
description:
"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"
properties:
fsType:
description:
'fsType is 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#gcepersistentdisk'
type: string
partition:
description:
'partition is the partition in the volume that you
want to mount. If omitted, the default is to mount by volume
name. Examples: For volume /dev/sda1, you specify the partition
as "1". Similarly, the volume partition for /dev/sda is "0"
(or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
format: int32
type: integer
pdName:
description:
"pdName is unique name of the PD resource in GCE.
Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
type: string
readOnly:
description:
"readOnly here will force the ReadOnly setting in
VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
type: boolean
required:
- pdName
type: object
glusterfs:
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"
properties:
endpoints:
description:
"endpoints is the endpoint name that details Glusterfs
topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"
type: string
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://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"
type: string
path:
description: "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"
type: string
readOnly:
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
required:
- endpoints
- path
type: object
hostPath:
description:
"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"
properties:
path:
description:
"path of the directory on the host. If the path is
a symlink, it will follow the link to the real path. More info:
https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
type: string
type:
description:
'type for HostPath Volume Defaults to "" More info:
https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
type: string
required:
- path
type: object
iscsi:
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.
properties:
chapAuthDiscovery:
description:
chapAuthDiscovery defines whether support iSCSI Discovery
CHAP authentication
type: boolean
chapAuthSession:
description:
chapAuthSession defines whether support iSCSI Session
CHAP authentication
type: boolean
fsType:
description:
'fsType is the 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#iscsi'
type: string
initiatorName:
description:
initiatorName is the custom iSCSI Initiator Name.
If initiatorName is specified with iscsiInterface simultaneously,
new iSCSI interface <target portal>:<volume name> will be created
for the connection.
type: string
iqn:
description: iqn is Target iSCSI Qualified Name.
type: string
iscsiInterface:
description:
iscsiInterface is the interface Name that uses an
iSCSI transport. Defaults to 'default' (tcp).
type: string
lun:
description: lun is iSCSI Target Lun number.
format: int32
type: integer
portals:
description:
portals is the iSCSI Target Portal List. The Portal
is either an IP or ip_addr:port if the port is other than default
(typically TCP ports 860 and 3260).
items:
type: string
type: array
readOnly:
description:
readOnly here will force the ReadOnly setting in
VolumeMounts. Defaults to false.
type: boolean
secretRef:
description:
secretRef is the CHAP Secret for iSCSI target and
initiator authentication
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
targetPortal:
description:
targetPortal is iSCSI Target Portal. The Portal is
either an IP or ip_addr:port if the port is other than default
(typically TCP ports 860 and 3260).
type: string
required:
- targetPortal
- iqn
- lun
type: object
local:
description:
local represents directly-attached storage with node
affinity
properties:
fsType:
description:
fsType is the filesystem type to mount. It applies
only when the Path is a block device. Must be a filesystem type
supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
The default value is to auto-select a filesystem if unspecified.
type: string
path:
description:
path of the full path to the volume on the node.
It can be either a directory or block device (disk, partition,
...).
type: string
required:
- path
type: object
mountOptions:
description:
'mountOptions is the list of mount options, e.g. ["ro",
"soft"]. Not validated - mount will simply fail if one is invalid.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options'
items:
type: string
type: array
nfs:
description:
"nfs represents an NFS mount on the host. Provisioned
by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
properties:
path:
description:
"path that is exported by the NFS server. More info:
https://kubernetes.io/docs/concepts/storage/volumes#nfs"
type: string
readOnly:
description:
"readOnly here will force the NFS export to be mounted
with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
type: boolean
server:
description:
"server is the hostname or IP address of the NFS
server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
type: string
required:
- server
- path
type: object
nodeAffinity:
description:
nodeAffinity defines constraints that limit what nodes
this volume can be accessed from. This field influences the scheduling
of pods that use this volume.
properties:
required:
description:
required specifies hard node constraints that must
be met.
properties:
nodeSelectorTerms:
description:
Required. A list of node selector terms. The
terms are ORed.
items:
description:
A null or empty node selector term matches
no objects. The requirements of them are ANDed. The TopologySelectorTerm
type implements a subset of the NodeSelectorTerm.
properties:
matchExpressions:
description:
A list of node selector requirements by
node's labels.
items:
description:
A node selector requirement is a selector
that contains values, a key, and an operator that
relates the key and values.
properties:
key:
description:
The label key that the selector applies
to.
type: string
operator:
description: |-
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Possible enum values:
- `"DoesNotExist"`
- `"Exists"`
- `"Gt"`
- `"In"`
- `"Lt"`
- `"NotIn"`
type: string
values:
description:
An array of string values. If the
operator is In or NotIn, the values array must
be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. If the operator
is Gt or Lt, the values array must have a single
element, which will be interpreted as an integer.
This array is replaced during a strategic merge
patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchFields:
description:
A list of node selector requirements by
node's fields.
items:
description:
A node selector requirement is a selector
that contains values, a key, and an operator that
relates the key and values.
properties:
key:
description:
The label key that the selector applies
to.
type: string
operator:
description: |-
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Possible enum values:
- `"DoesNotExist"`
- `"Exists"`
- `"Gt"`
- `"In"`
- `"Lt"`
- `"NotIn"`
type: string
values:
description:
An array of string values. If the
operator is In or NotIn, the values array must
be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. If the operator
is Gt or Lt, the values array must have a single
element, which will be interpreted as an integer.
This array is replaced during a strategic merge
patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
type: object
type: array
required:
- nodeSelectorTerms
type: object
type: object
persistentVolumeReclaimPolicy:
description: |-
persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
Possible enum values:
- `"Delete"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.
- `"Recycle"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.
- `"Retain"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.
type: string
photonPersistentDisk:
description:
photonPersistentDisk represents a PhotonController persistent
disk attached and mounted on kubelets host machine
properties:
fsType:
description:
fsType is the filesystem type to mount. Must be a
filesystem type supported by the host operating system. Ex.
"ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
type: string
pdID:
description:
pdID is the ID that identifies Photon Controller
persistent disk
type: string
required:
- pdID
type: object
portworxVolume:
description:
portworxVolume represents a portworx volume attached
and mounted on kubelets host machine
properties:
fsType:
description:
fSType represents the filesystem type to mount Must
be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
type: string
readOnly:
description:
readOnly defaults to false (read/write). ReadOnly
here will force the ReadOnly setting in VolumeMounts.
type: boolean
volumeID:
description: volumeID uniquely identifies a Portworx volume
type: string
required:
- volumeID
type: object
quobyte:
description:
quobyte represents a Quobyte mount on the host that shares
a pod's lifetime
properties:
group:
description: group to map volume access to Default is no group
type: string
readOnly:
description:
readOnly here will force the Quobyte volume to be
mounted with read-only permissions. Defaults to false.
type: boolean
registry:
description:
registry represents a single or multiple Quobyte
Registry services specified as a string as host:port pair (multiple
entries are separated with commas) which acts as the central
registry for volumes
type: string
tenant:
description:
tenant owning the given Quobyte volume in the Backend
Used with dynamically provisioned Quobyte volumes, value is
set by the plugin
type: string
user:
description:
user to map volume access to Defaults to serivceaccount
user
type: string
volume:
description:
volume is a string that references an already created
Quobyte volume by name.
type: string
required:
- registry
- volume
type: object
rbd:
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"
properties:
fsType:
description:
'fsType is the 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'
type: string
image:
description: "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
type: string
keyring:
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
monitors:
description:
"monitors is a collection of Ceph monitors. More
info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
items:
type: string
type: array
pool:
description:
"pool is the rados pool name. Default is rbd. More
info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
type: string
readOnly:
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
secretRef:
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"
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
user:
description:
"user is the rados user name. Default is admin. More
info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
type: string
required:
- monitors
- image
type: object
scaleIO:
description:
scaleIO represents a ScaleIO persistent volume attached
and mounted on Kubernetes nodes.
properties:
fsType:
description:
fsType is the filesystem type to mount. Must be a
filesystem type supported by the host operating system. Ex.
"ext4", "xfs", "ntfs". Default is "xfs"
type: string
gateway:
description: gateway is the host address of the ScaleIO API Gateway.
type: string
protectionDomain:
description:
protectionDomain is the name of the ScaleIO Protection
Domain for the configured storage.
type: string
readOnly:
description:
readOnly defaults to false (read/write). ReadOnly
here will force the ReadOnly setting in VolumeMounts.
type: boolean
secretRef:
description:
secretRef references to the secret for ScaleIO user
and other sensitive information. If this is not provided, Login
operation will fail.
properties:
name:
description:
name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description:
namespace defines the space within which the
secret name must be unique.
type: string
type: object
sslEnabled:
description:
sslEnabled is the flag to enable/disable SSL communication
with Gateway, default false
type: boolean
storageMode:
description:
storageMode indicates whether the storage for a volume
should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
type: string
storagePool:
description:
storagePool is the ScaleIO Storage Pool associated
with the protection domain.
type: string
system:
description:
system is the name of the storage system as configured
in ScaleIO.
type: string
volumeName:
description:
volumeName is the name of a volume already created
in the ScaleIO system that is associated with this volume source.
type: string
required:
- gateway
- system
- secretRef
type: object
storageClassName:
description:
storageClassName is the name of StorageClass to which
this persistent volume belongs. Empty value means that this volume
does not belong to any StorageClass.
type: string
storageos:
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"
properties:
fsType:
description:
fsType is the filesystem type to mount. Must be a
filesystem type supported by the host operating system. Ex.
"ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
type: string
readOnly:
description:
readOnly defaults to false (read/write). ReadOnly
here will force the ReadOnly setting in VolumeMounts.
type: boolean
secretRef:
description:
secretRef specifies the secret to use for obtaining
the StorageOS API credentials. If not specified, default values
will be attempted.
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description:
'If referring to a piece of an object instead
of an entire object, this string should contain a valid
JSON/Go field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within
a pod, this would take on a value like: "spec.containers{name}"
(where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax is chosen
only to have some well-defined way of referencing a part
of an object.'
type: string
kind:
description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: string
name:
description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
namespace:
description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
type: string
resourceVersion:
description:
"Specific resourceVersion to which this reference
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
type: string
uid:
description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"
type: string
type: object
volumeName:
description:
volumeName is the human-readable name of the StorageOS
volume. Volume names are only unique within a namespace.
type: string
volumeNamespace:
description:
volumeNamespace specifies the scope of the volume
within StorageOS. If no namespace is specified then the Pod's
namespace will be used. This allows the Kubernetes name scoping
to be mirrored within StorageOS for tighter integration. Set
VolumeName to any name to override the default behaviour. Set
to "default" if you are not using namespaces within StorageOS.
Namespaces that do not pre-exist within StorageOS will be created.
type: string
type: object
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.
type: string
vsphereVolume:
description:
vsphereVolume represents a vSphere volume attached and
mounted on kubelets host machine
properties:
fsType:
description:
fsType is filesystem type to mount. Must be a filesystem
type supported by the host operating system. Ex. "ext4", "xfs",
"ntfs". Implicitly inferred to be "ext4" if unspecified.
type: string
storagePolicyID:
description:
storagePolicyID is the storage Policy Based Management
(SPBM) profile ID associated with the StoragePolicyName.
type: string
storagePolicyName:
description:
storagePolicyName is the storage Policy Based Management
(SPBM) profile name.
type: string
volumePath:
description:
volumePath is the path that identifies vSphere volume
vmdk
type: string
required:
- volumePath
type: object
type: object
status:
description:
"status represents the current information/status for the
persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"
properties:
message:
description:
message is a human-readable message indicating details
about why the volume is in this state.
type: string
phase:
description: |-
phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
Possible enum values:
- `"Available"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims
- `"Bound"` used for PersistentVolumes that are bound
- `"Failed"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim
- `"Pending"` used for PersistentVolumes that are not available
- `"Released"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource
type: string
reason:
description:
reason is a brief CamelCase string that describes any
failure and is meant for machine parsing and tidy display in the
CLI.
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions:
- v1