io.k8s.api.core.v1

Type members

Classlikes

final case class AWSElasticBlockStoreVolumeSource(volumeID: String, fsType: Option[String], partition: Option[Int], readOnly: Option[Boolean])

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.

Source:
AWSElasticBlockStoreVolumeSource.scala
final case class Affinity(nodeAffinity: Option[NodeAffinity], podAffinity: Option[PodAffinity], podAntiAffinity: Option[PodAntiAffinity])

Affinity is a group of affinity scheduling rules.

Affinity is a group of affinity scheduling rules.

Source:
Affinity.scala
final case class AttachedVolume(devicePath: String, name: String)

AttachedVolume describes a volume attached to a node

AttachedVolume describes a volume attached to a node

Source:
AttachedVolume.scala
final case class AzureDiskVolumeSource(diskURI: String, diskName: String, readOnly: Option[Boolean], fsType: Option[String], cachingMode: Option[String])

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.

Source:
AzureDiskVolumeSource.scala
final case class AzureFilePersistentVolumeSource(secretName: String, shareName: String, readOnly: Option[Boolean], secretNamespace: Option[String])

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.

Source:
AzureFilePersistentVolumeSource.scala
final case class AzureFileVolumeSource(secretName: String, shareName: String, readOnly: Option[Boolean])

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.

Source:
AzureFileVolumeSource.scala
final case class Binding(target: ObjectReference, metadata: Option[ObjectMeta]) extends KObject

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.

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.

Source:
Binding.scala
final case class CSIPersistentVolumeSource(volumeHandle: String, driver: String, nodeStageSecretRef: Option[SecretReference], readOnly: Option[Boolean], fsType: Option[String], controllerPublishSecretRef: Option[SecretReference], volumeAttributes: Option[Map[String, String]], controllerExpandSecretRef: Option[SecretReference], nodeExpandSecretRef: Option[SecretReference], nodePublishSecretRef: Option[SecretReference])

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)

Source:
CSIPersistentVolumeSource.scala
final case class CSIVolumeSource(driver: String, readOnly: Option[Boolean], fsType: Option[String], volumeAttributes: Option[Map[String, String]], nodePublishSecretRef: Option[LocalObjectReference])

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

Source:
CSIVolumeSource.scala
final case class Capabilities(add: Option[Seq[String]], drop: Option[Seq[String]])

Adds and removes POSIX capabilities from running containers.

Adds and removes POSIX capabilities from running containers.

Source:
Capabilities.scala
final case class CephFSPersistentVolumeSource(monitors: Seq[String], path: Option[String], readOnly: Option[Boolean], secretRef: Option[SecretReference], secretFile: Option[String], user: Option[String])

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.

Source:
CephFSPersistentVolumeSource.scala
final case class CephFSVolumeSource(monitors: Seq[String], path: Option[String], readOnly: Option[Boolean], secretRef: Option[LocalObjectReference], secretFile: Option[String], user: Option[String])

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.

Source:
CephFSVolumeSource.scala
final case class CinderPersistentVolumeSource(volumeID: String, fsType: Option[String], readOnly: Option[Boolean], secretRef: Option[SecretReference])

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.

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.

Source:
CinderPersistentVolumeSource.scala
final case class CinderVolumeSource(volumeID: String, fsType: Option[String], readOnly: Option[Boolean], secretRef: Option[LocalObjectReference])

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.

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.

Source:
CinderVolumeSource.scala
final case class ClientIPConfig(timeoutSeconds: Option[Int])

ClientIPConfig represents the configurations of Client IP based session affinity.

ClientIPConfig represents the configurations of Client IP based session affinity.

Source:
ClientIPConfig.scala
final case class ComponentCondition(status: String, `type`: String, error: Option[String], message: Option[String])

Information about the condition of a component.

Information about the condition of a component.

Source:
ComponentCondition.scala
final case class ComponentStatus(conditions: Option[Seq[ComponentCondition]], metadata: Option[ObjectMeta]) extends KObject

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

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

Source:
ComponentStatus.scala
final case class ComponentStatusList(items: Seq[ComponentStatus], metadata: Option[ListMeta]) extends KObject

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

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

Source:
ComponentStatusList.scala
final case class ConfigMap(data: Option[Map[String, String]], immutable: Option[Boolean], binaryData: Option[Map[String, String]], metadata: Option[ObjectMeta]) extends KObject

ConfigMap holds configuration data for pods to consume.

ConfigMap holds configuration data for pods to consume.

Source:
ConfigMap.scala
final case class ConfigMapEnvSource(name: Option[String], optional: Option[Boolean])

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.

Source:
ConfigMapEnvSource.scala
final case class ConfigMapKeySelector(key: String, name: Option[String], optional: Option[Boolean])

Selects a key from a ConfigMap.

Selects a key from a ConfigMap.

Source:
ConfigMapKeySelector.scala
final case class ConfigMapList(items: Seq[ConfigMap], metadata: Option[ListMeta]) extends KObject

ConfigMapList is a resource containing a list of ConfigMap objects.

ConfigMapList is a resource containing a list of ConfigMap objects.

Source:
ConfigMapList.scala
final case class ConfigMapNodeConfigSource(name: String, kubeletConfigKey: String, namespace: String, resourceVersion: Option[String], uid: Option[String])

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

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

Source:
ConfigMapNodeConfigSource.scala
final case class ConfigMapProjection(items: Option[Seq[KeyToPath]], name: Option[String], optional: Option[Boolean])

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.

Source:
ConfigMapProjection.scala
final case class ConfigMapVolumeSource(defaultMode: Option[Int], items: Option[Seq[KeyToPath]], name: Option[String], optional: Option[Boolean])

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.

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

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

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

Source:
Container.scala
final case class ContainerImage(names: Option[Seq[String]], sizeBytes: Option[Int])

Describe a container image

Describe a container image

Source:
ContainerImage.scala
final case class ContainerPort(containerPort: Int, name: Option[String], hostPort: Option[Int], hostIP: Option[String], protocol: Option[String])

ContainerPort represents a network port in a single container.

ContainerPort represents a network port in a single container.

Source:
ContainerPort.scala

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.

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.

Source:
ContainerState.scala
final case class ContainerStateRunning(startedAt: Option[Time])

ContainerStateRunning is a running state of a container.

ContainerStateRunning is a running state of a container.

Source:
ContainerStateRunning.scala
final case class ContainerStateTerminated(exitCode: Int, reason: Option[String], startedAt: Option[Time], message: Option[String], finishedAt: Option[Time], containerID: Option[String], signal: Option[Int])

ContainerStateTerminated is a terminated state of a container.

ContainerStateTerminated is a terminated state of a container.

Source:
ContainerStateTerminated.scala
final case class ContainerStateWaiting(message: Option[String], reason: Option[String])

ContainerStateWaiting is a waiting state of a container.

ContainerStateWaiting is a waiting state of a container.

Source:
ContainerStateWaiting.scala
final case class ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState], lastState: Option[ContainerState], containerID: Option[String], started: Option[Boolean])

ContainerStatus contains details for the current status of this container.

ContainerStatus contains details for the current status of this container.

Source:
ContainerStatus.scala
final case class DaemonEndpoint(Port: Int)

DaemonEndpoint contains information about a single Daemon endpoint.

DaemonEndpoint contains information about a single Daemon endpoint.

Source:
DaemonEndpoint.scala

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

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

Source:
DownwardAPIProjection.scala
final case class DownwardAPIVolumeFile(path: String, fieldRef: Option[ObjectFieldSelector], mode: Option[Int], resourceFieldRef: Option[ResourceFieldSelector])

DownwardAPIVolumeFile represents information to create the file containing the pod field

DownwardAPIVolumeFile represents information to create the file containing the pod field

Source:
DownwardAPIVolumeFile.scala
final case class DownwardAPIVolumeSource(defaultMode: Option[Int], items: Option[Seq[DownwardAPIVolumeFile]])

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

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

Source:
DownwardAPIVolumeSource.scala
final case class EmptyDirVolumeSource(medium: Option[String], sizeLimit: Option[Quantity])

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

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

Source:
EmptyDirVolumeSource.scala
final case class EndpointAddress(ip: String, hostname: Option[String], nodeName: Option[String], targetRef: Option[ObjectReference])

EndpointAddress is a tuple that describes single IP address.

EndpointAddress is a tuple that describes single IP address.

Source:
EndpointAddress.scala
final case class EndpointPort(port: Int, appProtocol: Option[String], name: Option[String], protocol: Option[String])

EndpointPort is a tuple that describes a single port.

EndpointPort is a tuple that describes a single port.

Source:
EndpointPort.scala
final case class EndpointSubset(addresses: Option[Seq[EndpointAddress]], notReadyAddresses: Option[Seq[EndpointAddress]], ports: Option[Seq[EndpointPort]])

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:

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 ]
Source:
EndpointSubset.scala
final case class Endpoints(metadata: Option[ObjectMeta], subsets: Option[Seq[EndpointSubset]]) extends KObject

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

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}]
   },
]
Source:
Endpoints.scala
final case class EndpointsList(items: Seq[Endpoints], metadata: Option[ListMeta]) extends KObject

EndpointsList is a list of endpoints.

EndpointsList is a list of endpoints.

Source:
EndpointsList.scala
final case class EnvFromSource(configMapRef: Option[ConfigMapEnvSource], prefix: Option[String], secretRef: Option[SecretEnvSource])

EnvFromSource represents the source of a set of ConfigMaps

EnvFromSource represents the source of a set of ConfigMaps

Source:
EnvFromSource.scala
final case class EnvVar(name: String, value: Option[String], valueFrom: Option[EnvVarSource])

EnvVar represents an environment variable present in a Container.

EnvVar represents an environment variable present in a Container.

Source:
EnvVar.scala
final case class EnvVarSource(configMapKeyRef: Option[ConfigMapKeySelector], fieldRef: Option[ObjectFieldSelector], resourceFieldRef: Option[ResourceFieldSelector], secretKeyRef: Option[SecretKeySelector])

EnvVarSource represents a source for the value of an EnvVar.

EnvVarSource represents a source for the value of an EnvVar.

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

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.

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.

Source:
EphemeralContainer.scala
final case class EphemeralVolumeSource(volumeClaimTemplate: Option[PersistentVolumeClaimTemplate])

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

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

Source:
EphemeralVolumeSource.scala
final case class Event(involvedObject: ObjectReference, metadata: ObjectMeta, series: Option[EventSeries], count: Option[Int], source: Option[EventSource], reportingComponent: Option[String], reason: Option[String], related: Option[ObjectReference], eventTime: Option[MicroTime], lastTimestamp: Option[Time], message: Option[String], firstTimestamp: Option[Time], `type`: Option[String], reportingInstance: Option[String], action: Option[String]) extends KObject

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.

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.

Source:
Event.scala
final case class EventList(items: Seq[Event], metadata: Option[ListMeta]) extends KObject

EventList is a list of events.

EventList is a list of events.

Source:
EventList.scala
final case class EventSeries(count: Option[Int], lastObservedTime: Option[MicroTime])

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

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

Source:
EventSeries.scala
final case class EventSource(component: Option[String], host: Option[String])

EventSource contains information for an event.

EventSource contains information for an event.

Source:
EventSource.scala
final case class ExecAction(command: Option[Seq[String]])

ExecAction describes a "run in container" action.

ExecAction describes a "run in container" action.

Source:
ExecAction.scala
final case class FCVolumeSource(targetWWNs: Option[Seq[String]], readOnly: Option[Boolean], fsType: Option[String], wwids: Option[Seq[String]], lun: Option[Int])

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.

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.

Source:
FCVolumeSource.scala
final case class FlexPersistentVolumeSource(driver: String, readOnly: Option[Boolean], fsType: Option[String], secretRef: Option[SecretReference], options: Option[Map[String, String]])

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.

Source:
FlexPersistentVolumeSource.scala
final case class FlexVolumeSource(driver: String, readOnly: Option[Boolean], fsType: Option[String], secretRef: Option[LocalObjectReference], options: Option[Map[String, String]])

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.

Source:
FlexVolumeSource.scala
final case class FlockerVolumeSource(datasetName: Option[String], datasetUUID: Option[String])

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.

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.

Source:
FlockerVolumeSource.scala
final case class GCEPersistentDiskVolumeSource(pdName: String, fsType: Option[String], partition: Option[Int], readOnly: Option[Boolean])

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.

Source:
GCEPersistentDiskVolumeSource.scala
final case class GRPCAction(port: Int, service: Option[String])
final case class GitRepoVolumeSource(repository: String, directory: Option[String], revision: Option[String])

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.

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.

Source:
GitRepoVolumeSource.scala
final case class GlusterfsPersistentVolumeSource(endpoints: String, path: String, endpointsNamespace: Option[String], readOnly: Option[Boolean])

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

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

Source:
GlusterfsPersistentVolumeSource.scala
final case class GlusterfsVolumeSource(endpoints: String, path: String, readOnly: Option[Boolean])

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

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

Source:
GlusterfsVolumeSource.scala
final case class HTTPGetAction(port: IntOrString, path: Option[String], host: Option[String], scheme: Option[String], httpHeaders: Option[Seq[HTTPHeader]])

HTTPGetAction describes an action based on HTTP Get requests.

HTTPGetAction describes an action based on HTTP Get requests.

Source:
HTTPGetAction.scala
final case class HTTPHeader(name: String, value: String)

HTTPHeader describes a custom header to be used in HTTP probes

HTTPHeader describes a custom header to be used in HTTP probes

Source:
HTTPHeader.scala
final case class HostAlias(hostnames: Option[Seq[String]], ip: Option[String])

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.

Source:
HostAlias.scala
final case class HostPathVolumeSource(path: String, `type`: Option[String])

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

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

Source:
HostPathVolumeSource.scala
final case class ISCSIPersistentVolumeSource(iqn: String, targetPortal: String, lun: Int, portals: Option[Seq[String]], readOnly: Option[Boolean], chapAuthDiscovery: Option[Boolean], fsType: Option[String], secretRef: Option[SecretReference], initiatorName: Option[String], iscsiInterface: Option[String], chapAuthSession: Option[Boolean])

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

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

Source:
ISCSIPersistentVolumeSource.scala
final case class ISCSIVolumeSource(iqn: String, targetPortal: String, lun: Int, portals: Option[Seq[String]], readOnly: Option[Boolean], chapAuthDiscovery: Option[Boolean], fsType: Option[String], secretRef: Option[LocalObjectReference], initiatorName: Option[String], iscsiInterface: Option[String], chapAuthSession: Option[Boolean])

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

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

Source:
ISCSIVolumeSource.scala
final case class KeyToPath(key: String, path: String, mode: Option[Int])

Maps a string key to a path within a volume.

Maps a string key to a path within a volume.

Source:
KeyToPath.scala
final case class Lifecycle(postStart: Option[LifecycleHandler], preStop: Option[LifecycleHandler])

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.

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.

Source:
Lifecycle.scala
final case class LifecycleHandler(exec: Option[ExecAction], httpGet: Option[HTTPGetAction], tcpSocket: Option[TCPSocketAction])

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.

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.

Source:
LifecycleHandler.scala
final case class LimitRange(metadata: Option[ObjectMeta], spec: Option[LimitRangeSpec]) extends KObject

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.

Source:
LimitRange.scala
final case class LimitRangeItem(`type`: String, defaultRequest: Option[Map[String, Quantity]], min: Option[Map[String, Quantity]], maxLimitRequestRatio: Option[Map[String, Quantity]], max: Option[Map[String, Quantity]], default: Option[Map[String, Quantity]])

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.

Source:
LimitRangeItem.scala
final case class LimitRangeList(items: Seq[LimitRange], metadata: Option[ListMeta]) extends KObject

LimitRangeList is a list of LimitRange items.

LimitRangeList is a list of LimitRange items.

Source:
LimitRangeList.scala
final case class LimitRangeSpec(limits: Seq[LimitRangeItem])

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.

Source:
LimitRangeSpec.scala
final case class LoadBalancerIngress(hostname: Option[String], ip: Option[String], ports: Option[Seq[PortStatus]])

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.

Source:
LoadBalancerIngress.scala
final case class LoadBalancerStatus(ingress: Option[Seq[LoadBalancerIngress]])

LoadBalancerStatus represents the status of a load-balancer.

LoadBalancerStatus represents the status of a load-balancer.

Source:
LoadBalancerStatus.scala
final case class LocalObjectReference(name: Option[String])

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.

Source:
LocalObjectReference.scala
final case class LocalVolumeSource(path: String, fsType: Option[String])

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

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

Source:
LocalVolumeSource.scala
final case class NFSVolumeSource(path: String, server: String, readOnly: Option[Boolean])

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

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

Source:
NFSVolumeSource.scala
final case class Namespace(status: Option[NamespaceStatus], spec: Option[NamespaceSpec], metadata: Option[ObjectMeta]) extends KObject

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

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

Source:
Namespace.scala
final case class NamespaceCondition(status: String, `type`: String, reason: Option[String], lastTransitionTime: Option[Time], message: Option[String])

NamespaceCondition contains details about state of namespace.

NamespaceCondition contains details about state of namespace.

Source:
NamespaceCondition.scala
final case class NamespaceList(items: Seq[Namespace], metadata: Option[ListMeta]) extends KObject

NamespaceList is a list of Namespaces.

NamespaceList is a list of Namespaces.

Source:
NamespaceList.scala
final case class NamespaceSpec(finalizers: Option[Seq[String]])

NamespaceSpec describes the attributes on a Namespace.

NamespaceSpec describes the attributes on a Namespace.

Source:
NamespaceSpec.scala
final case class NamespaceStatus(conditions: Option[Seq[NamespaceCondition]], phase: Option[String])

NamespaceStatus is information about the current status of a Namespace.

NamespaceStatus is information about the current status of a Namespace.

Source:
NamespaceStatus.scala
final case class Node(status: Option[NodeStatus], spec: Option[NodeSpec], metadata: Option[ObjectMeta]) extends KObject

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

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

Source:
Node.scala
final case class NodeAddress(address: String, `type`: String)

NodeAddress contains information for the node's address.

NodeAddress contains information for the node's address.

Source:
NodeAddress.scala
final case class NodeAffinity(preferredDuringSchedulingIgnoredDuringExecution: Option[Seq[PreferredSchedulingTerm]], requiredDuringSchedulingIgnoredDuringExecution: Option[NodeSelector])

Node affinity is a group of node affinity scheduling rules.

Node affinity is a group of node affinity scheduling rules.

Source:
NodeAffinity.scala
final case class NodeCondition(status: String, `type`: String, reason: Option[String], lastTransitionTime: Option[Time], message: Option[String], lastHeartbeatTime: Option[Time])

NodeCondition contains condition information for a node.

NodeCondition contains condition information for a node.

Source:
NodeCondition.scala
final case class NodeConfigSource(configMap: Option[ConfigMapNodeConfigSource])

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

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

Source:
NodeConfigSource.scala
final case class NodeConfigStatus(active: Option[NodeConfigSource], assigned: Option[NodeConfigSource], error: Option[String], lastKnownGood: Option[NodeConfigSource])

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

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

Source:
NodeConfigStatus.scala
final case class NodeDaemonEndpoints(kubeletEndpoint: Option[DaemonEndpoint])

NodeDaemonEndpoints lists ports opened by daemons running on the Node.

NodeDaemonEndpoints lists ports opened by daemons running on the Node.

Source:
NodeDaemonEndpoints.scala
final case class NodeList(items: Seq[Node], metadata: Option[ListMeta]) extends KObject

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.

Source:
NodeList.scala
final case class NodeSelector(nodeSelectorTerms: Seq[NodeSelectorTerm])

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.

Source:
NodeSelector.scala
final case class NodeSelectorRequirement(key: String, operator: String, values: Option[Seq[String]])

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.

Source:
NodeSelectorRequirement.scala
final case class NodeSelectorTerm(matchExpressions: Option[Seq[NodeSelectorRequirement]], matchFields: Option[Seq[NodeSelectorRequirement]])

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.

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.

Source:
NodeSelectorTerm.scala
final case class NodeSpec(externalID: Option[String], taints: Option[Seq[Taint]], configSource: Option[NodeConfigSource], unschedulable: Option[Boolean], podCIDR: Option[String], providerID: Option[String], podCIDRs: Option[Seq[String]])

NodeSpec describes the attributes that a node is created with.

NodeSpec describes the attributes that a node is created with.

Source:
NodeSpec.scala
final case class NodeStatus(volumesInUse: Option[Seq[String]], conditions: Option[Seq[NodeCondition]], nodeInfo: Option[NodeSystemInfo], volumesAttached: Option[Seq[AttachedVolume]], phase: Option[String], config: Option[NodeConfigStatus], allocatable: Option[Map[String, Quantity]], images: Option[Seq[ContainerImage]], daemonEndpoints: Option[NodeDaemonEndpoints], addresses: Option[Seq[NodeAddress]], capacity: Option[Map[String, Quantity]])

NodeStatus is information about the current status of a node.

NodeStatus is information about the current status of a node.

Source:
NodeStatus.scala
final case class NodeSystemInfo(systemUUID: String, osImage: String, machineID: String, bootID: String, architecture: String, kubeletVersion: String, operatingSystem: String, kubeProxyVersion: String, containerRuntimeVersion: String, kernelVersion: String)

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

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

Source:
NodeSystemInfo.scala
final case class ObjectFieldSelector(fieldPath: String)

ObjectFieldSelector selects an APIVersioned field of an object.

ObjectFieldSelector selects an APIVersioned field of an object.

Source:
ObjectFieldSelector.scala
final case class ObjectReference(fieldPath: Option[String], name: Option[String], resourceVersion: Option[String], uid: Option[String], namespace: Option[String])

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.

Source:
ObjectReference.scala
final case class PersistentVolume(status: Option[PersistentVolumeStatus], spec: Option[PersistentVolumeSpec], metadata: Option[ObjectMeta]) extends KObject

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

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

Source:
PersistentVolume.scala

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

Source:
PersistentVolumeClaim.scala
final case class PersistentVolumeClaimCondition(status: String, `type`: String, lastProbeTime: Option[Time], reason: Option[String], lastTransitionTime: Option[Time], message: Option[String])

PersistentVolumeClaimCondition contails details about state of pvc

PersistentVolumeClaimCondition contails details about state of pvc

Source:
PersistentVolumeClaimCondition.scala
final case class PersistentVolumeClaimList(items: Seq[PersistentVolumeClaim], metadata: Option[ListMeta]) extends KObject

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

Source:
PersistentVolumeClaimList.scala
final case class PersistentVolumeClaimSpec(accessModes: Option[Seq[String]], volumeMode: Option[String], dataSourceRef: Option[TypedLocalObjectReference], storageClassName: Option[String], dataSource: Option[TypedLocalObjectReference], volumeName: Option[String], resources: Option[ResourceRequirements], selector: Option[LabelSelector])

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

Source:
PersistentVolumeClaimSpec.scala
final case class PersistentVolumeClaimStatus(conditions: Option[Seq[PersistentVolumeClaimCondition]], accessModes: Option[Seq[String]], phase: Option[String], resizeStatus: Option[String], allocatedResources: Option[Map[String, Quantity]], capacity: Option[Map[String, Quantity]])

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

Source:
PersistentVolumeClaimStatus.scala

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

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

Source:
PersistentVolumeClaimTemplate.scala
final case class PersistentVolumeClaimVolumeSource(claimName: String, readOnly: Option[Boolean])

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

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

Source:
PersistentVolumeClaimVolumeSource.scala
final case class PersistentVolumeList(items: Seq[PersistentVolume], metadata: Option[ListMeta]) extends KObject

PersistentVolumeList is a list of PersistentVolume items.

PersistentVolumeList is a list of PersistentVolume items.

Source:
PersistentVolumeList.scala

PersistentVolumeSpec is the specification of a persistent volume.

PersistentVolumeSpec is the specification of a persistent volume.

Source:
PersistentVolumeSpec.scala
final case class PersistentVolumeStatus(message: Option[String], phase: Option[String], reason: Option[String])

PersistentVolumeStatus is the current status of a persistent volume.

PersistentVolumeStatus is the current status of a persistent volume.

Source:
PersistentVolumeStatus.scala
final case class PhotonPersistentDiskVolumeSource(pdID: String, fsType: Option[String])

Represents a Photon Controller persistent disk resource.

Represents a Photon Controller persistent disk resource.

Source:
PhotonPersistentDiskVolumeSource.scala
final case class Pod(status: Option[PodStatus], spec: Option[PodSpec], metadata: Option[ObjectMeta]) extends KObject

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

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

Source:
Pod.scala
final case class PodAffinity(preferredDuringSchedulingIgnoredDuringExecution: Option[Seq[WeightedPodAffinityTerm]], requiredDuringSchedulingIgnoredDuringExecution: Option[Seq[PodAffinityTerm]])

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

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

Source:
PodAffinity.scala
final case class PodAffinityTerm(topologyKey: String, labelSelector: Option[LabelSelector], namespaceSelector: Option[LabelSelector], namespaces: Option[Seq[String]])

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 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 matches that of any node on which a pod of the set of pods is running

Source:
PodAffinityTerm.scala
final case class PodAntiAffinity(preferredDuringSchedulingIgnoredDuringExecution: Option[Seq[WeightedPodAffinityTerm]], requiredDuringSchedulingIgnoredDuringExecution: Option[Seq[PodAffinityTerm]])

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.

Source:
PodAntiAffinity.scala
final case class PodCondition(status: String, `type`: String, lastProbeTime: Option[Time], reason: Option[String], lastTransitionTime: Option[Time], message: Option[String])

PodCondition contains details for the current condition of this pod.

PodCondition contains details for the current condition of this pod.

Source:
PodCondition.scala
final case class PodDNSConfig(nameservers: Option[Seq[String]], options: Option[Seq[PodDNSConfigOption]], searches: Option[Seq[String]])

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.

Source:
PodDNSConfig.scala
final case class PodDNSConfigOption(name: Option[String], value: Option[String])

PodDNSConfigOption defines DNS resolver options of a pod.

PodDNSConfigOption defines DNS resolver options of a pod.

Source:
PodDNSConfigOption.scala
final case class PodIP(ip: Option[String])

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

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.
Source:
PodIP.scala
final case class PodList(items: Seq[Pod], metadata: Option[ListMeta]) extends KObject

PodList is a list of Pods.

PodList is a list of Pods.

Source:
PodList.scala
final case class PodOS(name: String)

PodOS defines the OS parameters of a pod.

PodOS defines the OS parameters of a pod.

Source:
PodOS.scala
final case class PodReadinessGate(conditionType: String)

PodReadinessGate contains the reference to a pod condition

PodReadinessGate contains the reference to a pod condition

Source:
PodReadinessGate.scala
final case class PodSecurityContext(fsGroupChangePolicy: Option[String], sysctls: Option[Seq[Sysctl]], fsGroup: Option[Int], supplementalGroups: Option[Seq[Int]], runAsGroup: Option[Int], seccompProfile: Option[SeccompProfile], windowsOptions: Option[WindowsSecurityContextOptions], seLinuxOptions: Option[SELinuxOptions], runAsUser: Option[Int], runAsNonRoot: Option[Boolean])

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.

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.

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

PodSpec is a description of a pod.

PodSpec is a description of a pod.

Source:
PodSpec.scala
final case class PodStatus(conditions: Option[Seq[PodCondition]], qosClass: Option[String], startTime: Option[Time], phase: Option[String], reason: Option[String], ephemeralContainerStatuses: Option[Seq[ContainerStatus]], hostIP: Option[String], message: Option[String], containerStatuses: Option[Seq[ContainerStatus]], podIP: Option[String], nominatedNodeName: Option[String], podIPs: Option[Seq[PodIP]], initContainerStatuses: Option[Seq[ContainerStatus]])

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.

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.

Source:
PodStatus.scala
final case class PodTemplate(metadata: Option[ObjectMeta], template: Option[PodTemplateSpec]) extends KObject

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

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

Source:
PodTemplate.scala
final case class PodTemplateList(items: Seq[PodTemplate], metadata: Option[ListMeta]) extends KObject

PodTemplateList is a list of PodTemplates.

PodTemplateList is a list of PodTemplates.

Source:
PodTemplateList.scala
final case class PodTemplateSpec(metadata: Option[ObjectMeta], spec: Option[PodSpec])

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

Source:
PodTemplateSpec.scala
final case class PortStatus(port: Int, protocol: String, error: Option[String])
final case class PortworxVolumeSource(volumeID: String, fsType: Option[String], readOnly: Option[Boolean])

PortworxVolumeSource represents a Portworx volume resource.

PortworxVolumeSource represents a Portworx volume resource.

Source:
PortworxVolumeSource.scala
final case class PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int)

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

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

Source:
PreferredSchedulingTerm.scala
final case class Probe(timeoutSeconds: Option[Int], grpc: Option[GRPCAction], tcpSocket: Option[TCPSocketAction], initialDelaySeconds: Option[Int], failureThreshold: Option[Int], httpGet: Option[HTTPGetAction], terminationGracePeriodSeconds: Option[Int], exec: Option[ExecAction], periodSeconds: Option[Int], successThreshold: Option[Int])

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.

Source:
Probe.scala
final case class ProjectedVolumeSource(defaultMode: Option[Int], sources: Option[Seq[VolumeProjection]])

Represents a projected volume source

Represents a projected volume source

Source:
ProjectedVolumeSource.scala
final case class QuobyteVolumeSource(registry: String, volume: String, readOnly: Option[Boolean], tenant: Option[String], group: Option[String], user: Option[String])

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

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

Source:
QuobyteVolumeSource.scala
final case class RBDPersistentVolumeSource(image: String, monitors: Seq[String], readOnly: Option[Boolean], fsType: Option[String], secretRef: Option[SecretReference], pool: Option[String], keyring: Option[String], user: Option[String])

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

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

Source:
RBDPersistentVolumeSource.scala
final case class RBDVolumeSource(image: String, monitors: Seq[String], readOnly: Option[Boolean], fsType: Option[String], secretRef: Option[LocalObjectReference], pool: Option[String], keyring: Option[String], user: Option[String])

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

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

Source:
RBDVolumeSource.scala

ReplicationController represents the configuration of a replication controller.

ReplicationController represents the configuration of a replication controller.

Source:
ReplicationController.scala
final case class ReplicationControllerCondition(status: String, `type`: String, reason: Option[String], lastTransitionTime: Option[Time], message: Option[String])

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

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

Source:
ReplicationControllerCondition.scala
final case class ReplicationControllerList(items: Seq[ReplicationController], metadata: Option[ListMeta]) extends KObject

ReplicationControllerList is a collection of replication controllers.

ReplicationControllerList is a collection of replication controllers.

Source:
ReplicationControllerList.scala
final case class ReplicationControllerSpec(minReadySeconds: Option[Int], replicas: Option[Int], selector: Option[Map[String, String]], template: Option[PodTemplateSpec])

ReplicationControllerSpec is the specification of a replication controller.

ReplicationControllerSpec is the specification of a replication controller.

Source:
ReplicationControllerSpec.scala
final case class ReplicationControllerStatus(replicas: Int, conditions: Option[Seq[ReplicationControllerCondition]], availableReplicas: Option[Int], observedGeneration: Option[Int], readyReplicas: Option[Int], fullyLabeledReplicas: Option[Int])

ReplicationControllerStatus represents the current status of a replication controller.

ReplicationControllerStatus represents the current status of a replication controller.

Source:
ReplicationControllerStatus.scala
final case class ResourceFieldSelector(resource: String, containerName: Option[String], divisor: Option[Quantity])

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

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

Source:
ResourceFieldSelector.scala
final case class ResourceQuota(status: Option[ResourceQuotaStatus], spec: Option[ResourceQuotaSpec], metadata: Option[ObjectMeta]) extends KObject

ResourceQuota sets aggregate quota restrictions enforced per namespace

ResourceQuota sets aggregate quota restrictions enforced per namespace

Source:
ResourceQuota.scala
final case class ResourceQuotaList(items: Seq[ResourceQuota], metadata: Option[ListMeta]) extends KObject

ResourceQuotaList is a list of ResourceQuota items.

ResourceQuotaList is a list of ResourceQuota items.

Source:
ResourceQuotaList.scala
final case class ResourceQuotaSpec(hard: Option[Map[String, Quantity]], scopeSelector: Option[ScopeSelector], scopes: Option[Seq[String]])

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Source:
ResourceQuotaSpec.scala
final case class ResourceQuotaStatus(hard: Option[Map[String, Quantity]], used: Option[Map[String, Quantity]])

ResourceQuotaStatus defines the enforced hard limits and observed use.

ResourceQuotaStatus defines the enforced hard limits and observed use.

Source:
ResourceQuotaStatus.scala
final case class ResourceRequirements(limits: Option[Map[String, Quantity]], requests: Option[Map[String, Quantity]])

ResourceRequirements describes the compute resource requirements.

ResourceRequirements describes the compute resource requirements.

Source:
ResourceRequirements.scala
final case class SELinuxOptions(level: Option[String], role: Option[String], `type`: Option[String], user: Option[String])

SELinuxOptions are the labels to be applied to the container

SELinuxOptions are the labels to be applied to the container

Source:
SELinuxOptions.scala
final case class ScaleIOPersistentVolumeSource(system: String, secretRef: SecretReference, gateway: String, readOnly: Option[Boolean], fsType: Option[String], storagePool: Option[String], protectionDomain: Option[String], volumeName: Option[String], sslEnabled: Option[Boolean], storageMode: Option[String])

ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

Source:
ScaleIOPersistentVolumeSource.scala
final case class ScaleIOVolumeSource(system: String, secretRef: LocalObjectReference, gateway: String, readOnly: Option[Boolean], fsType: Option[String], storagePool: Option[String], protectionDomain: Option[String], volumeName: Option[String], sslEnabled: Option[Boolean], storageMode: Option[String])

ScaleIOVolumeSource represents a persistent ScaleIO volume

ScaleIOVolumeSource represents a persistent ScaleIO volume

Source:
ScaleIOVolumeSource.scala
final case class ScopeSelector(matchExpressions: Option[Seq[ScopedResourceSelectorRequirement]])

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.

Source:
ScopeSelector.scala
final case class ScopedResourceSelectorRequirement(operator: String, scopeName: String, values: Option[Seq[String]])

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.

Source:
ScopedResourceSelectorRequirement.scala
final case class SeccompProfile(`type`: String, localhostProfile: Option[String])

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Source:
SeccompProfile.scala
final case class Secret(data: Option[Map[String, String]], immutable: Option[Boolean], metadata: Option[ObjectMeta], `type`: Option[String], stringData: Option[Map[String, String]]) extends KObject

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

Source:
Secret.scala
final case class SecretEnvSource(name: Option[String], optional: Option[Boolean])

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.

Source:
SecretEnvSource.scala
final case class SecretKeySelector(key: String, name: Option[String], optional: Option[Boolean])

SecretKeySelector selects a key of a Secret.

SecretKeySelector selects a key of a Secret.

Source:
SecretKeySelector.scala
final case class SecretList(items: Seq[Secret], metadata: Option[ListMeta]) extends KObject

SecretList is a list of Secret.

SecretList is a list of Secret.

Source:
SecretList.scala
final case class SecretProjection(items: Option[Seq[KeyToPath]], name: Option[String], optional: Option[Boolean])

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.

Source:
SecretProjection.scala
final case class SecretReference(name: Option[String], namespace: Option[String])

SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

Source:
SecretReference.scala
final case class SecretVolumeSource(defaultMode: Option[Int], items: Option[Seq[KeyToPath]], optional: Option[Boolean], secretName: Option[String])

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.

Source:
SecretVolumeSource.scala
final case class SecurityContext(capabilities: Option[Capabilities], readOnlyRootFilesystem: Option[Boolean], allowPrivilegeEscalation: Option[Boolean], procMount: Option[String], runAsGroup: Option[Int], seccompProfile: Option[SeccompProfile], windowsOptions: Option[WindowsSecurityContextOptions], seLinuxOptions: Option[SELinuxOptions], runAsUser: Option[Int], privileged: Option[Boolean], runAsNonRoot: Option[Boolean])

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.

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.

Source:
SecurityContext.scala
final case class Service(status: Option[ServiceStatus], spec: Option[ServiceSpec], metadata: Option[ObjectMeta]) extends KObject

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.

Source:
Service.scala
final case class ServiceAccount(imagePullSecrets: Option[Seq[LocalObjectReference]], secrets: Option[Seq[ObjectReference]], automountServiceAccountToken: Option[Boolean], metadata: Option[ObjectMeta]) extends KObject

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

Source:
ServiceAccount.scala
final case class ServiceAccountList(items: Seq[ServiceAccount], metadata: Option[ListMeta]) extends KObject

ServiceAccountList is a list of ServiceAccount objects

ServiceAccountList is a list of ServiceAccount objects

Source:
ServiceAccountList.scala
final case class ServiceAccountTokenProjection(path: String, audience: Option[String], expirationSeconds: Option[Int])

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

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

Source:
ServiceAccountTokenProjection.scala
final case class ServiceList(items: Seq[Service], metadata: Option[ListMeta]) extends KObject

ServiceList holds a list of services.

ServiceList holds a list of services.

Source:
ServiceList.scala
final case class ServicePort(port: Int, nodePort: Option[Int], name: Option[String], targetPort: Option[IntOrString], protocol: Option[String], appProtocol: Option[String])

ServicePort contains information on service's port.

ServicePort contains information on service's port.

Source:
ServicePort.scala
final case class ServiceSpec(sessionAffinityConfig: Option[SessionAffinityConfig], loadBalancerSourceRanges: Option[Seq[String]], sessionAffinity: Option[String], clusterIPs: Option[Seq[String]], externalTrafficPolicy: Option[String], loadBalancerIP: Option[String], clusterIP: Option[String], ports: Option[Seq[ServicePort]], healthCheckNodePort: Option[Int], allocateLoadBalancerNodePorts: Option[Boolean], externalIPs: Option[Seq[String]], ipFamilies: Option[Seq[String]], internalTrafficPolicy: Option[String], externalName: Option[String], ipFamilyPolicy: Option[String], `type`: Option[String], selector: Option[Map[String, String]], loadBalancerClass: Option[String], publishNotReadyAddresses: Option[Boolean])

ServiceSpec describes the attributes that a user creates on a service.

ServiceSpec describes the attributes that a user creates on a service.

Source:
ServiceSpec.scala
final case class ServiceStatus(conditions: Option[Seq[Condition]], loadBalancer: Option[LoadBalancerStatus])

ServiceStatus represents the current status of a service.

ServiceStatus represents the current status of a service.

Source:
ServiceStatus.scala
final case class SessionAffinityConfig(clientIP: Option[ClientIPConfig])

SessionAffinityConfig represents the configurations of session affinity.

SessionAffinityConfig represents the configurations of session affinity.

Source:
SessionAffinityConfig.scala
final case class StorageOSPersistentVolumeSource(volumeNamespace: Option[String], readOnly: Option[Boolean], fsType: Option[String], secretRef: Option[ObjectReference], volumeName: Option[String])

Represents a StorageOS persistent volume resource.

Represents a StorageOS persistent volume resource.

Source:
StorageOSPersistentVolumeSource.scala
final case class StorageOSVolumeSource(volumeNamespace: Option[String], readOnly: Option[Boolean], fsType: Option[String], secretRef: Option[LocalObjectReference], volumeName: Option[String])

Represents a StorageOS persistent volume resource.

Represents a StorageOS persistent volume resource.

Source:
StorageOSVolumeSource.scala
final case class Sysctl(name: String, value: String)

Sysctl defines a kernel parameter to be set

Sysctl defines a kernel parameter to be set

Source:
Sysctl.scala
final case class TCPSocketAction(port: IntOrString, host: Option[String])

TCPSocketAction describes an action based on opening a socket

TCPSocketAction describes an action based on opening a socket

Source:
TCPSocketAction.scala
final case class Taint(effect: String, key: String, timeAdded: Option[Time], value: Option[String])

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.

Source:
Taint.scala
final case class Toleration(effect: Option[String], key: Option[String], tolerationSeconds: Option[Int], operator: Option[String], value: Option[String])

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator .

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator .

Source:
Toleration.scala
final case class TopologySelectorLabelRequirement(key: String, values: Seq[String])

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

Source:
TopologySelectorLabelRequirement.scala
final case class TopologySelectorTerm(matchLabelExpressions: Option[Seq[TopologySelectorLabelRequirement]])

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.

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.

Source:
TopologySelectorTerm.scala
final case class TopologySpreadConstraint(maxSkew: Int, topologyKey: String, whenUnsatisfiable: String, matchLabelKeys: Option[Seq[String]], minDomains: Option[Int], labelSelector: Option[LabelSelector], nodeAffinityPolicy: Option[String], nodeTaintsPolicy: Option[String])

TopologySpreadConstraint specifies how to spread matching pods among the given topology.

TopologySpreadConstraint specifies how to spread matching pods among the given topology.

Source:
TopologySpreadConstraint.scala
final case class TypedLocalObjectReference(name: String, apiGroup: Option[String])

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.

Source:
TypedLocalObjectReference.scala

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.

Source:
Volume.scala
final case class VolumeDevice(devicePath: String, name: String)

volumeDevice describes a mapping of a raw block device within a container.

volumeDevice describes a mapping of a raw block device within a container.

Source:
VolumeDevice.scala
final case class VolumeMount(name: String, mountPath: String, subPath: Option[String], mountPropagation: Option[String], readOnly: Option[Boolean], subPathExpr: Option[String])

VolumeMount describes a mounting of a Volume within a container.

VolumeMount describes a mounting of a Volume within a container.

Source:
VolumeMount.scala
final case class VolumeNodeAffinity(required: Option[NodeSelector])

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.

Source:
VolumeNodeAffinity.scala
final case class VolumeProjection(configMap: Option[ConfigMapProjection], downwardAPI: Option[DownwardAPIProjection], secret: Option[SecretProjection], serviceAccountToken: Option[ServiceAccountTokenProjection])

Projection that may be projected along with other supported volume types

Projection that may be projected along with other supported volume types

Source:
VolumeProjection.scala
final case class VsphereVirtualDiskVolumeSource(volumePath: String, fsType: Option[String], storagePolicyID: Option[String], storagePolicyName: Option[String])

Represents a vSphere volume resource.

Represents a vSphere volume resource.

Source:
VsphereVirtualDiskVolumeSource.scala
final case class WeightedPodAffinityTerm(podAffinityTerm: PodAffinityTerm, weight: Int)

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)

Source:
WeightedPodAffinityTerm.scala
final case class WindowsSecurityContextOptions(gmsaCredentialSpec: Option[String], gmsaCredentialSpecName: Option[String], hostProcess: Option[Boolean], runAsUserName: Option[String])

WindowsSecurityContextOptions contain Windows-specific options and credentials.

WindowsSecurityContextOptions contain Windows-specific options and credentials.

Source:
WindowsSecurityContextOptions.scala