## Top Level API Objects

- v1alpha1.PodPreset

- v1alpha1.PodPresetList

## Definitions

### v1.APIResourceList

APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.

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: https://git.k8s.io/community/contributors/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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | false | string |
groupVersion | groupVersion is the group and version this APIResourceList is for. | true | string |
resources | resources contains the name of the resources and if they are namespaced. | true | v1.APIResource array |

### v1.ConfigMapProjection

Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap’s Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
items | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the .. path or start with ... | false | v1.KeyToPath array |
optional | Specify whether the ConfigMap or it’s keys must be defined | false | boolean | false

### v1.ScaleIOVolumeSource

ScaleIOVolumeSource represents a persistent ScaleIO volume

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
gateway | The host address of the ScaleIO API Gateway. | true | string |
system | The name of the storage system as configured in ScaleIO. | true | string |
secretRef | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. | true | v1.LocalObjectReference |
sslEnabled | Flag to enable/disable SSL communication with Gateway, default false | false | boolean | false
protectionDomain | The name of the ScaleIO Protection Domain for the configured storage. | false | string |
storagePool | The ScaleIO Storage Pool associated with the protection domain. | false | string |
storageMode | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. | false | string |
volumeName | The name of a volume already created in the ScaleIO system that is associated with this volume source. | false | string |
fsType | 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. | false | string |
readOnly | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false

### v1.PhotonPersistentDiskVolumeSource

Represents a Photon Controller persistent disk resource.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
pdID | ID that identifies Photon Controller persistent disk | true | string |
fsType | 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. | false | string |

### v1alpha1.PodPresetList

PodPresetList is a list of PodPreset objects.

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: https://git.k8s.io/community/contributors/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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | false | string |
metadata | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | false | v1.ListMeta |
items | Items is a list of schema objects. | true | v1alpha1.PodPreset array |

### v1.HostPathType

### v1.Preconditions

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
uid | Specifies the target UID. | false | types.UID |

### v1.Initializers

Initializers tracks the progress of initialization.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
pending | Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients. | true | v1.Initializer array |
result | If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion. | false | v1.Status |

### v1.ObjectFieldSelector

ObjectFieldSelector selects an APIVersioned field of an object.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
apiVersion | Version of the schema the FieldPath is written in terms of, defaults to "v1". | false | string |
fieldPath | Path of the field to select in the specified API version. | true | string |

### v1.Status

Status is a return value for calls that don’t return other objects.

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: https://git.k8s.io/community/contributors/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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | false | string |
metadata | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | false | v1.ListMeta |
status | Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | false | string |
message | A human-readable description of the status of this operation. | false | string |
reason | A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. | false | string |
details | Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. | false | v1.StatusDetails |
code | Suggested HTTP return code for this status, 0 if not set. | false | integer (int32) |

### v1.MountPropagationMode

### v1.VolumeMount

VolumeMount describes a mounting of a Volume within a container.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | This must match the Name of a Volume. | true | string |
readOnly | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | false | boolean | false
mountPath | Path within the container at which the volume should be mounted. Must not contain :. | true | string |
subPath | Path within the volume from which the container’s volume should be mounted. Defaults to "" (volume’s root). | false | string |
mountPropagation | mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10. | false | v1.MountPropagationMode |

### v1.DownwardAPIProjection

Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
items | Items is a list of DownwardAPIVolume file | false | v1.DownwardAPIVolumeFile array |

### v1.NFSVolumeSource

Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
server | Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | true | string |
path | Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | true | string |
readOnly | 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 | false | boolean | false

### v1.LabelSelector

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
matchLabels | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. | false | object |
matchExpressions | matchExpressions is a list of label selector requirements. The requirements are ANDed. | false | v1.LabelSelectorRequirement array |

### v1.CephFSVolumeSource

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
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 | true | string array |
path | Optional: Used as the mounted root, rather than the full Ceph tree, default is / | false | string |
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 | false | string |
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 | false | string |
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 | false | v1.LocalObjectReference |
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 | false | boolean | false

### v1.FCVolumeSource

Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
targetWWNs | Optional: FC target worldwide names (WWNs) | false | string array |
lun | Optional: FC target lun number | false | integer (int32) |
fsType | 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. | false | string |
readOnly | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false
wwids | Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. | false | string array |

### v1.DownwardAPIVolumeSource

DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
items | Items is a list of downward API volume file | false | v1.DownwardAPIVolumeFile array |
defaultMode | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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) |

### v1.DeletionPropagation

### v1.GCEPersistentDiskVolumeSource

Represents a Persistent Disk resource in Google Compute Engine.

A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
pdName | 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 | true | string |
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#gcepersistentdisk | false | string |
partition | 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 | false | integer (int32) |
readOnly | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | false | boolean | false

### v1.ConfigMapVolumeSource

Adapts a ConfigMap into a volume.

The contents of the target ConfigMap’s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
items | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the .. path or start with ... | false | v1.KeyToPath array |
defaultMode | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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) |
optional | Specify whether the ConfigMap or it’s keys must be defined | false | boolean | false

### v1.GitRepoVolumeSource

Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.

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.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
repository | Repository URL | true | string |
revision | Commit hash for the specified revision. | false | string |
directory | Target directory name. Must not contain or start with ... If . is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. | false | string |

### v1.SecretEnvSource

SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret’s Data field will represent the key-value pairs as environment variables.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
optional | Specify whether the Secret must be defined | false | boolean | false

### v1.PortworxVolumeSource

PortworxVolumeSource represents a Portworx volume resource.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
volumeID | VolumeID uniquely identifies a Portworx volume | true | string |
fsType | 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. | false | string |
readOnly | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false

### v1.StatusDetails

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). | false | string |
group | The group attribute of the resource associated with the status StatusReason. | false | string |
kind | The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | false | string |
uid | UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids | false | string |
causes | The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. | false | v1.StatusCause array |
retryAfterSeconds | If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. | false | integer (int32) |

### v1.ServiceAccountTokenProjection

ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
audience | Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. | false | string |
expirationSeconds | ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. | false | integer (int64) |
path | Path is the path relative to the mount point of the file to project the token into. | true | string |

### v1.Initializer

Initializer is information about an initializer that has not yet completed.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | name of the process that is responsible for initializing this object. | true | string |

### v1.LocalObjectReference

LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |

### v1.ProjectedVolumeSource

Represents a projected volume source

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
sources | list of volume projections | true | v1.VolumeProjection array |
defaultMode | Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. 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) |

### v1.ObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names | false | string |
generateName | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency | false | string |
namespace | Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces | false | string |
selfLink | SelfLink is a URL representing this object. Populated by the system. Read-only. | false | string |
uid | UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | false | string |
resourceVersion | An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency | false | string |
generation | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | false | integer (int64) |
creationTimestamp | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | false | string |
deletionTimestamp | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | false | string |
deletionGracePeriodSeconds | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | false | integer (int64) |
labels | Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels | false | object |
annotations | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations | false | object |
ownerReferences | List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. | false | v1.OwnerReference array |
initializers | An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven’t explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user. | false | v1.Initializers |
finalizers | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. | false | string array |
clusterName | The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. | false | string |

### v1.OwnerReference

OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
apiVersion | API version of the referent. | true | string |
kind | Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | true | string |
name | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | true | string |
uid | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | true | string |
controller | If true, this reference points to the managing controller. | false | boolean | false
blockOwnerDeletion | If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. | false | boolean | false

### v1.APIResource

APIResource specifies the name of a resource and whether it is namespaced.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | name is the plural name of the resource. | true | string |
singularName | singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. | true | string |
namespaced | namespaced indicates if a resource is namespaced or not. | true | boolean | false
group | group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale". | false | string |
version | version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource’s group)". | false | string |
kind | kind is the kind for the resource (e.g. Foo is the kind for a resource foo) | true | string |
verbs | verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) | true | string array |
shortNames | shortNames is a list of suggested short names of the resource. | false | string array |
categories | categories is a list of the grouped resources this resource belongs to (e.g. all) | false | string array |

### types.UID

### v1.HostPathVolumeSource

Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
path | 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 | true | string |
type | Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | false | v1.HostPathType |

### v1.AzureFileVolumeSource

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
secretName | the name of secret that contains Azure Storage Account Name and Key | true | string |
shareName | Share Name | true | string |
readOnly | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false

### v1.ISCSIVolumeSource

Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
targetPortal | 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). | true | string |
iqn | Target iSCSI Qualified Name. | true | string |
lun | iSCSI Target Lun number. | true | integer (int32) |
iscsiInterface | iSCSI Interface Name that uses an iSCSI transport. Defaults to default (tcp). | false | string |
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#iscsi | false | string |
readOnly | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | false | boolean | false
portals | 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). | false | string array |
chapAuthDiscovery | whether support iSCSI Discovery CHAP authentication | false | boolean | false
chapAuthSession | whether support iSCSI Session CHAP authentication | false | boolean | false
secretRef | CHAP Secret for iSCSI target and initiator authentication | false | v1.LocalObjectReference |
initiatorName | Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. | false | string |

### v1.SecretProjection

Adapts a secret into a projected volume.

The contents of the target Secret’s Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
items | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the .. path or start with ... | false | v1.KeyToPath array |
optional | Specify whether the Secret or its key must be defined | false | boolean | false

### v1.EmptyDirVolumeSource

Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
medium | What type of storage medium should back this directory. The default is "" which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir | false | string |
sizeLimit | Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | false | string |

### v1.EnvFromSource

EnvFromSource represents the source of a set of ConfigMaps

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
prefix | An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. | false | string |
configMapRef | The ConfigMap to select from | false | v1.ConfigMapEnvSource |
secretRef | The Secret to select from | false | v1.SecretEnvSource |

### v1.CinderVolumeSource

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.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
volumeID | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | true | string |
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 | false | string |
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 | false | boolean | false
secretRef | Optional: points to a secret object containing parameters used to connect to OpenStack. | false | v1.LocalObjectReference |

### v1.ListMeta

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
selfLink | selfLink is a URL representing this object. Populated by the system. Read-only. | false | string |
resourceVersion | String that identifies the server’s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency | false | string |
continue | continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response. | false | string |

### v1.AWSElasticBlockStoreVolumeSource

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
volumeID | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | true | string |
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#awselasticblockstore | false | string |
partition | 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). | false | integer (int32) |
readOnly | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | false | boolean | false

### v1.PersistentVolumeClaimVolumeSource

PersistentVolumeClaimVolumeSource references the user’s PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
claimName | ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | true | string |
readOnly | Will force the ReadOnly setting in VolumeMounts. Default false. | false | boolean | false

### v1.FlockerVolumeSource

Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
datasetName | Name of the dataset stored as metadata → name on the dataset for Flocker should be considered as deprecated | false | string |
datasetUUID | UUID of the dataset. This is unique identifier of a Flocker dataset | false | string |

### v1.QuobyteVolumeSource

Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
registry | 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 | true | string |
volume | Volume is a string that references an already created Quobyte volume by name. | true | string |
readOnly | ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. | false | boolean | false
user | User to map volume access to Defaults to serivceaccount user | false | string |
group | Group to map volume access to Default is no group | false | string |

### v1alpha1.PodPresetSpec

PodPresetSpec is a description of a pod preset.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
selector | Selector is a label query over a set of resources, in this case pods. Required. | false | v1.LabelSelector |
env | Env defines the collection of EnvVar to inject into containers. | false | v1.EnvVar array |
envFrom | EnvFrom defines the collection of EnvFromSource to inject into containers. | false | v1.EnvFromSource array |
volumes | Volumes defines the collection of Volume to inject into the pod. | false | v1.Volume array |
volumeMounts | VolumeMounts defines the collection of VolumeMount to inject into containers. | false | v1.VolumeMount array |

### v1alpha1.PodPreset

PodPreset is a policy resource that defines additional runtime requirements for a Pod.

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: https://git.k8s.io/community/contributors/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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | false | string |
metadata |  | false | v1.ObjectMeta |
spec |  | false | v1alpha1.PodPresetSpec |

### v1.WatchEvent

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
type |  | true | string |
object |  | true | string |

### v1.EnvVar

EnvVar represents an environment variable present in a Container.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the environment variable. Must be a C_IDENTIFIER. | true | string |
value | Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". | false | string |
valueFrom | Source for the environment variable’s value. Cannot be used if value is not empty. | false | v1.EnvVarSource |

### v1.LabelSelectorRequirement

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
key | key is the label key that the selector applies to. | true | string |
operator | operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. | true | string |
values | values is 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. This array is replaced during a strategic merge patch. | false | string array |

### v1.SecretVolumeSource

Adapts a Secret into a volume.

The contents of the target Secret’s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
secretName | Name of the secret in the pod’s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret | false | string |
items | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the .. path or start with ... | false | v1.KeyToPath array |
defaultMode | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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) |
optional | Specify whether the Secret or it’s keys must be defined | false | boolean | false

### v1.EnvVarSource

EnvVarSource represents a source for the value of an EnvVar.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
fieldRef | Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. | false | v1.ObjectFieldSelector |
resourceFieldRef | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. | false | v1.ResourceFieldSelector |
configMapKeyRef | Selects a key of a ConfigMap. | false | v1.ConfigMapKeySelector |
secretKeyRef | Selects a key of a secret in the pod’s namespace | false | v1.SecretKeySelector |

### v1.FlexVolumeSource

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
driver | Driver is the name of the driver to use for this volume. | true | string |
fsType | 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. | false | string |
secretRef | 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. | false | v1.LocalObjectReference |
readOnly | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false
options | Optional: Extra command options if any. | false | object |

### v1.AzureDiskVolumeSource

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
diskName | The Name of the data disk in the blob storage | true | string |
diskURI | The URI the data disk in the blob storage | true | string |
cachingMode | Host Caching mode: None, Read Only, Read Write. | false | v1.AzureDataDiskCachingMode |
fsType | 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. | false | string |
readOnly | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false
kind | Expected values 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 | false | v1.AzureDataDiskKind |

### v1.KeyToPath

Maps a string key to a path within a volume.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
key | The key to project. | true | string |
path | The relative path of the file to map the key to. May not be an absolute path. May not contain the path element ... May not start with the string ... | true | string |
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) |

### v1.VsphereVirtualDiskVolumeSource

Represents a vSphere volume resource.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
volumePath | Path that identifies vSphere volume vmdk | true | string |
fsType | 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. | false | string |
storagePolicyName | Storage Policy Based Management (SPBM) profile name. | false | string |
storagePolicyID | Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. | false | string |

### v1.Patch

Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.

### v1.DeleteOptions

DeleteOptions may be provided when deleting an API object.

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: https://git.k8s.io/community/contributors/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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | false | string |
gracePeriodSeconds | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | false | integer (int64) |
preconditions | Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. | false | v1.Preconditions |
orphanDependents | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list. Either this field or PropagationPolicy may be set, but not both. | false | boolean | false
propagationPolicy | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: Orphan - orphan the dependents; Background - allow the garbage collector to delete the dependents in the background; Foreground - a cascading policy that deletes all dependents in the foreground. | false | v1.DeletionPropagation |

### v1.Volume

Volume represents a named volume in a pod that may be accessed by any container in the pod.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | 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 | true | string |
hostPath | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | false | v1.HostPathVolumeSource |
emptyDir | EmptyDir represents a temporary directory that shares a pod’s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir | false | v1.EmptyDirVolumeSource |
gcePersistentDisk | GCEPersistentDisk represents a GCE 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#gcepersistentdisk | false | v1.GCEPersistentDiskVolumeSource |
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 | false | v1.AWSElasticBlockStoreVolumeSource |
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. | false | v1.GitRepoVolumeSource |
secret | Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret | false | v1.SecretVolumeSource |
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 | false | v1.NFSVolumeSource |
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 | false | v1.ISCSIVolumeSource |
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 | false | v1.GlusterfsVolumeSource |
persistentVolumeClaim | PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | false | v1.PersistentVolumeClaimVolumeSource |
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 | false | v1.RBDVolumeSource |
flexVolume | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. | false | v1.FlexVolumeSource |
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 | false | v1.CinderVolumeSource |
cephfs | CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime | false | v1.CephFSVolumeSource |
flocker | Flocker represents a Flocker volume attached to a kubelet’s host machine. This depends on the Flocker control service being running | false | v1.FlockerVolumeSource |
downwardAPI | DownwardAPI represents downward API about the pod that should populate this volume | false | v1.DownwardAPIVolumeSource |
fc | FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod. | false | v1.FCVolumeSource |
azureFile | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | false | v1.AzureFileVolumeSource |
configMap | ConfigMap represents a configMap that should populate this volume | false | v1.ConfigMapVolumeSource |
vsphereVolume | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | false | v1.VsphereVirtualDiskVolumeSource |
quobyte | Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime | false | v1.QuobyteVolumeSource |
azureDisk | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | false | v1.AzureDiskVolumeSource |
photonPersistentDisk | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | false | v1.PhotonPersistentDiskVolumeSource |
projected | Items for all in one resources secrets, configmaps, and downward API | false | v1.ProjectedVolumeSource |
portworxVolume | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | false | v1.PortworxVolumeSource |
scaleIO | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | false | v1.ScaleIOVolumeSource |
storageos | StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. | false | v1.StorageOSVolumeSource |

### v1.ConfigMapEnvSource

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap’s Data field will represent the key-value pairs as environment variables.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
optional | Specify whether the ConfigMap must be defined | false | boolean | false

### v1.StorageOSVolumeSource

Represents a StorageOS persistent volume resource.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
volumeName | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | false | string |
volumeNamespace | 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. | false | string |
fsType | 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. | false | string |
readOnly | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | false | boolean | false
secretRef | SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. | false | v1.LocalObjectReference |

### v1.ResourceFieldSelector

ResourceFieldSelector represents container resources (cpu, memory) and their output format

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
containerName | Container name: required for volumes, optional for env vars | false | string |
resource | Required: resource to select | true | string |
divisor | Specifies the output format of the exposed resources, defaults to "1" | false | string |

### v1.VolumeProjection

Projection that may be projected along with other supported volume types

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
secret | information about the secret data to project | false | v1.SecretProjection |
downwardAPI | information about the downwardAPI data to project | false | v1.DownwardAPIProjection |
configMap | information about the configMap data to project | false | v1.ConfigMapProjection |
serviceAccountToken | information about the serviceAccountToken data to project | false | v1.ServiceAccountTokenProjection |

### v1.SecretKeySelector

SecretKeySelector selects a key of a Secret.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
key | The key of the secret to select from. Must be a valid secret key. | true | string |
optional | Specify whether the Secret or it’s key must be defined | false | boolean | false

### v1.AzureDataDiskKind

### v1.DownwardAPIVolumeFile

DownwardAPIVolumeFile represents information to create the file containing the pod field

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
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 |
fieldRef | Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. | false | v1.ObjectFieldSelector |
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 | v1.ResourceFieldSelector |
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) |

### v1.ConfigMapKeySelector

Selects a key from a ConfigMap.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
name | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | false | string |
key | The key to select. | true | string |
optional | Specify whether the ConfigMap or it’s key must be defined | false | boolean | false

### v1.GlusterfsVolumeSource

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
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 | true | string |
path | Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | true | string |
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 | false | boolean | false

### v1.StatusCause

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
reason | A machine-readable description of the cause of the error. If this value is empty there is no information available. | false | string |
message | A human-readable description of the cause of the error. This field may be presented as-is to a reader. | false | string |
field | The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" | false | string |

### v1.AzureDataDiskCachingMode

### v1.RBDVolumeSource

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

Name | Description | Required | Schema | Default
--- | --- | --- | --- | ---
monitors | A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | true | string array |
image | The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | true | string |
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 | false | string |
pool | The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | false | string |
user | The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | false | string |
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 | false | string |
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 | false | v1.LocalObjectReference |
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 | false | boolean | false

### any

Represents an untyped JSON map - see the description of the field for more info about the structure of this object.