Packages

package v1

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AWSElasticBlockStoreVolumeSource(volumeID: String, fsType: Option[String] = None, partition: Option[Int] = None, readOnly: Option[Boolean] = None) extends Product with Serializable

    Represents a Persistent Disk resource in AWS.

    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.

    volumeID

    volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

    fsType

    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

    partition

    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).

    readOnly

    readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

  2. case class Affinity(nodeAffinity: Option[NodeAffinity] = None, podAffinity: Option[PodAffinity] = None, podAntiAffinity: Option[PodAntiAffinity] = None) extends Product with Serializable

    Affinity is a group of affinity scheduling rules.

    Affinity is a group of affinity scheduling rules.

    nodeAffinity

    Describes node affinity scheduling rules for the pod.

    podAffinity

    Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).

    podAntiAffinity

    Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).

  3. case class AttachedVolume(name: String, devicePath: String) extends Product with Serializable

    AttachedVolume describes a volume attached to a node

    AttachedVolume describes a volume attached to a node

    name

    Name of the attached volume

    devicePath

    DevicePath represents the device path where the volume should be available

  4. case class AzureDiskVolumeSource(diskName: String, diskURI: String, cachingMode: Option[String] = None, fsType: Option[String] = None, kind: Option[String] = None, readOnly: Option[Boolean] = None) extends Product with Serializable

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

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

    diskName

    diskName is the Name of the data disk in the blob storage

    diskURI

    diskURI is the URI of data disk in the blob storage

    cachingMode

    cachingMode is the Host Caching mode: None, Read Only, Read Write.

    fsType

    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.

    kind

    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

    readOnly

    readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

  5. case class AzureFilePersistentVolumeSource(secretName: String, shareName: String, readOnly: Option[Boolean] = None, secretNamespace: Option[String] = None) extends Product with Serializable

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

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

    secretName

    secretName is the name of secret that contains Azure Storage Account Name and Key

    shareName

    shareName is the azure Share Name

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

    secretNamespace

    secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod

  6. case class AzureFileVolumeSource(secretName: String, shareName: String, readOnly: Option[Boolean] = None) extends Product with Serializable

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

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

    secretName

    secretName is the name of secret that contains Azure Storage Account Name and Key

    shareName

    shareName is the azure share Name

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

  7. case class Binding(target: ObjectReference, apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None) extends Product with Serializable

    Binding ties one object to another; for example, a pod is bound to a node by a scheduler.

    Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.

    target

    The target object that you want to bind to the standard object.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

  8. case class CSIPersistentVolumeSource(driver: String, volumeHandle: String, controllerExpandSecretRef: Option[SecretReference] = None, controllerPublishSecretRef: Option[SecretReference] = None, fsType: Option[String] = None, nodeExpandSecretRef: Option[SecretReference] = None, nodePublishSecretRef: Option[SecretReference] = None, nodeStageSecretRef: Option[SecretReference] = None, readOnly: Option[Boolean] = None, volumeAttributes: Option[Map[String, String]] = None) extends Product with Serializable

    Represents storage that is managed by an external CSI volume driver (Beta feature)

    Represents storage that is managed by an external CSI volume driver (Beta feature)

    driver

    driver is the name of the driver to use for this volume. Required.

    volumeHandle

    volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.

    controllerExpandSecretRef

    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.

    controllerPublishSecretRef

    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

    fsType

    fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".

    nodeExpandSecretRef

    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.

    nodePublishSecretRef

    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.

    nodeStageSecretRef

    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.

    readOnly

    readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)

    volumeAttributes

    volumeAttributes of the volume to publish.

  9. case class CSIVolumeSource(driver: String, fsType: Option[String] = None, nodePublishSecretRef: Option[LocalObjectReference] = None, readOnly: Option[Boolean] = None, volumeAttributes: Option[Map[String, String]] = None) extends Product with Serializable

    Represents a source location of a volume to mount, managed by an external CSI driver

    Represents a source location of a volume to mount, managed by an external CSI driver

    driver

    driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.

    fsType

    fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.

    nodePublishSecretRef

    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 secret references are passed.

    readOnly

    readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)

    volumeAttributes

    volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.

  10. case class Capabilities(add: Option[Seq[String]] = None, drop: Option[Seq[String]] = None) extends Product with Serializable

    Adds and removes POSIX capabilities from running containers.

    Adds and removes POSIX capabilities from running containers.

    add

    Added capabilities

    drop

    Removed capabilities

  11. case class CephFSPersistentVolumeSource(monitors: Seq[String], path: Option[String] = None, readOnly: Option[Boolean] = None, secretFile: Option[String] = None, secretRef: Option[SecretReference] = None, user: Option[String] = None) extends Product with Serializable

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

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

    monitors

    monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

    path

    path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /

    readOnly

    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

    secretFile

    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

    secretRef

    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

    user

    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

  12. case class CephFSVolumeSource(monitors: Seq[String], path: Option[String] = None, readOnly: Option[Boolean] = None, secretFile: Option[String] = None, secretRef: Option[LocalObjectReference] = None, user: Option[String] = None) extends Product with Serializable

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

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

    monitors

    monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

    path

    path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /

    readOnly

    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

    secretFile

    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

    secretRef

    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

    user

    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

  13. case class CinderPersistentVolumeSource(volumeID: String, fsType: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[SecretReference] = None) extends Product with Serializable

    Represents a cinder volume resource in Openstack.

    Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

    volumeID

    volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    fsType

    fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    readOnly

    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

    secretRef

    secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.

  14. case class CinderVolumeSource(volumeID: String, fsType: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None) extends Product with Serializable

    Represents a cinder volume resource in Openstack.

    Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

    volumeID

    volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    fsType

    fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    secretRef

    secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.

  15. case class ClientIPConfig(timeoutSeconds: Option[Int] = None) extends Product with Serializable

    ClientIPConfig represents the configurations of Client IP based session affinity.

    ClientIPConfig represents the configurations of Client IP based session affinity.

    timeoutSeconds

    timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).

  16. case class ComponentCondition(type: String, status: String, error: Option[String] = None, message: Option[String] = None) extends Product with Serializable

    Information about the condition of a component.

    Information about the condition of a component.

    status

    Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".

    error

    Condition error code for a component. For example, a health check error code.

    message

    Message about the condition for a component. For example, information about a health check.

  17. case class ComponentStatus(apiVersion: Option[String] = None, conditions: Option[Seq[ComponentCondition]] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None) extends Product with Serializable

    ComponentStatus (and ComponentStatusList) holds the cluster validation info.

    ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+

    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/sig-architecture/api-conventions.md#resources

    conditions

    List of component conditions observed

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

  18. case class ComponentStatusList(items: Seq[ComponentStatus], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    Status of all the conditions for the component as a list of ComponentStatus objects.

    Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+

    items

    List of ComponentStatus objects.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  19. case class ConfigMap(apiVersion: Option[String] = None, binaryData: Option[Map[String, String]] = None, data: Option[Map[String, String]] = None, immutable: Option[Boolean] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None) extends Product with Serializable

    ConfigMap holds configuration data for pods to consume.

    ConfigMap holds configuration data for pods to consume.

    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/sig-architecture/api-conventions.md#resources

    binaryData

    BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.

    data

    Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.

    immutable

    Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

  20. case class ConfigMapEnvSource(name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

    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

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    Specify whether the ConfigMap must be defined

  21. case class ConfigMapKeySelector(key: String, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    Selects a key from a ConfigMap.

    Selects a key from a ConfigMap.

    key

    The key to select.

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    Specify whether the ConfigMap or its key must be defined

  22. case class ConfigMapList(items: Seq[ConfigMap], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    ConfigMapList is a resource containing a list of ConfigMap objects.

    ConfigMapList is a resource containing a list of ConfigMap objects.

    items

    Items is the list of ConfigMaps.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

  23. case class ConfigMapNodeConfigSource(namespace: String, name: String, kubeletConfigKey: String, resourceVersion: Option[String] = None, uid: Option[String] = None) extends Product with Serializable

    ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.

    ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration

    namespace

    Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.

    name

    Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.

    kubeletConfigKey

    KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.

    resourceVersion

    ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

    uid

    UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

  24. case class ConfigMapProjection(items: Option[Seq[KeyToPath]] = None, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    Adapts a ConfigMap into a projected volume.

    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.

    items

    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 '..'.

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    optional specify whether the ConfigMap or its keys must be defined

  25. case class ConfigMapVolumeSource(defaultMode: Option[Int] = None, items: Option[Seq[KeyToPath]] = None, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    Adapts a ConfigMap into a volume.

    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.

    defaultMode

    defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.

    items

    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 '..'.

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    optional specify whether the ConfigMap or its keys must be defined

  26. case class Container(name: String, args: Option[Seq[String]] = None, command: Option[Seq[String]] = None, env: Option[Seq[EnvVar]] = None, envFrom: Option[Seq[EnvFromSource]] = None, image: Option[String] = None, imagePullPolicy: Option[String] = None, lifecycle: Option[Lifecycle] = None, livenessProbe: Option[Probe] = None, ports: Option[Seq[ContainerPort]] = None, readinessProbe: Option[Probe] = None, resources: Option[ResourceRequirements] = None, securityContext: Option[SecurityContext] = None, startupProbe: Option[Probe] = None, stdin: Option[Boolean] = None, stdinOnce: Option[Boolean] = None, terminationMessagePath: Option[String] = None, terminationMessagePolicy: Option[String] = None, tty: Option[Boolean] = None, volumeDevices: Option[Seq[VolumeDevice]] = None, volumeMounts: Option[Seq[VolumeMount]] = None, workingDir: Option[String] = None) extends Product with Serializable

    A single application container that you want to run within a pod.

    A single application container that you want to run within a pod.

    name

    Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.

    args

    Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

    command

    Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

    env

    List of environment variables to set in the container. Cannot be updated.

    envFrom

    List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.

    image

    Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.

    imagePullPolicy

    Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

    lifecycle

    Actions that the management system should take in response to container lifecycle events. Cannot be updated.

    livenessProbe

    Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

    ports

    List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.

    readinessProbe

    Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

    resources

    Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

    securityContext

    SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

    startupProbe

    StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

    stdin

    Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.

    stdinOnce

    Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false

    terminationMessagePath

    Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.

    terminationMessagePolicy

    Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.

    tty

    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.

    volumeDevices

    volumeDevices is the list of block devices to be used by the container.

    volumeMounts

    Pod volumes to mount into the container's filesystem. Cannot be updated.

    workingDir

    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

  27. case class ContainerImage(names: Option[Seq[String]] = None, sizeBytes: Option[Long] = None) extends Product with Serializable

    Describe a container image

    Describe a container image

    names

    Names by which this image is known. e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]

    sizeBytes

    The size of the image in bytes.

  28. case class ContainerPort(containerPort: Int, hostIP: Option[String] = None, hostPort: Option[Int] = None, name: Option[String] = None, protocol: Option[String] = None) extends Product with Serializable

    ContainerPort represents a network port in a single container.

    ContainerPort represents a network port in a single container.

    containerPort

    Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.

    hostIP

    What host IP to bind the external port to.

    hostPort

    Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.

    name

    If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.

    protocol

    Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".

  29. case class ContainerState(running: Option[ContainerStateRunning] = None, terminated: Option[ContainerStateTerminated] = None, waiting: Option[ContainerStateWaiting] = None) extends Product with Serializable

    ContainerState holds a possible state of container.

    ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

    running

    Details about a running container

    terminated

    Details about a terminated container

    waiting

    Details about a waiting container

  30. case class ContainerStateRunning(startedAt: Option[Time] = None) extends Product with Serializable

    ContainerStateRunning is a running state of a container.

    ContainerStateRunning is a running state of a container.

    startedAt

    Time at which the container was last (re-)started

  31. case class ContainerStateTerminated(exitCode: Int, containerID: Option[String] = None, finishedAt: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None, signal: Option[Int] = None, startedAt: Option[Time] = None) extends Product with Serializable

    ContainerStateTerminated is a terminated state of a container.

    ContainerStateTerminated is a terminated state of a container.

    exitCode

    Exit status from the last termination of the container

    containerID

    Container's ID in the format '<type>://<container_id>'

    finishedAt

    Time at which the container last terminated

    message

    Message regarding the last termination of the container

    reason

    (brief) reason from the last termination of the container

    signal

    Signal from the last termination of the container

    startedAt

    Time at which previous execution of the container started

  32. case class ContainerStateWaiting(message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    ContainerStateWaiting is a waiting state of a container.

    ContainerStateWaiting is a waiting state of a container.

    message

    Message regarding why the container is not yet running.

    reason

    (brief) reason the container is not yet running.

  33. case class ContainerStatus(name: String, ready: Boolean, restartCount: Int, image: String, imageID: String, containerID: Option[String] = None, lastState: Option[ContainerState] = None, started: Option[Boolean] = None, state: Option[ContainerState] = None) extends Product with Serializable

    ContainerStatus contains details for the current status of this container.

    ContainerStatus contains details for the current status of this container.

    name

    This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

    ready

    Specifies whether the container has passed its readiness probe.

    restartCount

    The number of times the container has been restarted.

    image

    The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images

    imageID

    ImageID of the container's image.

    containerID

    Container's ID in the format '<type>://<container_id>'.

    lastState

    Details about the container's last termination condition.

    started

    Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.

    state

    Details about the container's current condition.

  34. case class DaemonEndpoint(Port: Int) extends Product with Serializable

    DaemonEndpoint contains information about a single Daemon endpoint.

    DaemonEndpoint contains information about a single Daemon endpoint.

    Port

    Port number of the given endpoint.

  35. case class DownwardAPIProjection(items: Option[Seq[DownwardAPIVolumeFile]] = None) extends Product with Serializable

    Represents downward API info for projecting into a projected volume.

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

    items

    Items is a list of DownwardAPIVolume file

  36. case class DownwardAPIVolumeFile(path: String, fieldRef: Option[ObjectFieldSelector] = None, mode: Option[Int] = None, resourceFieldRef: Option[ResourceFieldSelector] = None) extends Product with Serializable

    DownwardAPIVolumeFile represents information to create the file containing the pod field

    DownwardAPIVolumeFile represents information to create the file containing the pod field

    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 '..'

    fieldRef

    Required: Selects a field of the pod: only annotations, labels, name and namespace are supported

    mode

    Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.

    resourceFieldRef

    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

  37. case class DownwardAPIVolumeSource(defaultMode: Option[Int] = None, items: Option[Seq[DownwardAPIVolumeFile]] = None) extends Product with Serializable

    DownwardAPIVolumeSource represents a volume containing downward API info.

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

    defaultMode

    Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.

    items

    Items is a list of downward API volume file

  38. case class EmptyDirVolumeSource(medium: Option[String] = None, sizeLimit: Option[Quantity] = None) extends Product with Serializable

    Represents an empty directory for a pod.

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

    medium

    medium represents 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

    sizeLimit

    sizeLimit is the 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

  39. case class EndpointAddress(ip: String, hostname: Option[String] = None, nodeName: Option[String] = None, targetRef: Option[ObjectReference] = None) extends Product with Serializable

    EndpointAddress is a tuple that describes single IP address.

    EndpointAddress is a tuple that describes single IP address.

    ip

    The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.

    hostname

    The Hostname of this endpoint

    nodeName

    Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

    targetRef

    Reference to object providing the endpoint.

  40. case class EndpointPort(port: Int, appProtocol: Option[String] = None, name: Option[String] = None, protocol: Option[String] = None) extends Product with Serializable

    EndpointPort is a tuple that describes a single port.

    EndpointPort is a tuple that describes a single port.

    port

    The port number of the endpoint.

    appProtocol

    The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.

    name

    The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.

    protocol

    The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.

  41. case class EndpointSubset(addresses: Option[Seq[EndpointAddress]] = None, notReadyAddresses: Option[Seq[EndpointAddress]] = None, ports: Option[Seq[EndpointPort]] = None) extends Product with Serializable

    EndpointSubset is a group of addresses with a common set of ports.

    EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

    { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }

    The resulting set of endpoints can be viewed as:

    a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]

    addresses

    IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.

    notReadyAddresses

    IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.

    ports

    Port numbers available on the related IP addresses.

  42. case class Endpoints(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, subsets: Option[Seq[EndpointSubset]] = None) extends Product with Serializable

    Endpoints is a collection of endpoints that implement the actual service.

    Endpoints is a collection of endpoints that implement the actual service. Example:

    Name: "mysvc", Subsets: [ { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }, { Addresses: [{"ip": "10.10.3.3"}], Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] }, ]

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    subsets

    The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.

  43. case class EndpointsList(items: Seq[Endpoints], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    EndpointsList is a list of endpoints.

    EndpointsList is a list of endpoints.

    items

    List of endpoints.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  44. case class EnvFromSource(configMapRef: Option[ConfigMapEnvSource] = None, prefix: Option[String] = None, secretRef: Option[SecretEnvSource] = None) extends Product with Serializable

    EnvFromSource represents the source of a set of ConfigMaps

    EnvFromSource represents the source of a set of ConfigMaps

    configMapRef

    The ConfigMap to select from

    prefix

    An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.

    secretRef

    The Secret to select from

  45. case class EnvVar(name: String, value: Option[String] = None, valueFrom: Option[EnvVarSource] = None) extends Product with Serializable

    EnvVar represents an environment variable present in a Container.

    EnvVar represents an environment variable present in a Container.

    name

    Name of the environment variable. Must be a C_IDENTIFIER.

    value

    Variable references $(VAR_NAME) are expanded using the previously 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

    valueFrom

    Source for the environment variable's value. Cannot be used if value is not empty.

  46. case class EnvVarSource(configMapKeyRef: Option[ConfigMapKeySelector] = None, fieldRef: Option[ObjectFieldSelector] = None, resourceFieldRef: Option[ResourceFieldSelector] = None, secretKeyRef: Option[SecretKeySelector] = None) extends Product with Serializable

    EnvVarSource represents a source for the value of an EnvVar.

    EnvVarSource represents a source for the value of an EnvVar.

    configMapKeyRef

    Selects a key of a ConfigMap.

    fieldRef

    Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

    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.

    secretKeyRef

    Selects a key of a secret in the pod's namespace

  47. case class EphemeralContainer(name: String, args: Option[Seq[String]] = None, command: Option[Seq[String]] = None, env: Option[Seq[EnvVar]] = None, envFrom: Option[Seq[EnvFromSource]] = None, image: Option[String] = None, imagePullPolicy: Option[String] = None, lifecycle: Option[Lifecycle] = None, livenessProbe: Option[Probe] = None, ports: Option[Seq[ContainerPort]] = None, readinessProbe: Option[Probe] = None, resources: Option[ResourceRequirements] = None, securityContext: Option[SecurityContext] = None, startupProbe: Option[Probe] = None, stdin: Option[Boolean] = None, stdinOnce: Option[Boolean] = None, targetContainerName: Option[String] = None, terminationMessagePath: Option[String] = None, terminationMessagePolicy: Option[String] = None, tty: Option[Boolean] = None, volumeDevices: Option[Seq[VolumeDevice]] = None, volumeMounts: Option[Seq[VolumeMount]] = None, workingDir: Option[String] = None) extends Product with Serializable

    An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging.

    An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.

    To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.

    name

    Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.

    args

    Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

    command

    Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

    env

    List of environment variables to set in the container. Cannot be updated.

    envFrom

    List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.

    image

    Container image name. More info: https://kubernetes.io/docs/concepts/containers/images

    imagePullPolicy

    Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

    lifecycle

    Lifecycle is not allowed for ephemeral containers.

    livenessProbe

    Probes are not allowed for ephemeral containers.

    ports

    Ports are not allowed for ephemeral containers.

    readinessProbe

    Probes are not allowed for ephemeral containers.

    resources

    Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.

    securityContext

    Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext

    startupProbe

    Probes are not allowed for ephemeral containers.

    stdin

    Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.

    stdinOnce

    Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false

    targetContainerName

    If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined.

    terminationMessagePath

    Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.

    terminationMessagePolicy

    Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.

    tty

    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.

    volumeDevices

    volumeDevices is the list of block devices to be used by the container.

    volumeMounts

    Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated.

    workingDir

    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

  48. case class EphemeralVolumeSource(volumeClaimTemplate: Option[PersistentVolumeClaimTemplate] = None) extends Product with Serializable

    Represents an ephemeral volume that is handled by a normal storage driver.

    Represents an ephemeral volume that is handled by a normal storage driver.

    volumeClaimTemplate

    Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be <pod name>-<volume name> where <volume name> is the name from the PodSpec.Volumes array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. Required, must not be nil.

  49. case class Event(metadata: ObjectMeta, involvedObject: ObjectReference, action: Option[String] = None, apiVersion: Option[String] = None, count: Option[Int] = None, eventTime: Option[MicroTime] = None, firstTimestamp: Option[Time] = None, kind: Option[String] = None, lastTimestamp: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None, related: Option[ObjectReference] = None, reportingComponent: Option[String] = None, reportingInstance: Option[String] = None, series: Option[EventSeries] = None, source: Option[EventSource] = None, type: Option[String] = None) extends Product with Serializable

    Event is a report of an event somewhere in the cluster.

    Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    involvedObject

    The object that this event is about.

    action

    What action was taken/failed regarding to the Regarding object.

    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/sig-architecture/api-conventions.md#resources

    count

    The number of times this event has occurred.

    eventTime

    Time when this Event was first observed.

    firstTimestamp

    The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)

    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/sig-architecture/api-conventions.md#types-kinds

    lastTimestamp

    The time at which the most recent occurrence of this event was recorded.

    message

    A human-readable description of the status of this operation.

    reason

    This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

    related

    Optional secondary object for more complex actions.

    reportingComponent

    Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

    reportingInstance

    ID of the controller instance, e.g. kubelet-xyzf.

    series

    Data about the Event series this event represents or nil if it's a singleton Event.

    source

    The component reporting this event. Should be a short machine understandable string.

  50. case class EventList(items: Seq[Event], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    EventList is a list of events.

    EventList is a list of events.

    items

    List of events

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  51. case class EventSeries(count: Option[Int] = None, lastObservedTime: Option[MicroTime] = None) extends Product with Serializable

    EventSeries contain information on series of events, i.e.

    EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.

    count

    Number of occurrences in this series up to the last heartbeat time

    lastObservedTime

    Time of the last occurrence observed

  52. case class EventSource(component: Option[String] = None, host: Option[String] = None) extends Product with Serializable

    EventSource contains information for an event.

    EventSource contains information for an event.

    component

    Component from which the event is generated.

    host

    Node name on which the event is generated.

  53. case class ExecAction(command: Option[Seq[String]] = None) extends Product with Serializable

    ExecAction describes a "run in container" action.

    ExecAction describes a "run in container" action.

    command

    Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

  54. case class FCVolumeSource(fsType: Option[String] = None, lun: Option[Int] = None, readOnly: Option[Boolean] = None, targetWWNs: Option[Seq[String]] = None, wwids: Option[Seq[String]] = None) extends Product with Serializable

    Represents a Fibre Channel volume.

    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.

    fsType

    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.

    lun

    lun is Optional: FC target lun number

    readOnly

    readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

    targetWWNs

    targetWWNs is Optional: FC target worldwide names (WWNs)

    wwids

    wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.

  55. case class FlexPersistentVolumeSource(driver: String, fsType: Option[String] = None, options: Option[Map[String, String]] = None, readOnly: Option[Boolean] = None, secretRef: Option[SecretReference] = None) extends Product with Serializable

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

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

    driver

    driver is the name of the driver to use for this volume.

    fsType

    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.

    options

    options is Optional: this field holds extra command options if any.

    readOnly

    readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

    secretRef

    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.

  56. case class FlexVolumeSource(driver: String, fsType: Option[String] = None, options: Option[Map[String, String]] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None) extends Product with Serializable

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

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

    driver

    driver is the name of the driver to use for this volume.

    fsType

    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.

    options

    options is Optional: this field holds extra command options if any.

    readOnly

    readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

    secretRef

    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.

  57. case class FlockerVolumeSource(datasetName: Option[String] = None, datasetUUID: Option[String] = None) extends Product with Serializable

    Represents a Flocker volume mounted by the Flocker agent.

    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.

    datasetName

    datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated

    datasetUUID

    datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset

  58. case class GCEPersistentDiskVolumeSource(pdName: String, fsType: Option[String] = None, partition: Option[Int] = None, readOnly: Option[Boolean] = None) extends Product with Serializable

    Represents a Persistent Disk resource in Google Compute Engine.

    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.

    pdName

    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

    fsType

    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

    partition

    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

    readOnly

    readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

  59. case class GRPCAction(port: Int, service: Option[String] = None) extends Product with Serializable

    port

    Port number of the gRPC service. Number must be in the range 1 to 65535.

    service

    Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

  60. case class GitRepoVolumeSource(repository: String, directory: Option[String] = None, revision: Option[String] = None) extends Product with Serializable

    Represents a volume that is populated with the contents of a git repository.

    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.

    repository

    repository is the URL

    directory

    directory is the 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.

    revision

    revision is the commit hash for the specified revision.

  61. case class GlusterfsPersistentVolumeSource(endpoints: String, path: String, endpointsNamespace: Option[String] = None, readOnly: Option[Boolean] = None) extends Product with Serializable

    Represents a Glusterfs mount that lasts the lifetime of a pod.

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

    endpoints

    endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

    path

    path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

    endpointsNamespace

    endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

    readOnly

    readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

  62. case class GlusterfsVolumeSource(endpoints: String, path: String, readOnly: Option[Boolean] = None) extends Product with Serializable

    Represents a Glusterfs mount that lasts the lifetime of a pod.

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

    endpoints

    endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

    path

    path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

    readOnly

    readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

  63. case class HTTPGetAction(port: IntOrString, host: Option[String] = None, httpHeaders: Option[Seq[HTTPHeader]] = None, path: Option[String] = None, scheme: Option[String] = None) extends Product with Serializable

    HTTPGetAction describes an action based on HTTP Get requests.

    HTTPGetAction describes an action based on HTTP Get requests.

    port

    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

    host

    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead

    httpHeaders

    Custom headers to set in the request. HTTP allows repeated headers.

    path

    Path to access on the HTTP server.

    scheme

    Scheme to use for connecting to the host. Defaults to HTTP.

  64. case class HTTPHeader(name: String, value: String) extends Product with Serializable

    HTTPHeader describes a custom header to be used in HTTP probes

    HTTPHeader describes a custom header to be used in HTTP probes

    name

    The header field name

    value

    The header field value

  65. case class HostAlias(hostnames: Option[Seq[String]] = None, ip: Option[String] = None) extends Product with Serializable

    HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

    HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

    hostnames

    Hostnames for the above IP address.

    ip

    IP address of the host file entry.

  66. case class HostPathVolumeSource(path: String, type: Option[String] = None) extends Product with Serializable

    Represents a host path mapped into a pod.

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

    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

  67. case class ISCSIPersistentVolumeSource(targetPortal: String, iqn: String, lun: Int, chapAuthDiscovery: Option[Boolean] = None, chapAuthSession: Option[Boolean] = None, fsType: Option[String] = None, initiatorName: Option[String] = None, iscsiInterface: Option[String] = None, portals: Option[Seq[String]] = None, readOnly: Option[Boolean] = None, secretRef: Option[SecretReference] = None) extends Product with Serializable

    ISCSIPersistentVolumeSource represents an ISCSI disk.

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

    targetPortal

    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).

    iqn

    iqn is Target iSCSI Qualified Name.

    lun

    lun is iSCSI Target Lun number.

    chapAuthDiscovery

    chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

    chapAuthSession

    chapAuthSession defines whether support iSCSI Session CHAP authentication

    fsType

    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

    initiatorName

    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

    iscsiInterface

    iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)

    portals

    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).

    readOnly

    readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.

    secretRef

    secretRef is the CHAP Secret for iSCSI target and initiator authentication

  68. case class ISCSIVolumeSource(targetPortal: String, iqn: String, lun: Int, chapAuthDiscovery: Option[Boolean] = None, chapAuthSession: Option[Boolean] = None, fsType: Option[String] = None, initiatorName: Option[String] = None, iscsiInterface: Option[String] = None, portals: Option[Seq[String]] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None) extends Product with Serializable

    Represents an ISCSI disk.

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

    targetPortal

    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).

    iqn

    iqn is the target iSCSI Qualified Name.

    lun

    lun represents iSCSI Target Lun number.

    chapAuthDiscovery

    chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

    chapAuthSession

    chapAuthSession defines whether support iSCSI Session CHAP authentication

    fsType

    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

    initiatorName

    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

    iscsiInterface

    iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)

    portals

    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).

    readOnly

    readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.

    secretRef

    secretRef is the CHAP Secret for iSCSI target and initiator authentication

  69. case class KeyToPath(key: String, path: String, mode: Option[Int] = None) extends Product with Serializable

    Maps a string key to a path within a volume.

    Maps a string key to a path within a volume.

    key

    key is the key to project.

    path

    path is 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 '..'.

    mode

    mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.

  70. case class Lifecycle(postStart: Option[LifecycleHandler] = None, preStop: Option[LifecycleHandler] = None) extends Product with Serializable

    Lifecycle describes actions that the management system should take in response to container lifecycle events.

    Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

    postStart

    PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

    preStop

    PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

  71. case class LifecycleHandler(exec: Option[ExecAction] = None, httpGet: Option[HTTPGetAction] = None, tcpSocket: Option[TCPSocketAction] = None) extends Product with Serializable

    LifecycleHandler defines a specific action that should be taken in a lifecycle hook.

    LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.

    exec

    Exec specifies the action to take.

    httpGet

    HTTPGet specifies the http request to perform.

    tcpSocket

    Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified

  72. case class LimitRange(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[LimitRangeSpec] = None) extends Product with Serializable

    LimitRange sets resource usage limits for each kind of resource in a Namespace.

    LimitRange sets resource usage limits for each kind of resource in a Namespace.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  73. case class LimitRangeItem(type: String, default: Option[Map[String, Quantity]] = None, defaultRequest: Option[Map[String, Quantity]] = None, max: Option[Map[String, Quantity]] = None, maxLimitRequestRatio: Option[Map[String, Quantity]] = None, min: Option[Map[String, Quantity]] = None) extends Product with Serializable

    LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

    LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

    default

    Default resource requirement limit value by resource name if resource limit is omitted.

    defaultRequest

    DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

    max

    Max usage constraints on this kind by resource name.

    maxLimitRequestRatio

    MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

    min

    Min usage constraints on this kind by resource name.

  74. case class LimitRangeList(items: Seq[LimitRange], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    LimitRangeList is a list of LimitRange items.

    LimitRangeList is a list of LimitRange items.

    items

    Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  75. case class LimitRangeSpec(limits: Seq[LimitRangeItem]) extends Product with Serializable

    LimitRangeSpec defines a min/max usage limit for resources that match on kind.

    LimitRangeSpec defines a min/max usage limit for resources that match on kind.

    limits

    Limits is the list of LimitRangeItem objects that are enforced.

  76. case class LoadBalancerIngress(hostname: Option[String] = None, ip: Option[String] = None, ports: Option[Seq[PortStatus]] = None) extends Product with Serializable

    LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

    LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

    hostname

    Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)

    ip

    IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)

    ports

    Ports is a list of records of service ports If used, every port defined in the service should have an entry in it

  77. case class LoadBalancerStatus(ingress: Option[Seq[LoadBalancerIngress]] = None) extends Product with Serializable

    LoadBalancerStatus represents the status of a load-balancer.

    LoadBalancerStatus represents the status of a load-balancer.

    ingress

    Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.

  78. case class LocalObjectReference(name: Option[String] = None) extends Product with Serializable

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

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

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

  79. case class LocalVolumeSource(path: String, fsType: Option[String] = None) extends Product with Serializable

    Local represents directly-attached storage with node affinity (Beta feature)

    Local represents directly-attached storage with node affinity (Beta feature)

    path

    path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).

    fsType

    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.

  80. case class NFSVolumeSource(server: String, path: String, readOnly: Option[Boolean] = None) extends Product with Serializable

    Represents an NFS mount that lasts the lifetime of a pod.

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

    server

    server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

    path

    path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

    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

  81. case class Namespace(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[NamespaceSpec] = None, status: Option[NamespaceStatus] = None) extends Product with Serializable

    Namespace provides a scope for Names.

    Namespace provides a scope for Names. Use of multiple namespaces is optional.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    status

    Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  82. case class NamespaceCondition(type: String, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    NamespaceCondition contains details about state of namespace.

    NamespaceCondition contains details about state of namespace.

    status

    Status of the condition, one of True, False, Unknown.

  83. case class NamespaceList(items: Seq[Namespace], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    NamespaceList is a list of Namespaces.

    NamespaceList is a list of Namespaces.

    items

    Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  84. case class NamespaceSpec(finalizers: Option[Seq[String]] = None) extends Product with Serializable

    NamespaceSpec describes the attributes on a Namespace.

    NamespaceSpec describes the attributes on a Namespace.

    finalizers

    Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

  85. case class NamespaceStatus(conditions: Option[Seq[NamespaceCondition]] = None, phase: Option[String] = None) extends Product with Serializable

    NamespaceStatus is information about the current status of a Namespace.

    NamespaceStatus is information about the current status of a Namespace.

    conditions

    Represents the latest available observations of a namespace's current state.

    phase

    Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

  86. case class Node(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[NodeSpec] = None, status: Option[NodeStatus] = None) extends Product with Serializable

    Node is a worker node in Kubernetes.

    Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    status

    Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  87. case class NodeAddress(type: String, address: String) extends Product with Serializable

    NodeAddress contains information for the node's address.

    NodeAddress contains information for the node's address.

    address

    The node address.

  88. case class NodeAffinity(preferredDuringSchedulingIgnoredDuringExecution: Option[Seq[PreferredSchedulingTerm]] = None, requiredDuringSchedulingIgnoredDuringExecution: Option[NodeSelector] = None) extends Product with Serializable

    Node affinity is a group of node affinity scheduling rules.

    Node affinity is a group of node affinity scheduling rules.

    preferredDuringSchedulingIgnoredDuringExecution

    The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.

    requiredDuringSchedulingIgnoredDuringExecution

    If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.

  89. case class NodeCondition(type: String, status: String, lastHeartbeatTime: Option[Time] = None, lastTransitionTime: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    NodeCondition contains condition information for a node.

    NodeCondition contains condition information for a node.

    status

    Status of the condition, one of True, False, Unknown.

    lastHeartbeatTime

    Last time we got an update on a given condition.

    lastTransitionTime

    Last time the condition transit from one status to another.

    message

    Human readable message indicating details about last transition.

    reason

    (brief) reason for the condition's last transition.

  90. case class NodeConfigSource(configMap: Option[ConfigMapNodeConfigSource] = None) extends Product with Serializable

    NodeConfigSource specifies a source of node configuration.

    NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22

    configMap

    ConfigMap is a reference to a Node's ConfigMap

  91. case class NodeConfigStatus(active: Option[NodeConfigSource] = None, assigned: Option[NodeConfigSource] = None, error: Option[String] = None, lastKnownGood: Option[NodeConfigSource] = None) extends Product with Serializable

    NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.

    NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.

    active

    Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.

    assigned

    Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.

    error

    Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.

    lastKnownGood

    LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.

  92. case class NodeDaemonEndpoints(kubeletEndpoint: Option[DaemonEndpoint] = None) extends Product with Serializable

    NodeDaemonEndpoints lists ports opened by daemons running on the Node.

    NodeDaemonEndpoints lists ports opened by daemons running on the Node.

    kubeletEndpoint

    Endpoint on which Kubelet is listening.

  93. case class NodeList(items: Seq[Node], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    NodeList is the whole list of all Nodes which have been registered with master.

    NodeList is the whole list of all Nodes which have been registered with master.

    items

    List of nodes

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  94. case class NodeSelector(nodeSelectorTerms: Seq[NodeSelectorTerm]) extends Product with Serializable

    A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.

    A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.

    nodeSelectorTerms

    Required. A list of node selector terms. The terms are ORed.

  95. case class NodeSelectorRequirement(key: String, operator: String, values: Option[Seq[String]] = None) extends Product with Serializable

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

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

    key

    The label key that the selector applies to.

    operator

    Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

    values

    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.

  96. case class NodeSelectorTerm(matchExpressions: Option[Seq[NodeSelectorRequirement]] = None, matchFields: Option[Seq[NodeSelectorRequirement]] = None) extends Product with Serializable

    A null or empty node selector term matches no objects.

    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.

    matchExpressions

    A list of node selector requirements by node's labels.

    matchFields

    A list of node selector requirements by node's fields.

  97. case class NodeSpec(configSource: Option[NodeConfigSource] = None, externalID: Option[String] = None, podCIDR: Option[String] = None, podCIDRs: Option[Seq[String]] = None, providerID: Option[String] = None, taints: Option[Seq[Taint]] = None, unschedulable: Option[Boolean] = None) extends Product with Serializable

    NodeSpec describes the attributes that a node is created with.

    NodeSpec describes the attributes that a node is created with.

    configSource

    Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed from Kubelets as of 1.24 and will be fully removed in 1.26.

    externalID

    Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

    podCIDR

    PodCIDR represents the pod IP range assigned to the node.

    podCIDRs

    podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.

    providerID

    ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>

    taints

    If specified, the node's taints.

    unschedulable

    Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

  98. case class NodeStatus(addresses: Option[Seq[NodeAddress]] = None, allocatable: Option[Map[String, Quantity]] = None, capacity: Option[Map[String, Quantity]] = None, conditions: Option[Seq[NodeCondition]] = None, config: Option[NodeConfigStatus] = None, daemonEndpoints: Option[NodeDaemonEndpoints] = None, images: Option[Seq[ContainerImage]] = None, nodeInfo: Option[NodeSystemInfo] = None, phase: Option[String] = None, volumesAttached: Option[Seq[AttachedVolume]] = None, volumesInUse: Option[Seq[String]] = None) extends Product with Serializable

    NodeStatus is information about the current status of a node.

    NodeStatus is information about the current status of a node.

    addresses

    List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.

    allocatable

    Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity

    capacity

    Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

    conditions

    Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition

    config

    Status of the config assigned to the node via the dynamic Kubelet config feature.

    daemonEndpoints

    Endpoints of daemons running on the Node.

    images

    List of container images on this node

    nodeInfo

    Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info

    phase

    NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.

    volumesAttached

    List of volumes that are attached to the node.

    volumesInUse

    List of attachable volumes in use (mounted) by the node.

  99. case class NodeSystemInfo(machineID: String, systemUUID: String, bootID: String, kernelVersion: String, osImage: String, containerRuntimeVersion: String, kubeletVersion: String, kubeProxyVersion: String, operatingSystem: String, architecture: String) extends Product with Serializable

    NodeSystemInfo is a set of ids/uuids to uniquely identify the node.

    NodeSystemInfo is a set of ids/uuids to uniquely identify the node.

    machineID

    MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html

    systemUUID

    SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid

    bootID

    Boot ID reported by the node.

    kernelVersion

    Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).

    osImage

    OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).

    containerRuntimeVersion

    ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).

    kubeletVersion

    Kubelet Version reported by the node.

    kubeProxyVersion

    KubeProxy Version reported by the node.

    operatingSystem

    The Operating System reported by the node

    architecture

    The Architecture reported by the node

  100. case class ObjectFieldSelector(fieldPath: String, apiVersion: Option[String] = None) extends Product with Serializable

    ObjectFieldSelector selects an APIVersioned field of an object.

    ObjectFieldSelector selects an APIVersioned field of an object.

    fieldPath

    Path of the field to select in the specified API version.

    apiVersion

    Version of the schema the FieldPath is written in terms of, defaults to "v1".

  101. case class ObjectReference(apiVersion: Option[String] = None, fieldPath: Option[String] = None, kind: Option[String] = None, name: Option[String] = None, namespace: Option[String] = None, resourceVersion: Option[String] = None, uid: Option[String] = None) extends Product with Serializable

    ObjectReference contains enough information to let you inspect or modify the referred object.

    ObjectReference contains enough information to let you inspect or modify the referred object.

    apiVersion

    API version of the referent.

    fieldPath

    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.

    kind

    Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    namespace

    Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

    resourceVersion

    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

    uid

    UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

  102. case class PersistentVolume(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[PersistentVolumeSpec] = None, status: Option[PersistentVolumeStatus] = None) extends Product with Serializable

    PersistentVolume (PV) is a storage resource provisioned by an administrator.

    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

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    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

    status

    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

  103. case class PersistentVolumeClaim(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[PersistentVolumeClaimSpec] = None, status: Option[PersistentVolumeClaimStatus] = None) extends Product with Serializable

    PersistentVolumeClaim is a user's request for and claim to a persistent volume

    PersistentVolumeClaim is a user's request for and claim to a persistent volume

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

    status

    status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

  104. case class PersistentVolumeClaimCondition(type: String, status: String, lastProbeTime: Option[Time] = None, lastTransitionTime: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    PersistentVolumeClaimCondition contails details about state of pvc

    PersistentVolumeClaimCondition contails details about state of pvc

    lastProbeTime

    lastProbeTime is the time we probed the condition.

    lastTransitionTime

    lastTransitionTime is the time the condition transitioned from one status to another.

    message

    message is the human-readable message indicating details about last transition.

    reason

    reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "ResizeStarted" that means the underlying persistent volume is being resized.

  105. case class PersistentVolumeClaimList(items: Seq[PersistentVolumeClaim], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

    PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

    items

    items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  106. case class PersistentVolumeClaimSpec(accessModes: Option[Seq[String]] = None, dataSource: Option[TypedLocalObjectReference] = None, dataSourceRef: Option[TypedLocalObjectReference] = None, resources: Option[ResourceRequirements] = None, selector: Option[LabelSelector] = None, storageClassName: Option[String] = None, volumeMode: Option[String] = None, volumeName: Option[String] = None) extends Product with Serializable

    PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

    PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

    accessModes

    accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

    dataSource

    dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.

    dataSourceRef

    dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.

    resources

    resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources

    selector

    selector is a label query over volumes to consider for binding.

    storageClassName

    storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

    volumeMode

    volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.

    volumeName

    volumeName is the binding reference to the PersistentVolume backing this claim.

  107. case class PersistentVolumeClaimStatus(accessModes: Option[Seq[String]] = None, allocatedResources: Option[Map[String, Quantity]] = None, capacity: Option[Map[String, Quantity]] = None, conditions: Option[Seq[PersistentVolumeClaimCondition]] = None, phase: Option[String] = None, resizeStatus: Option[String] = None) extends Product with Serializable

    PersistentVolumeClaimStatus is the current status of a persistent volume claim.

    PersistentVolumeClaimStatus is the current status of a persistent volume claim.

    accessModes

    accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

    allocatedResources

    allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

    capacity

    capacity represents the actual resources of the underlying volume.

    conditions

    conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.

    phase

    phase represents the current phase of PersistentVolumeClaim.

    resizeStatus

    resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

  108. case class PersistentVolumeClaimTemplate(spec: PersistentVolumeClaimSpec, metadata: Option[ObjectMeta] = None) extends Product with Serializable

    PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

    PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

    spec

    The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.

    metadata

    May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.

  109. case class PersistentVolumeClaimVolumeSource(claimName: String, readOnly: Option[Boolean] = None) extends Product with Serializable

    PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace.

    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).

    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

    readOnly

    readOnly Will force the ReadOnly setting in VolumeMounts. Default false.

  110. case class PersistentVolumeList(items: Seq[PersistentVolume], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    PersistentVolumeList is a list of PersistentVolume items.

    PersistentVolumeList is a list of PersistentVolume items.

    items

    items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  111. case class PersistentVolumeSpec(accessModes: Option[Seq[String]] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFilePersistentVolumeSource] = None, capacity: Option[Map[String, Quantity]] = None, cephfs: Option[CephFSPersistentVolumeSource] = None, cinder: Option[CinderPersistentVolumeSource] = None, claimRef: Option[ObjectReference] = None, csi: Option[CSIPersistentVolumeSource] = None, fc: Option[FCVolumeSource] = None, flexVolume: Option[FlexPersistentVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, glusterfs: Option[GlusterfsPersistentVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, iscsi: Option[ISCSIPersistentVolumeSource] = None, local: Option[LocalVolumeSource] = None, mountOptions: Option[Seq[String]] = None, nfs: Option[NFSVolumeSource] = None, nodeAffinity: Option[VolumeNodeAffinity] = None, persistentVolumeReclaimPolicy: Option[String] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, rbd: Option[RBDPersistentVolumeSource] = None, scaleIO: Option[ScaleIOPersistentVolumeSource] = None, storageClassName: Option[String] = None, storageos: Option[StorageOSPersistentVolumeSource] = None, volumeMode: Option[String] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None) extends Product with Serializable

    PersistentVolumeSpec is the specification of a persistent volume.

    PersistentVolumeSpec is the specification of a persistent volume.

    accessModes

    accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

    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

    azureDisk

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

    azureFile

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

    capacity

    capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

    cephfs

    cephFS represents a Ceph FS mount on the host that shares a pod's lifetime

    cinder

    cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    claimRef

    claimRef 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

    csi

    csi represents storage that is handled by an external CSI driver (Beta feature).

    fc

    fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

    flexVolume

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

    flocker

    flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running

    gcePersistentDisk

    gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

    glusterfs

    glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md

    hostPath

    hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

    iscsi

    iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.

    local

    local represents directly-attached storage with node affinity

    mountOptions

    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

    nfs

    nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

    nodeAffinity

    nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.

    persistentVolumeReclaimPolicy

    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

    photonPersistentDisk

    photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine

    portworxVolume

    portworxVolume represents a portworx volume attached and mounted on kubelets host machine

    quobyte

    quobyte represents a Quobyte mount on the host that shares a pod's lifetime

    rbd

    rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md

    scaleIO

    scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.

    storageClassName

    storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.

    storageos

    storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md

    volumeMode

    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.

    vsphereVolume

    vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine

  112. case class PersistentVolumeStatus(message: Option[String] = None, phase: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    PersistentVolumeStatus is the current status of a persistent volume.

    PersistentVolumeStatus is the current status of a persistent volume.

    message

    message is a human-readable message indicating details about why the volume is in this state.

    phase

    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

    reason

    reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.

  113. case class PhotonPersistentDiskVolumeSource(pdID: String, fsType: Option[String] = None) extends Product with Serializable

    Represents a Photon Controller persistent disk resource.

    Represents a Photon Controller persistent disk resource.

    pdID

    pdID is the ID that identifies Photon Controller persistent disk

    fsType

    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.

  114. case class Pod(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[PodSpec] = None, status: Option[PodStatus] = None) extends Product with Serializable

    Pod is a collection of containers that can run on a host.

    Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    status

    Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  115. case class PodAffinity(preferredDuringSchedulingIgnoredDuringExecution: Option[Seq[WeightedPodAffinityTerm]] = None, requiredDuringSchedulingIgnoredDuringExecution: Option[Seq[PodAffinityTerm]] = None) extends Product with Serializable

    Pod affinity is a group of inter pod affinity scheduling rules.

    Pod affinity is a group of inter pod affinity scheduling rules.

    preferredDuringSchedulingIgnoredDuringExecution

    The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred

    requiredDuringSchedulingIgnoredDuringExecution

    If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.

  116. case class PodAffinityTerm(topologyKey: String, labelSelector: Option[LabelSelector] = None, namespaceSelector: Option[LabelSelector] = None, namespaces: Option[Seq[String]] = None) extends Product with Serializable

    Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running

    Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running

    topologyKey

    This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.

    labelSelector

    A label query over a set of resources, in this case pods.

    namespaceSelector

    A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.

    namespaces

    namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".

  117. case class PodAntiAffinity(preferredDuringSchedulingIgnoredDuringExecution: Option[Seq[WeightedPodAffinityTerm]] = None, requiredDuringSchedulingIgnoredDuringExecution: Option[Seq[PodAffinityTerm]] = None) extends Product with Serializable

    Pod anti affinity is a group of inter pod anti affinity scheduling rules.

    Pod anti affinity is a group of inter pod anti affinity scheduling rules.

    preferredDuringSchedulingIgnoredDuringExecution

    The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.

    requiredDuringSchedulingIgnoredDuringExecution

    If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.

  118. case class PodCondition(type: String, status: String, lastProbeTime: Option[Time] = None, lastTransitionTime: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    PodCondition contains details for the current condition of this pod.

    PodCondition contains details for the current condition of this pod.

    status

    Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

    lastProbeTime

    Last time we probed the condition.

    lastTransitionTime

    Last time the condition transitioned from one status to another.

    message

    Human-readable message indicating details about last transition.

    reason

    Unique, one-word, CamelCase reason for the condition's last transition.

  119. case class PodDNSConfig(nameservers: Option[Seq[String]] = None, options: Option[Seq[PodDNSConfigOption]] = None, searches: Option[Seq[String]] = None) extends Product with Serializable

    PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

    PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

    nameservers

    A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.

    options

    A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.

    searches

    A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.

  120. case class PodDNSConfigOption(name: Option[String] = None, value: Option[String] = None) extends Product with Serializable

    PodDNSConfigOption defines DNS resolver options of a pod.

    PodDNSConfigOption defines DNS resolver options of a pod.

    name

    Required.

  121. case class PodIP(ip: Option[String] = None) extends Product with Serializable

    IP address information for entries in the (plural) PodIPs field.

    IP address information for entries in the (plural) PodIPs field. Each entry includes:

    IP: An IP address allocated to the pod. Routable at least within the cluster.

    ip

    ip is an IP address (IPv4 or IPv6) assigned to the pod

  122. case class PodList(items: Seq[Pod], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    PodList is a list of Pods.

    PodList is a list of Pods.

    items

    List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  123. case class PodOS(name: String) extends Product with Serializable

    PodOS defines the OS parameters of a pod.

    PodOS defines the OS parameters of a pod.

    name

    Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null

  124. case class PodReadinessGate(conditionType: String) extends Product with Serializable

    PodReadinessGate contains the reference to a pod condition

    PodReadinessGate contains the reference to a pod condition

    conditionType

    ConditionType refers to a condition in the pod's condition list with matching type.

  125. case class PodSecurityContext(fsGroup: Option[Long] = None, fsGroupChangePolicy: Option[String] = None, runAsGroup: Option[Long] = None, runAsNonRoot: Option[Boolean] = None, runAsUser: Option[Long] = None, seLinuxOptions: Option[SELinuxOptions] = None, seccompProfile: Option[SeccompProfile] = None, supplementalGroups: Option[Seq[Long]] = None, sysctls: Option[Seq[Sysctl]] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None) extends Product with Serializable

    PodSecurityContext holds pod-level security attributes and common container settings.

    PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.

    fsGroup

    A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:

    1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.
    fsGroupChangePolicy

    fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows.

    runAsGroup

    The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

    runAsNonRoot

    Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

    runAsUser

    The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

    seLinuxOptions

    The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

    seccompProfile

    The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.

    supplementalGroups

    A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows.

    sysctls

    Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.

    windowsOptions

    The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.

  126. case class PodSpec(containers: Seq[Container], activeDeadlineSeconds: Option[Long] = None, affinity: Option[Affinity] = None, automountServiceAccountToken: Option[Boolean] = None, dnsConfig: Option[PodDNSConfig] = None, dnsPolicy: Option[String] = None, enableServiceLinks: Option[Boolean] = None, ephemeralContainers: Option[Seq[EphemeralContainer]] = None, hostAliases: Option[Seq[HostAlias]] = None, hostIPC: Option[Boolean] = None, hostNetwork: Option[Boolean] = None, hostPID: Option[Boolean] = None, hostUsers: Option[Boolean] = None, hostname: Option[String] = None, imagePullSecrets: Option[Seq[LocalObjectReference]] = None, initContainers: Option[Seq[Container]] = None, nodeName: Option[String] = None, nodeSelector: Option[Map[String, String]] = None, os: Option[PodOS] = None, overhead: Option[Map[String, Quantity]] = None, preemptionPolicy: Option[String] = None, priority: Option[Int] = None, priorityClassName: Option[String] = None, readinessGates: Option[Seq[PodReadinessGate]] = None, restartPolicy: Option[String] = None, runtimeClassName: Option[String] = None, schedulerName: Option[String] = None, securityContext: Option[PodSecurityContext] = None, serviceAccount: Option[String] = None, serviceAccountName: Option[String] = None, setHostnameAsFQDN: Option[Boolean] = None, shareProcessNamespace: Option[Boolean] = None, subdomain: Option[String] = None, terminationGracePeriodSeconds: Option[Long] = None, tolerations: Option[Seq[Toleration]] = None, topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]] = None, volumes: Option[Seq[Volume]] = None) extends Product with Serializable

    PodSpec is a description of a pod.

    PodSpec is a description of a pod.

    containers

    List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.

    activeDeadlineSeconds

    Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.

    affinity

    If specified, the pod's scheduling constraints

    automountServiceAccountToken

    AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.

    dnsConfig

    Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.

    dnsPolicy

    Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

    enableServiceLinks

    EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.

    ephemeralContainers

    List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.

    hostAliases

    HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.

    hostIPC

    Use the host's ipc namespace. Optional: Default to false.

    hostNetwork

    Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.

    hostPID

    Use the host's pid namespace. Optional: Default to false.

    hostUsers

    Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.

    hostname

    Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.

    imagePullSecrets

    ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

    initContainers

    List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

    nodeName

    NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.

    nodeSelector

    NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

    os

    Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions If the OS field is set to windows, following fields must be unset: - spec.hostPID

    • spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile
    • spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls
    • spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup
    • spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions
    • spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities
    • spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged
    • spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount
    • spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
    overhead

    Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md

    preemptionPolicy

    PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.

    priority

    The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.

    priorityClassName

    If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.

    readinessGates

    If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates

    restartPolicy

    Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

    runtimeClassName

    RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class

    schedulerName

    If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.

    securityContext

    SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field

    serviceAccount

    DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.

    serviceAccountName

    ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

    setHostnameAsFQDN

    If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.

    shareProcessNamespace

    Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID

    1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false
    subdomain

    If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all.

    terminationGracePeriodSeconds

    Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

    tolerations

    If specified, the pod's tolerations.

    topologySpreadConstraints

    TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.

    volumes

    List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes

  127. case class PodStatus(conditions: Option[Seq[PodCondition]] = None, containerStatuses: Option[Seq[ContainerStatus]] = None, ephemeralContainerStatuses: Option[Seq[ContainerStatus]] = None, hostIP: Option[String] = None, initContainerStatuses: Option[Seq[ContainerStatus]] = None, message: Option[String] = None, nominatedNodeName: Option[String] = None, phase: Option[String] = None, podIP: Option[String] = None, podIPs: Option[Seq[PodIP]] = None, qosClass: Option[String] = None, reason: Option[String] = None, startTime: Option[Time] = None) extends Product with Serializable

    PodStatus represents information about the status of a pod.

    PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.

    conditions

    Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

    containerStatuses

    The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

    ephemeralContainerStatuses

    Status for any ephemeral containers that have run in this pod.

    hostIP

    IP address of the host to which the pod is assigned. Empty if not yet scheduled.

    initContainerStatuses

    The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

    message

    A human readable message indicating details about why the pod is in this condition.

    nominatedNodeName

    nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.

    phase

    The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase

    podIP

    IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.

    podIPs

    podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.

    qosClass

    The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md

    reason

    A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'

    startTime

    RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.

  128. case class PodTemplate(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, template: Option[PodTemplateSpec] = None) extends Product with Serializable

    PodTemplate describes a template for creating copies of a predefined pod.

    PodTemplate describes a template for creating copies of a predefined pod.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    template

    Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  129. case class PodTemplateList(items: Seq[PodTemplate], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    PodTemplateList is a list of PodTemplates.

    PodTemplateList is a list of PodTemplates.

    items

    List of pod templates

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  130. case class PodTemplateSpec(metadata: Option[ObjectMeta] = None, spec: Option[PodSpec] = None) extends Product with Serializable

    PodTemplateSpec describes the data a pod should have when created from a template

    PodTemplateSpec describes the data a pod should have when created from a template

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  131. case class PortStatus(port: Int, protocol: String, error: Option[String] = None) extends Product with Serializable

    port

    Port is the port number of the service port of which status is recorded here

    protocol

    Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

    error

    Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

    • cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.
  132. case class PortworxVolumeSource(volumeID: String, fsType: Option[String] = None, readOnly: Option[Boolean] = None) extends Product with Serializable

    PortworxVolumeSource represents a Portworx volume resource.

    PortworxVolumeSource represents a Portworx volume resource.

    volumeID

    volumeID uniquely identifies a Portworx volume

    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.

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

  133. case class PreferredSchedulingTerm(weight: Int, preference: NodeSelectorTerm) extends Product with Serializable

    An empty preferred scheduling term matches all objects with implicit weight 0 (i.e.

    An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

    weight

    Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

    preference

    A node selector term, associated with the corresponding weight.

  134. case class Probe(exec: Option[ExecAction] = None, failureThreshold: Option[Int] = None, grpc: Option[GRPCAction] = None, httpGet: Option[HTTPGetAction] = None, initialDelaySeconds: Option[Int] = None, periodSeconds: Option[Int] = None, successThreshold: Option[Int] = None, tcpSocket: Option[TCPSocketAction] = None, terminationGracePeriodSeconds: Option[Long] = None, timeoutSeconds: Option[Int] = None) extends Product with Serializable

    Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

    Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

    exec

    Exec specifies the action to take.

    failureThreshold

    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

    grpc

    GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate.

    httpGet

    HTTPGet specifies the http request to perform.

    initialDelaySeconds

    Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

    periodSeconds

    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.

    successThreshold

    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

    tcpSocket

    TCPSocket specifies an action involving a TCP port.

    terminationGracePeriodSeconds

    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset

    timeoutSeconds

    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

  135. case class ProjectedVolumeSource(defaultMode: Option[Int] = None, sources: Option[Seq[VolumeProjection]] = None) extends Product with Serializable

    Represents a projected volume source

    Represents a projected volume source

    defaultMode

    defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.

    sources

    sources is the list of volume projections

  136. case class QuobyteVolumeSource(registry: String, volume: String, group: Option[String] = None, readOnly: Option[Boolean] = None, tenant: Option[String] = None, user: Option[String] = None) extends Product with Serializable

    Represents a Quobyte mount that lasts the lifetime of a pod.

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

    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

    volume

    volume is a string that references an already created Quobyte volume by name.

    group

    group to map volume access to Default is no group

    readOnly

    readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false

    tenant

    tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin

    user

    user to map volume access to Defaults to serivceaccount user

  137. case class RBDPersistentVolumeSource(monitors: Seq[String], image: String, fsType: Option[String] = None, keyring: Option[String] = None, pool: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[SecretReference] = None, user: Option[String] = None) extends Product with Serializable

    Represents a Rados Block Device mount that lasts the lifetime of a pod.

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

    monitors

    monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    image

    image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    fsType

    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

    keyring

    keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    pool

    pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    readOnly

    readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    secretRef

    secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    user

    user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

  138. case class RBDVolumeSource(monitors: Seq[String], image: String, fsType: Option[String] = None, keyring: Option[String] = None, pool: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None, user: Option[String] = None) extends Product with Serializable

    Represents a Rados Block Device mount that lasts the lifetime of a pod.

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

    monitors

    monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    image

    image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    fsType

    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

    keyring

    keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    pool

    pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    readOnly

    readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    secretRef

    secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

    user

    user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

  139. case class ReplicationController(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[ReplicationControllerSpec] = None, status: Option[ReplicationControllerStatus] = None) extends Product with Serializable

    ReplicationController represents the configuration of a replication controller.

    ReplicationController represents the configuration of a replication controller.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    status

    Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  140. case class ReplicationControllerCondition(type: String, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    ReplicationControllerCondition describes the state of a replication controller at a certain point.

    ReplicationControllerCondition describes the state of a replication controller at a certain point.

    status

    Status of the condition, one of True, False, Unknown.

    lastTransitionTime

    The last time the condition transitioned from one status to another.

    message

    A human readable message indicating details about the transition.

    reason

    The reason for the condition's last transition.

  141. case class ReplicationControllerList(items: Seq[ReplicationController], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    ReplicationControllerList is a collection of replication controllers.

    ReplicationControllerList is a collection of replication controllers.

    items

    List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  142. case class ReplicationControllerSpec(minReadySeconds: Option[Int] = None, replicas: Option[Int] = None, selector: Option[Map[String, String]] = None, template: Option[PodTemplateSpec] = None) extends Product with Serializable

    ReplicationControllerSpec is the specification of a replication controller.

    ReplicationControllerSpec is the specification of a replication controller.

    minReadySeconds

    Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)

    replicas

    Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

    selector

    Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    template

    Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

  143. case class ReplicationControllerStatus(replicas: Int, availableReplicas: Option[Int] = None, conditions: Option[Seq[ReplicationControllerCondition]] = None, fullyLabeledReplicas: Option[Int] = None, observedGeneration: Option[Long] = None, readyReplicas: Option[Int] = None) extends Product with Serializable

    ReplicationControllerStatus represents the current status of a replication controller.

    ReplicationControllerStatus represents the current status of a replication controller.

    replicas

    Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

    availableReplicas

    The number of available replicas (ready for at least minReadySeconds) for this replication controller.

    conditions

    Represents the latest available observations of a replication controller's current state.

    fullyLabeledReplicas

    The number of pods that have labels matching the labels of the pod template of the replication controller.

    observedGeneration

    ObservedGeneration reflects the generation of the most recently observed replication controller

    readyReplicas

    The number of ready replicas for this replication controller.

  144. case class ResourceFieldSelector(resource: String, containerName: Option[String] = None, divisor: Option[Quantity] = None) extends Product with Serializable

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

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

    resource

    Required: resource to select

    containerName

    Container name: required for volumes, optional for env vars

    divisor

    Specifies the output format of the exposed resources, defaults to "1"

  145. case class ResourceQuota(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[ResourceQuotaSpec] = None, status: Option[ResourceQuotaStatus] = None) extends Product with Serializable

    ResourceQuota sets aggregate quota restrictions enforced per namespace

    ResourceQuota sets aggregate quota restrictions enforced per namespace

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    status

    Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  146. case class ResourceQuotaList(items: Seq[ResourceQuota], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    ResourceQuotaList is a list of ResourceQuota items.

    ResourceQuotaList is a list of ResourceQuota items.

    items

    Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  147. case class ResourceQuotaSpec(hard: Option[Map[String, Quantity]] = None, scopeSelector: Option[ScopeSelector] = None, scopes: Option[Seq[String]] = None) extends Product with Serializable

    ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

    ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

    hard

    hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

    scopeSelector

    scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.

    scopes

    A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.

  148. case class ResourceQuotaStatus(hard: Option[Map[String, Quantity]] = None, used: Option[Map[String, Quantity]] = None) extends Product with Serializable

    ResourceQuotaStatus defines the enforced hard limits and observed use.

    ResourceQuotaStatus defines the enforced hard limits and observed use.

    hard

    Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

    used

    Used is the current observed total usage of the resource in the namespace.

  149. case class ResourceRequirements(limits: Option[Map[String, Quantity]] = None, requests: Option[Map[String, Quantity]] = None) extends Product with Serializable

    ResourceRequirements describes the compute resource requirements.

    ResourceRequirements describes the compute resource requirements.

    limits

    Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

    requests

    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

  150. case class SELinuxOptions(level: Option[String] = None, role: Option[String] = None, type: Option[String] = None, user: Option[String] = None) extends Product with Serializable

    SELinuxOptions are the labels to be applied to the container

    SELinuxOptions are the labels to be applied to the container

    level

    Level is SELinux level label that applies to the container.

    role

    Role is a SELinux role label that applies to the container.

    user

    User is a SELinux user label that applies to the container.

  151. case class ScaleIOPersistentVolumeSource(gateway: String, system: String, secretRef: SecretReference, fsType: Option[String] = None, protectionDomain: Option[String] = None, readOnly: Option[Boolean] = None, sslEnabled: Option[Boolean] = None, storageMode: Option[String] = None, storagePool: Option[String] = None, volumeName: Option[String] = None) extends Product with Serializable

    ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

    ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

    gateway

    gateway is the host address of the ScaleIO API Gateway.

    system

    system is the name of the storage system as configured in ScaleIO.

    secretRef

    secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.

    fsType

    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"

    protectionDomain

    protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

    sslEnabled

    sslEnabled is the flag to enable/disable SSL communication with Gateway, default false

    storageMode

    storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.

    storagePool

    storagePool is the ScaleIO Storage Pool associated with the protection domain.

    volumeName

    volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.

  152. case class ScaleIOVolumeSource(gateway: String, system: String, secretRef: LocalObjectReference, fsType: Option[String] = None, protectionDomain: Option[String] = None, readOnly: Option[Boolean] = None, sslEnabled: Option[Boolean] = None, storageMode: Option[String] = None, storagePool: Option[String] = None, volumeName: Option[String] = None) extends Product with Serializable

    ScaleIOVolumeSource represents a persistent ScaleIO volume

    ScaleIOVolumeSource represents a persistent ScaleIO volume

    gateway

    gateway is the host address of the ScaleIO API Gateway.

    system

    system is the name of the storage system as configured in ScaleIO.

    secretRef

    secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.

    fsType

    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".

    protectionDomain

    protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.

    readOnly

    readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

    sslEnabled

    sslEnabled Flag enable/disable SSL communication with Gateway, default false

    storageMode

    storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.

    storagePool

    storagePool is the ScaleIO Storage Pool associated with the protection domain.

    volumeName

    volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.

  153. case class ScopeSelector(matchExpressions: Option[Seq[ScopedResourceSelectorRequirement]] = None) extends Product with Serializable

    A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.

    A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.

    matchExpressions

    A list of scope selector requirements by scope of the resources.

  154. case class ScopedResourceSelectorRequirement(scopeName: String, operator: String, values: Option[Seq[String]] = None) extends Product with Serializable

    A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.

    A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.

    scopeName

    The name of the scope that the selector applies to.

    operator

    Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist

    values

    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.

  155. case class SeccompProfile(type: String, localhostProfile: Option[String] = None) extends Product with Serializable

    SeccompProfile defines a pod/container's seccomp profile settings.

    SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

    localhostProfile

    localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".

  156. case class Secret(apiVersion: Option[String] = None, data: Option[Map[String, String]] = None, immutable: Option[Boolean] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, stringData: Option[Map[String, String]] = None, type: Option[String] = None) extends Product with Serializable

    Secret holds secret data of a certain type.

    Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

    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/sig-architecture/api-conventions.md#resources

    data

    Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

    immutable

    Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    stringData

    stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.

  157. case class SecretEnvSource(name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    SecretEnvSource selects a Secret to populate the environment variables with.

    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

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    Specify whether the Secret must be defined

  158. case class SecretKeySelector(key: String, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    SecretKeySelector selects a key of a Secret.

    SecretKeySelector selects a key of a Secret.

    key

    The key of the secret to select from. Must be a valid secret key.

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    Specify whether the Secret or its key must be defined

  159. case class SecretList(items: Seq[Secret], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    SecretList is a list of Secret.

    SecretList is a list of Secret.

    items

    Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  160. case class SecretProjection(items: Option[Seq[KeyToPath]] = None, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable

    Adapts a secret into a projected volume.

    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.

    items

    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 '..'.

    name

    Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optional

    optional field specify whether the Secret or its key must be defined

  161. case class SecretReference(name: Option[String] = None, namespace: Option[String] = None) extends Product with Serializable

    SecretReference represents a Secret Reference.

    SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

    name

    name is unique within a namespace to reference a secret resource.

    namespace

    namespace defines the space within which the secret name must be unique.

  162. case class SecretVolumeSource(defaultMode: Option[Int] = None, items: Option[Seq[KeyToPath]] = None, optional: Option[Boolean] = None, secretName: Option[String] = None) extends Product with Serializable

    Adapts a Secret into a volume.

    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.

    defaultMode

    defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.

    items

    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 '..'.

    optional

    optional field specify whether the Secret or its keys must be defined

    secretName

    secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

  163. case class SecurityContext(allowPrivilegeEscalation: Option[Boolean] = None, capabilities: Option[Capabilities] = None, privileged: Option[Boolean] = None, procMount: Option[String] = None, readOnlyRootFilesystem: Option[Boolean] = None, runAsGroup: Option[Long] = None, runAsNonRoot: Option[Boolean] = None, runAsUser: Option[Long] = None, seLinuxOptions: Option[SELinuxOptions] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None) extends Product with Serializable

    SecurityContext holds security configuration that will be applied to a container.

    SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

    allowPrivilegeEscalation

    AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.

    capabilities

    The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.

    privileged

    Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.

    procMount

    procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.

    readOnlyRootFilesystem

    Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.

    runAsGroup

    The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

    runAsNonRoot

    Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

    runAsUser

    The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

    seLinuxOptions

    The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

    seccompProfile

    The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.

    windowsOptions

    The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.

  164. case class Service(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[ServiceSpec] = None, status: Option[ServiceStatus] = None) extends Product with Serializable

    Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

    Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    spec

    Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    status

    Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

  165. case class ServiceAccount(apiVersion: Option[String] = None, automountServiceAccountToken: Option[Boolean] = None, imagePullSecrets: Option[Seq[LocalObjectReference]] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, secrets: Option[Seq[ObjectReference]] = None) extends Product with Serializable

    ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets

    ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets

    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/sig-architecture/api-conventions.md#resources

    automountServiceAccountToken

    AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.

    imagePullSecrets

    ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    secrets

    Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret

  166. case class ServiceAccountList(items: Seq[ServiceAccount], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    ServiceAccountList is a list of ServiceAccount objects

    ServiceAccountList is a list of ServiceAccount objects

    items

    List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  167. case class ServiceAccountTokenProjection(path: String, audience: Option[String] = None, expirationSeconds: Option[Long] = None) extends Product with Serializable

    ServiceAccountTokenProjection represents a projected service account token volume.

    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).

    path

    path is the path relative to the mount point of the file to project the token into.

    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.

    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.

  168. case class ServiceList(items: Seq[Service], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable

    ServiceList holds a list of services.

    ServiceList holds a list of services.

    items

    List of services

    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/sig-architecture/api-conventions.md#resources

    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/sig-architecture/api-conventions.md#types-kinds

    metadata

    Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

  169. case class ServicePort(port: Int, appProtocol: Option[String] = None, name: Option[String] = None, nodePort: Option[Int] = None, protocol: Option[String] = None, targetPort: Option[IntOrString] = None) extends Product with Serializable

    ServicePort contains information on service's port.

    ServicePort contains information on service's port.

    port

    The port that will be exposed by this service.

    appProtocol

    The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.

    name

    The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.

    nodePort

    The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

    protocol

    The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.

    targetPort

    Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service

  170. case class ServiceSpec(allocateLoadBalancerNodePorts: Option[Boolean] = None, clusterIP: Option[String] = None, clusterIPs: Option[Seq[String]] = None, externalIPs: Option[Seq[String]] = None, externalName: Option[String] = None, externalTrafficPolicy: Option[String] = None, healthCheckNodePort: Option[Int] = None, internalTrafficPolicy: Option[String] = None, ipFamilies: Option[Seq[String]] = None, ipFamilyPolicy: Option[String] = None, loadBalancerClass: Option[String] = None, loadBalancerIP: Option[String] = None, loadBalancerSourceRanges: Option[Seq[String]] = None, ports: Option[Seq[ServicePort]] = None, publishNotReadyAddresses: Option[Boolean] = None, selector: Option[Map[String, String]] = None, sessionAffinity: Option[String] = None, sessionAffinityConfig: Option[SessionAffinityConfig] = None, type: Option[String] = None) extends Product with Serializable

    ServiceSpec describes the attributes that a user creates on a service.

    ServiceSpec describes the attributes that a user creates on a service.

    allocateLoadBalancerNodePorts

    allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.

    clusterIP

    clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

    clusterIPs

    ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value This field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

    externalIPs

    externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.

    externalName

    externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires type to be "ExternalName".

    externalTrafficPolicy

    externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, "Cluster", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get "Cluster" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node.

    healthCheckNodePort

    healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set.

    internalTrafficPolicy

    InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to "Local", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, "Cluster", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features)

    ipFamilies

    IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are "IPv4" and "IPv6". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to "headless" services. This field will be wiped when updating a Service to type ExternalName. This field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.

    ipFamilyPolicy

    IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. If there is no value provided, then this field will be set to SingleStack. Services can be "SingleStack" (a single IP family), "PreferDualStack" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or "RequireDualStack" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.

    loadBalancerClass

    loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.

    loadBalancerIP

    Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations, and it cannot support dual-stack. As of Kubernetes v1.24, users are encouraged to use implementation-specific annotations when available. This field may be removed in a future API version.

    loadBalancerSourceRanges

    If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/

    ports

    The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

    publishNotReadyAddresses

    publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.

    selector

    Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/

    sessionAffinity

    Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

    sessionAffinityConfig

    sessionAffinityConfig contains the configurations of session affinity.

  171. case class ServiceStatus(conditions: Option[Seq[Condition]] = None, loadBalancer: Option[LoadBalancerStatus] = None) extends Product with Serializable

    ServiceStatus represents the current status of a service.

    ServiceStatus represents the current status of a service.

    conditions

    Current service state

    loadBalancer

    LoadBalancer contains the current status of the load-balancer, if one is present.

  172. case class SessionAffinityConfig(clientIP: Option[ClientIPConfig] = None) extends Product with Serializable

    SessionAffinityConfig represents the configurations of session affinity.

    SessionAffinityConfig represents the configurations of session affinity.

    clientIP

    clientIP contains the configurations of Client IP based session affinity.

  173. case class StorageOSPersistentVolumeSource(fsType: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[ObjectReference] = None, volumeName: Option[String] = None, volumeNamespace: Option[String] = None) extends Product with Serializable

    Represents a StorageOS persistent volume resource.

    Represents a StorageOS persistent volume resource.

    fsType

    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.

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

    secretRef

    secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.

    volumeName

    volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

    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.

  174. case class StorageOSVolumeSource(fsType: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None, volumeName: Option[String] = None, volumeNamespace: Option[String] = None) extends Product with Serializable

    Represents a StorageOS persistent volume resource.

    Represents a StorageOS persistent volume resource.

    fsType

    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.

    readOnly

    readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts

    secretRef

    secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.

    volumeName

    volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

    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.

  175. case class Sysctl(name: String, value: String) extends Product with Serializable

    Sysctl defines a kernel parameter to be set

    Sysctl defines a kernel parameter to be set

    name

    Name of a property to set

    value

    Value of a property to set

  176. case class TCPSocketAction(port: IntOrString, host: Option[String] = None) extends Product with Serializable

    TCPSocketAction describes an action based on opening a socket

    TCPSocketAction describes an action based on opening a socket

    port

    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

    host

    Optional: Host name to connect to, defaults to the pod IP.

  177. case class Taint(key: String, effect: String, timeAdded: Option[Time] = None, value: Option[String] = None) extends Product with Serializable

    The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

    The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

    key

    Required. The taint key to be applied to a node.

    effect

    Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

    timeAdded

    TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.

    value

    The taint value corresponding to the taint key.

  178. case class Toleration(effect: Option[String] = None, key: Option[String] = None, operator: Option[String] = None, tolerationSeconds: Option[Long] = None, value: Option[String] = None) extends Product with Serializable

    The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

    The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

    effect

    Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.

    key

    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.

    operator

    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.

    tolerationSeconds

    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.

    value

    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.

  179. case class TopologySelectorLabelRequirement(key: String, values: Seq[String]) extends Product with Serializable

    A topology selector requirement is a selector that matches given label.

    A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

    key

    The label key that the selector applies to.

    values

    An array of string values. One value must match the label to be selected. Each entry in Values is ORed.

  180. case class TopologySelectorTerm(matchLabelExpressions: Option[Seq[TopologySelectorLabelRequirement]] = None) extends Product with Serializable

    A topology selector term represents the result of label queries.

    A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.

    matchLabelExpressions

    A list of topology selector requirements by labels.

  181. case class TopologySpreadConstraint(maxSkew: Int, topologyKey: String, whenUnsatisfiable: String, labelSelector: Option[LabelSelector] = None, matchLabelKeys: Option[Seq[String]] = None, minDomains: Option[Int] = None, nodeAffinityPolicy: Option[String] = None, nodeTaintsPolicy: Option[String] = None) extends Product with Serializable

    TopologySpreadConstraint specifies how to spread matching pods among the given topology.

    TopologySpreadConstraint specifies how to spread matching pods among the given topology.

    maxSkew

    MaxSkew describes the degree to which pods may be unevenly distributed. When whenUnsatisfiable=DoNotSchedule, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When whenUnsatisfiable=ScheduleAnyway, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.

    topologyKey

    TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It's a required field.

    whenUnsatisfiable

    WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint.

    • DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.
    labelSelector

    LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.

    matchLabelKeys

    MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.

    minDomains

    MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default).

    nodeAffinityPolicy

    NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.

    nodeTaintsPolicy

    NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.

  182. case class TypedLocalObjectReference(kind: String, name: String, apiGroup: Option[String] = None) extends Product with Serializable

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

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

    kind

    Kind is the type of resource being referenced

    name

    Name is the name of resource being referenced

    apiGroup

    APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

  183. case class Volume(name: String, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFileVolumeSource] = None, cephfs: Option[CephFSVolumeSource] = None, cinder: Option[CinderVolumeSource] = None, configMap: Option[ConfigMapVolumeSource] = None, csi: Option[CSIVolumeSource] = None, downwardAPI: Option[DownwardAPIVolumeSource] = None, emptyDir: Option[EmptyDirVolumeSource] = None, ephemeral: Option[EphemeralVolumeSource] = None, fc: Option[FCVolumeSource] = None, flexVolume: Option[FlexVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, gitRepo: Option[GitRepoVolumeSource] = None, glusterfs: Option[GlusterfsVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, iscsi: Option[ISCSIVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, persistentVolumeClaim: Option[PersistentVolumeClaimVolumeSource] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, projected: Option[ProjectedVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, rbd: Option[RBDVolumeSource] = None, scaleIO: Option[ScaleIOVolumeSource] = None, secret: Option[SecretVolumeSource] = None, storageos: Option[StorageOSVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None) extends Product with Serializable

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

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

    name

    name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    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

    azureDisk

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

    azureFile

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

    cephfs

    cephFS represents a Ceph FS mount on the host that shares a pod's lifetime

    cinder

    cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

    configMap

    configMap represents a configMap that should populate this volume

    csi

    csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).

    downwardAPI

    downwardAPI represents downward API about the pod that should populate this volume

    emptyDir

    emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

    ephemeral

    ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time.

    fc

    fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

    flexVolume

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

    flocker

    flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running

    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

    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.

    glusterfs

    glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md

    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

    iscsi

    iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md

    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

    persistentVolumeClaim

    persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

    photonPersistentDisk

    photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine

    portworxVolume

    portworxVolume represents a portworx volume attached and mounted on kubelets host machine

    projected

    projected items for all in one resources secrets, configmaps, and downward API

    quobyte

    quobyte represents a Quobyte mount on the host that shares a pod's lifetime

    rbd

    rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md

    scaleIO

    scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.

    secret

    secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

    storageos

    storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.

    vsphereVolume

    vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine

  184. case class VolumeDevice(name: String, devicePath: String) extends Product with Serializable

    volumeDevice describes a mapping of a raw block device within a container.

    volumeDevice describes a mapping of a raw block device within a container.

    name

    name must match the name of a persistentVolumeClaim in the pod

    devicePath

    devicePath is the path inside of the container that the device will be mapped to.

  185. case class VolumeMount(name: String, mountPath: String, mountPropagation: Option[String] = None, readOnly: Option[Boolean] = None, subPath: Option[String] = None, subPathExpr: Option[String] = None) extends Product with Serializable

    VolumeMount describes a mounting of a Volume within a container.

    VolumeMount describes a mounting of a Volume within a container.

    name

    This must match the Name of a Volume.

    mountPath

    Path within the container at which the volume should be mounted. Must not contain ':'.

    mountPropagation

    mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.

    readOnly

    Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

    subPath

    Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

    subPathExpr

    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

  186. case class VolumeNodeAffinity(required: Option[NodeSelector] = None) extends Product with Serializable

    VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

    VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

    required

    required specifies hard node constraints that must be met.

  187. case class VolumeProjection(configMap: Option[ConfigMapProjection] = None, downwardAPI: Option[DownwardAPIProjection] = None, secret: Option[SecretProjection] = None, serviceAccountToken: Option[ServiceAccountTokenProjection] = None) extends Product with Serializable

    Projection that may be projected along with other supported volume types

    Projection that may be projected along with other supported volume types

    configMap

    configMap information about the configMap data to project

    downwardAPI

    downwardAPI information about the downwardAPI data to project

    secret

    secret information about the secret data to project

    serviceAccountToken

    serviceAccountToken is information about the serviceAccountToken data to project

  188. case class VsphereVirtualDiskVolumeSource(volumePath: String, fsType: Option[String] = None, storagePolicyID: Option[String] = None, storagePolicyName: Option[String] = None) extends Product with Serializable

    Represents a vSphere volume resource.

    Represents a vSphere volume resource.

    volumePath

    volumePath is the path that identifies vSphere volume vmdk

    fsType

    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.

    storagePolicyID

    storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.

    storagePolicyName

    storagePolicyName is the storage Policy Based Management (SPBM) profile name.

  189. case class WeightedPodAffinityTerm(weight: Int, podAffinityTerm: PodAffinityTerm) extends Product with Serializable

    The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

    The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

    weight

    weight associated with matching the corresponding podAffinityTerm, in the range 1-100.

    podAffinityTerm

    Required. A pod affinity term, associated with the corresponding weight.

  190. case class WindowsSecurityContextOptions(gmsaCredentialSpec: Option[String] = None, gmsaCredentialSpecName: Option[String] = None, hostProcess: Option[Boolean] = None, runAsUserName: Option[String] = None) extends Product with Serializable

    WindowsSecurityContextOptions contain Windows-specific options and credentials.

    WindowsSecurityContextOptions contain Windows-specific options and credentials.

    gmsaCredentialSpec

    GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field

    gmsaCredentialSpecName

    GMSACredentialSpecName is the name of the GMSA credential spec to use.

    hostProcess

    HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.

    runAsUserName

    The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

Value Members

  1. object AWSElasticBlockStoreVolumeSource extends Serializable
  2. object Affinity extends Serializable
  3. object AttachedVolume extends Serializable
  4. object AzureDiskVolumeSource extends Serializable
  5. object AzureFilePersistentVolumeSource extends Serializable
  6. object AzureFileVolumeSource extends Serializable
  7. object Binding extends Serializable
  8. object CSIPersistentVolumeSource extends Serializable
  9. object CSIVolumeSource extends Serializable
  10. object Capabilities extends Serializable
  11. object CephFSPersistentVolumeSource extends Serializable
  12. object CephFSVolumeSource extends Serializable
  13. object CinderPersistentVolumeSource extends Serializable
  14. object CinderVolumeSource extends Serializable
  15. object ClientIPConfig extends Serializable
  16. object ComponentCondition extends Serializable
  17. object ComponentStatus extends Serializable
  18. object ComponentStatusList extends Serializable
  19. object ConfigMap extends Serializable
  20. object ConfigMapEnvSource extends Serializable
  21. object ConfigMapKeySelector extends Serializable
  22. object ConfigMapList extends Serializable
  23. object ConfigMapNodeConfigSource extends Serializable
  24. object ConfigMapProjection extends Serializable
  25. object ConfigMapVolumeSource extends Serializable
  26. object Container extends Serializable
  27. object ContainerImage extends Serializable
  28. object ContainerPort extends Serializable
  29. object ContainerState extends Serializable
  30. object ContainerStateRunning extends Serializable
  31. object ContainerStateTerminated extends Serializable
  32. object ContainerStateWaiting extends Serializable
  33. object ContainerStatus extends Serializable
  34. object DaemonEndpoint extends Serializable
  35. object DownwardAPIProjection extends Serializable
  36. object DownwardAPIVolumeFile extends Serializable
  37. object DownwardAPIVolumeSource extends Serializable
  38. object EmptyDirVolumeSource extends Serializable
  39. object EndpointAddress extends Serializable
  40. object EndpointPort extends Serializable
  41. object EndpointSubset extends Serializable
  42. object Endpoints extends Serializable
  43. object EndpointsList extends Serializable
  44. object EnvFromSource extends Serializable
  45. object EnvVar extends Serializable
  46. object EnvVarSource extends Serializable
  47. object EphemeralContainer extends Serializable
  48. object EphemeralVolumeSource extends Serializable
  49. object Event extends Serializable
  50. object EventList extends Serializable
  51. object EventSeries extends Serializable
  52. object EventSource extends Serializable
  53. object ExecAction extends Serializable
  54. object FCVolumeSource extends Serializable
  55. object FlexPersistentVolumeSource extends Serializable
  56. object FlexVolumeSource extends Serializable
  57. object FlockerVolumeSource extends Serializable
  58. object GCEPersistentDiskVolumeSource extends Serializable
  59. object GRPCAction extends Serializable
  60. object GitRepoVolumeSource extends Serializable
  61. object GlusterfsPersistentVolumeSource extends Serializable
  62. object GlusterfsVolumeSource extends Serializable
  63. object HTTPGetAction extends Serializable
  64. object HTTPHeader extends Serializable
  65. object HostAlias extends Serializable
  66. object HostPathVolumeSource extends Serializable
  67. object ISCSIPersistentVolumeSource extends Serializable
  68. object ISCSIVolumeSource extends Serializable
  69. object KeyToPath extends Serializable
  70. object Lifecycle extends Serializable
  71. object LifecycleHandler extends Serializable
  72. object LimitRange extends Serializable
  73. object LimitRangeItem extends Serializable
  74. object LimitRangeList extends Serializable
  75. object LimitRangeSpec extends Serializable
  76. object LoadBalancerIngress extends Serializable
  77. object LoadBalancerStatus extends Serializable
  78. object LocalObjectReference extends Serializable
  79. object LocalVolumeSource extends Serializable
  80. object NFSVolumeSource extends Serializable
  81. object Namespace extends Serializable
  82. object NamespaceCondition extends Serializable
  83. object NamespaceList extends Serializable
  84. object NamespaceSpec extends Serializable
  85. object NamespaceStatus extends Serializable
  86. object Node extends Serializable
  87. object NodeAddress extends Serializable
  88. object NodeAffinity extends Serializable
  89. object NodeCondition extends Serializable
  90. object NodeConfigSource extends Serializable
  91. object NodeConfigStatus extends Serializable
  92. object NodeDaemonEndpoints extends Serializable
  93. object NodeList extends Serializable
  94. object NodeSelector extends Serializable
  95. object NodeSelectorRequirement extends Serializable
  96. object NodeSelectorTerm extends Serializable
  97. object NodeSpec extends Serializable
  98. object NodeStatus extends Serializable
  99. object NodeSystemInfo extends Serializable
  100. object ObjectFieldSelector extends Serializable
  101. object ObjectReference extends Serializable
  102. object PersistentVolume extends Serializable
  103. object PersistentVolumeClaim extends Serializable
  104. object PersistentVolumeClaimCondition extends Serializable
  105. object PersistentVolumeClaimList extends Serializable
  106. object PersistentVolumeClaimSpec extends Serializable
  107. object PersistentVolumeClaimStatus extends Serializable
  108. object PersistentVolumeClaimTemplate extends Serializable
  109. object PersistentVolumeClaimVolumeSource extends Serializable
  110. object PersistentVolumeList extends Serializable
  111. object PersistentVolumeSpec extends Serializable
  112. object PersistentVolumeStatus extends Serializable
  113. object PhotonPersistentDiskVolumeSource extends Serializable
  114. object Pod extends Serializable
  115. object PodAffinity extends Serializable
  116. object PodAffinityTerm extends Serializable
  117. object PodAntiAffinity extends Serializable
  118. object PodCondition extends Serializable
  119. object PodDNSConfig extends Serializable
  120. object PodDNSConfigOption extends Serializable
  121. object PodIP extends Serializable
  122. object PodList extends Serializable
  123. object PodOS extends Serializable
  124. object PodReadinessGate extends Serializable
  125. object PodSecurityContext extends Serializable
  126. object PodSpec extends Serializable
  127. object PodStatus extends Serializable
  128. object PodTemplate extends Serializable
  129. object PodTemplateList extends Serializable
  130. object PodTemplateSpec extends Serializable
  131. object PortStatus extends Serializable
  132. object PortworxVolumeSource extends Serializable
  133. object PreferredSchedulingTerm extends Serializable
  134. object Probe extends Serializable
  135. object ProjectedVolumeSource extends Serializable
  136. object QuobyteVolumeSource extends Serializable
  137. object RBDPersistentVolumeSource extends Serializable
  138. object RBDVolumeSource extends Serializable
  139. object ReplicationController extends Serializable
  140. object ReplicationControllerCondition extends Serializable
  141. object ReplicationControllerList extends Serializable
  142. object ReplicationControllerSpec extends Serializable
  143. object ReplicationControllerStatus extends Serializable
  144. object ResourceFieldSelector extends Serializable
  145. object ResourceQuota extends Serializable
  146. object ResourceQuotaList extends Serializable
  147. object ResourceQuotaSpec extends Serializable
  148. object ResourceQuotaStatus extends Serializable
  149. object ResourceRequirements extends Serializable
  150. object SELinuxOptions extends Serializable
  151. object ScaleIOPersistentVolumeSource extends Serializable
  152. object ScaleIOVolumeSource extends Serializable
  153. object ScopeSelector extends Serializable
  154. object ScopedResourceSelectorRequirement extends Serializable
  155. object SeccompProfile extends Serializable
  156. object Secret extends Serializable
  157. object SecretEnvSource extends Serializable
  158. object SecretKeySelector extends Serializable
  159. object SecretList extends Serializable
  160. object SecretProjection extends Serializable
  161. object SecretReference extends Serializable
  162. object SecretVolumeSource extends Serializable
  163. object SecurityContext extends Serializable
  164. object Service extends Serializable
  165. object ServiceAccount extends Serializable
  166. object ServiceAccountList extends Serializable
  167. object ServiceAccountTokenProjection extends Serializable
  168. object ServiceList extends Serializable
  169. object ServicePort extends Serializable
  170. object ServiceSpec extends Serializable
  171. object ServiceStatus extends Serializable
  172. object SessionAffinityConfig extends Serializable
  173. object StorageOSPersistentVolumeSource extends Serializable
  174. object StorageOSVolumeSource extends Serializable
  175. object Sysctl extends Serializable
  176. object TCPSocketAction extends Serializable
  177. object Taint extends Serializable
  178. object Toleration extends Serializable
  179. object TopologySelectorLabelRequirement extends Serializable
  180. object TopologySelectorTerm extends Serializable
  181. object TopologySpreadConstraint extends Serializable
  182. object TypedLocalObjectReference extends Serializable
  183. object Volume extends Serializable
  184. object VolumeDevice extends Serializable
  185. object VolumeMount extends Serializable
  186. object VolumeNodeAffinity extends Serializable
  187. object VolumeProjection extends Serializable
  188. object VsphereVirtualDiskVolumeSource extends Serializable
  189. object WeightedPodAffinityTerm extends Serializable
  190. object WindowsSecurityContextOptions extends Serializable

Ungrouped