package v1
Type Members
-
final
case class
AWSElasticBlockStoreVolumeSource(fsType: Option[String] = None, partition: Option[Int] = None, readOnly: Option[Boolean] = None, volumeID: String) 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.
-
final
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.
-
final
case class
AttachedVolume(devicePath: String, name: String) extends Product with Serializable
AttachedVolume describes a volume attached to a node
-
final
case class
AzureDiskVolumeSource(readOnly: Option[Boolean] = None, fsType: Option[String] = None, diskURI: String, diskName: String, cachingMode: Option[String] = None) extends Product with Serializable
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
-
final
case class
AzureFilePersistentVolumeSource(readOnly: Option[Boolean] = None, secretName: String, secretNamespace: Option[String] = None, shareName: String) extends Product with Serializable
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
-
final
case class
AzureFileVolumeSource(readOnly: Option[Boolean] = None, secretName: String, shareName: String) extends Product with Serializable
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
-
final
case class
Binding(metadata: Option[ObjectMeta] = None, target: ObjectReference) extends KObject with 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.
-
final
case class
CSIPersistentVolumeSource(nodeStageSecretRef: Option[SecretReference] = None, readOnly: Option[Boolean] = None, fsType: Option[String] = None, volumeHandle: String, driver: String, controllerPublishSecretRef: Option[SecretReference] = None, volumeAttributes: Option[Map[String, String]] = None, controllerExpandSecretRef: Option[SecretReference] = None, nodeExpandSecretRef: Option[SecretReference] = None, nodePublishSecretRef: Option[SecretReference] = None) extends Product with Serializable
Represents storage that is managed by an external CSI volume driver (Beta feature)
-
final
case class
CSIVolumeSource(readOnly: Option[Boolean] = None, fsType: Option[String] = None, driver: String, volumeAttributes: Option[Map[String, String]] = None, nodePublishSecretRef: Option[LocalObjectReference] = None) extends Product with Serializable
Represents a source location of a volume to mount, managed by an external CSI driver
-
final
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.
-
final
case class
CephFSPersistentVolumeSource(path: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[SecretReference] = None, secretFile: Option[String] = None, monitors: Seq[String], 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.
-
final
case class
CephFSVolumeSource(path: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None, secretFile: Option[String] = None, monitors: Seq[String], 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.
-
final
case class
CinderPersistentVolumeSource(fsType: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[SecretReference] = None, volumeID: String) 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.
-
final
case class
CinderVolumeSource(fsType: Option[String] = None, readOnly: Option[Boolean] = None, secretRef: Option[LocalObjectReference] = None, volumeID: String) 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.
-
final
case class
ClientIPConfig(timeoutSeconds: Option[Int] = None) extends Product with Serializable
ClientIPConfig represents the configurations of Client IP based session affinity.
-
final
case class
ComponentCondition(error: Option[String] = None, message: Option[String] = None, status: String, type: String) extends Product with Serializable
Information about the condition of a component.
-
final
case class
ComponentStatus(conditions: Option[Seq[ComponentCondition]] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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+
-
final
case class
ComponentStatusList(items: Seq[ComponentStatus], metadata: Option[ListMeta] = None) extends KObject with 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+
-
final
case class
ConfigMap(data: Option[Map[String, String]] = None, immutable: Option[Boolean] = None, binaryData: Option[Map[String, String]] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
ConfigMap holds configuration data for pods to consume.
-
final
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.
-
final
case class
ConfigMapKeySelector(key: String, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable
Selects a key from a ConfigMap.
-
final
case class
ConfigMapList(items: Seq[ConfigMap], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ConfigMapList is a resource containing a list of ConfigMap objects.
-
final
case class
ConfigMapNodeConfigSource(name: String, resourceVersion: Option[String] = None, kubeletConfigKey: String, uid: Option[String] = None, namespace: String) 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
-
final
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.
-
final
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.
-
final
case class
Container(readinessProbe: Option[Probe] = None, name: String, livenessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, image: Option[String] = None, stdinOnce: Option[Boolean] = None, ports: Option[Seq[ContainerPort]] = None, startupProbe: Option[Probe] = None, command: Option[Seq[String]] = None, terminationMessagePolicy: Option[String] = None, stdin: Option[Boolean] = None, terminationMessagePath: Option[String] = None, resources: Option[ResourceRequirements] = None, envFrom: Option[Seq[EnvFromSource]] = None, volumeDevices: Option[Seq[VolumeDevice]] = None, args: Option[Seq[String]] = None, tty: Option[Boolean] = None, imagePullPolicy: Option[String] = None, workingDir: Option[String] = None, volumeMounts: Option[Seq[VolumeMount]] = None, env: Option[Seq[EnvVar]] = None, securityContext: Option[SecurityContext] = None) extends Product with Serializable
A single application container that you want to run within a pod.
-
final
case class
ContainerImage(names: Option[Seq[String]] = None, sizeBytes: Option[Int] = None) extends Product with Serializable
Describe a container image
-
final
case class
ContainerPort(name: Option[String] = None, containerPort: Int, hostPort: Option[Int] = None, hostIP: Option[String] = None, protocol: Option[String] = None) extends Product with Serializable
ContainerPort represents a network port in a single container.
-
final
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.
-
final
case class
ContainerStateRunning(startedAt: Option[Time] = None) extends Product with Serializable
ContainerStateRunning is a running state of a container.
-
final
case class
ContainerStateTerminated(exitCode: Int, reason: Option[String] = None, startedAt: Option[Time] = None, message: Option[String] = None, finishedAt: Option[Time] = None, containerID: Option[String] = None, signal: Option[Int] = None) extends Product with Serializable
ContainerStateTerminated is a terminated state of a container.
-
final
case class
ContainerStateWaiting(message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable
ContainerStateWaiting is a waiting state of a container.
-
final
case class
ContainerStatus(name: String, state: Option[ContainerState] = None, image: String, restartCount: Int, ready: Boolean, lastState: Option[ContainerState] = None, imageID: String, containerID: Option[String] = None, started: Option[Boolean] = None) extends Product with Serializable
ContainerStatus contains details for the current status of this container.
-
final
case class
DaemonEndpoint(Port: Int) extends Product with Serializable
DaemonEndpoint contains information about a single Daemon endpoint.
-
final
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.
-
final
case class
DownwardAPIVolumeFile(fieldRef: Option[ObjectFieldSelector] = None, mode: Option[Int] = None, path: String, resourceFieldRef: Option[ResourceFieldSelector] = None) extends Product with Serializable
DownwardAPIVolumeFile represents information to create the file containing the pod field
-
final
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.
-
final
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.
-
final
case class
EndpointAddress(hostname: Option[String] = None, ip: String, nodeName: Option[String] = None, targetRef: Option[ObjectReference] = None) extends Product with Serializable
EndpointAddress is a tuple that describes single IP address.
-
final
case class
EndpointPort(appProtocol: Option[String] = None, name: Option[String] = None, port: Int, protocol: Option[String] = None) extends Product with Serializable
EndpointPort is a tuple that describes a single port.
-
final
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 ]
-
final
case class
Endpoints(metadata: Option[ObjectMeta] = None, subsets: Option[Seq[EndpointSubset]] = None) extends KObject with 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}] }, ]
-
final
case class
EndpointsList(items: Seq[Endpoints], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
EndpointsList is a list of endpoints.
-
final
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
-
final
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.
-
final
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.
-
final
case class
EphemeralContainer(readinessProbe: Option[Probe] = None, name: String, livenessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, image: Option[String] = None, stdinOnce: Option[Boolean] = None, ports: Option[Seq[ContainerPort]] = None, startupProbe: Option[Probe] = None, command: Option[Seq[String]] = None, terminationMessagePolicy: Option[String] = None, targetContainerName: Option[String] = None, stdin: Option[Boolean] = None, terminationMessagePath: Option[String] = None, resources: Option[ResourceRequirements] = None, envFrom: Option[Seq[EnvFromSource]] = None, volumeDevices: Option[Seq[VolumeDevice]] = None, args: Option[Seq[String]] = None, tty: Option[Boolean] = None, imagePullPolicy: Option[String] = None, workingDir: Option[String] = None, volumeMounts: Option[Seq[VolumeMount]] = None, env: Option[Seq[EnvVar]] = None, securityContext: Option[SecurityContext] = 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.
-
final
case class
EphemeralVolumeSource(volumeClaimTemplate: Option[PersistentVolumeClaimTemplate] = None) extends Product with Serializable
Represents an ephemeral volume that is handled by a normal storage driver.
-
final
case class
Event(involvedObject: ObjectReference, series: Option[EventSeries] = None, count: Option[Int] = None, source: Option[EventSource] = None, reportingComponent: Option[String] = None, reason: Option[String] = None, related: Option[ObjectReference] = None, eventTime: Option[MicroTime] = None, lastTimestamp: Option[Time] = None, metadata: ObjectMeta, message: Option[String] = None, firstTimestamp: Option[Time] = None, type: Option[String] = None, reportingInstance: Option[String] = None, action: Option[String] = None) extends KObject with 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.
-
final
case class
EventList(items: Seq[Event], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
EventList is a list of events.
-
final
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.
-
final
case class
EventSource(component: Option[String] = None, host: Option[String] = None) extends Product with Serializable
EventSource contains information for an event.
-
final
case class
ExecAction(command: Option[Seq[String]] = None) extends Product with Serializable
ExecAction describes a "run in container" action.
-
final
case class
FCVolumeSource(targetWWNs: Option[Seq[String]] = None, readOnly: Option[Boolean] = None, fsType: Option[String] = None, wwids: Option[Seq[String]] = None, lun: Option[Int] = 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.
-
final
case class
FlexPersistentVolumeSource(readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[SecretReference] = None, options: Option[Map[String, String]] = None, driver: String) extends Product with Serializable
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
-
final
case class
FlexVolumeSource(readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[LocalObjectReference] = None, options: Option[Map[String, String]] = None, driver: String) extends Product with Serializable
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
-
final
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.
-
final
case class
GCEPersistentDiskVolumeSource(fsType: Option[String] = None, partition: Option[Int] = None, pdName: String, 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.
- final case class GRPCAction(port: Int, service: Option[String] = None) extends Product with Serializable
-
final
case class
GitRepoVolumeSource(directory: Option[String] = None, repository: String, 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.
-
final
case class
GlusterfsPersistentVolumeSource(endpoints: String, endpointsNamespace: Option[String] = None, 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.
-
final
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.
-
final
case class
HTTPGetAction(path: Option[String] = None, host: Option[String] = None, port: IntOrString, scheme: Option[String] = None, httpHeaders: Option[Seq[HTTPHeader]] = None) extends Product with Serializable
HTTPGetAction describes an action based on HTTP Get requests.
-
final
case class
HTTPHeader(name: String, value: String) extends Product with Serializable
HTTPHeader describes a custom header to be used in HTTP probes
-
final
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.
-
final
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.
-
final
case class
ISCSIPersistentVolumeSource(portals: Option[Seq[String]] = None, readOnly: Option[Boolean] = None, chapAuthDiscovery: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[SecretReference] = None, iqn: String, initiatorName: Option[String] = None, iscsiInterface: Option[String] = None, targetPortal: String, lun: Int, chapAuthSession: Option[Boolean] = 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.
-
final
case class
ISCSIVolumeSource(portals: Option[Seq[String]] = None, readOnly: Option[Boolean] = None, chapAuthDiscovery: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[LocalObjectReference] = None, iqn: String, initiatorName: Option[String] = None, iscsiInterface: Option[String] = None, targetPortal: String, lun: Int, chapAuthSession: Option[Boolean] = 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.
-
final
case class
KeyToPath(key: String, mode: Option[Int] = None, path: String) extends Product with Serializable
Maps a string key to a path within a volume.
-
final
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.
-
final
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.
-
final
case class
LimitRange(metadata: Option[ObjectMeta] = None, spec: Option[LimitRangeSpec] = None) extends KObject with Product with Serializable
LimitRange sets resource usage limits for each kind of resource in a Namespace.
-
final
case class
LimitRangeItem(defaultRequest: Option[Map[String, Quantity]] = None, min: Option[Map[String, Quantity]] = None, maxLimitRequestRatio: Option[Map[String, Quantity]] = None, max: Option[Map[String, Quantity]] = None, default: Option[Map[String, Quantity]] = None, type: String) extends Product with Serializable
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
-
final
case class
LimitRangeList(items: Seq[LimitRange], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
LimitRangeList is a list of LimitRange items.
-
final
case class
LimitRangeSpec(limits: Seq[LimitRangeItem]) extends Product with Serializable
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
-
final
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.
-
final
case class
LoadBalancerStatus(ingress: Option[Seq[LoadBalancerIngress]] = None) extends Product with Serializable
LoadBalancerStatus represents the status of a load-balancer.
-
final
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.
-
final
case class
LocalVolumeSource(fsType: Option[String] = None, path: String) extends Product with Serializable
Local represents directly-attached storage with node affinity (Beta feature)
-
final
case class
NFSVolumeSource(path: String, readOnly: Option[Boolean] = None, server: String) 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.
-
final
case class
Namespace(status: Option[NamespaceStatus] = None, spec: Option[NamespaceSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
Namespace provides a scope for Names.
Namespace provides a scope for Names. Use of multiple namespaces is optional.
-
final
case class
NamespaceCondition(reason: Option[String] = None, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, type: String) extends Product with Serializable
NamespaceCondition contains details about state of namespace.
-
final
case class
NamespaceList(items: Seq[Namespace], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
NamespaceList is a list of Namespaces.
-
final
case class
NamespaceSpec(finalizers: Option[Seq[String]] = None) extends Product with Serializable
NamespaceSpec describes the attributes on a Namespace.
-
final
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.
-
final
case class
Node(status: Option[NodeStatus] = None, spec: Option[NodeSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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).
-
final
case class
NodeAddress(address: String, type: String) extends Product with Serializable
NodeAddress contains information for the node's address.
-
final
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.
-
final
case class
NodeCondition(reason: Option[String] = None, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, type: String, lastHeartbeatTime: Option[Time] = None) extends Product with Serializable
NodeCondition contains condition information for a node.
-
final
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
-
final
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.
-
final
case class
NodeDaemonEndpoints(kubeletEndpoint: Option[DaemonEndpoint] = None) extends Product with Serializable
NodeDaemonEndpoints lists ports opened by daemons running on the Node.
-
final
case class
NodeList(items: Seq[Node], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
NodeList is the whole list of all Nodes which have been registered with master.
-
final
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.
-
final
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.
-
final
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.
-
final
case class
NodeSpec(externalID: Option[String] = None, taints: Option[Seq[Taint]] = None, configSource: Option[NodeConfigSource] = None, unschedulable: Option[Boolean] = None, podCIDR: Option[String] = None, providerID: Option[String] = None, podCIDRs: Option[Seq[String]] = None) extends Product with Serializable
NodeSpec describes the attributes that a node is created with.
-
final
case class
NodeStatus(volumesInUse: Option[Seq[String]] = None, conditions: Option[Seq[NodeCondition]] = None, nodeInfo: Option[NodeSystemInfo] = None, volumesAttached: Option[Seq[AttachedVolume]] = None, phase: Option[String] = None, config: Option[NodeConfigStatus] = None, allocatable: Option[Map[String, Quantity]] = None, images: Option[Seq[ContainerImage]] = None, daemonEndpoints: Option[NodeDaemonEndpoints] = None, addresses: Option[Seq[NodeAddress]] = None, capacity: Option[Map[String, Quantity]] = None) extends Product with Serializable
NodeStatus is information about the current status of a node.
-
final
case class
NodeSystemInfo(systemUUID: String, osImage: String, machineID: String, bootID: String, architecture: String, kubeletVersion: String, operatingSystem: String, kubeProxyVersion: String, containerRuntimeVersion: String, kernelVersion: String) extends Product with Serializable
NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
-
final
case class
ObjectFieldSelector(fieldPath: String) extends Product with Serializable
ObjectFieldSelector selects an APIVersioned field of an object.
-
final
case class
ObjectReference(fieldPath: Option[String] = None, name: Option[String] = None, resourceVersion: Option[String] = None, uid: Option[String] = None, namespace: Option[String] = None) extends Product with Serializable
ObjectReference contains enough information to let you inspect or modify the referred object.
-
final
case class
PersistentVolume(status: Option[PersistentVolumeStatus] = None, spec: Option[PersistentVolumeSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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
-
final
case class
PersistentVolumeClaim(status: Option[PersistentVolumeClaimStatus] = None, spec: Option[PersistentVolumeClaimSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
PersistentVolumeClaim is a user's request for and claim to a persistent volume
-
final
case class
PersistentVolumeClaimCondition(lastProbeTime: Option[Time] = None, reason: Option[String] = None, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, type: String) extends Product with Serializable
PersistentVolumeClaimCondition contails details about state of pvc
-
final
case class
PersistentVolumeClaimList(items: Seq[PersistentVolumeClaim], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
PersistentVolumeClaimList is a list of PersistentVolumeClaim items.
-
final
case class
PersistentVolumeClaimSpec(accessModes: Option[Seq[String]] = None, volumeMode: Option[String] = None, dataSourceRef: Option[TypedLocalObjectReference] = None, storageClassName: Option[String] = None, dataSource: Option[TypedLocalObjectReference] = None, volumeName: Option[String] = None, resources: Option[ResourceRequirements] = None, selector: Option[LabelSelector] = None) extends Product with Serializable
PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes
-
final
case class
PersistentVolumeClaimStatus(conditions: Option[Seq[PersistentVolumeClaimCondition]] = None, accessModes: Option[Seq[String]] = None, phase: Option[String] = None, resizeStatus: Option[String] = None, allocatedResources: Option[Map[String, Quantity]] = None, capacity: Option[Map[String, Quantity]] = None) extends Product with Serializable
PersistentVolumeClaimStatus is the current status of a persistent volume claim.
-
final
case class
PersistentVolumeClaimTemplate(metadata: Option[ObjectMeta] = None, spec: PersistentVolumeClaimSpec) extends Product with Serializable
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
-
final
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).
-
final
case class
PersistentVolumeList(items: Seq[PersistentVolume], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
PersistentVolumeList is a list of PersistentVolume items.
-
final
case class
PersistentVolumeSpec(scaleIO: Option[ScaleIOPersistentVolumeSource] = None, csi: Option[CSIPersistentVolumeSource] = None, accessModes: Option[Seq[String]] = None, mountOptions: Option[Seq[String]] = None, nodeAffinity: Option[VolumeNodeAffinity] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFilePersistentVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, rbd: Option[RBDPersistentVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, persistentVolumeReclaimPolicy: Option[String] = None, glusterfs: Option[GlusterfsPersistentVolumeSource] = None, volumeMode: Option[String] = None, flocker: Option[FlockerVolumeSource] = None, claimRef: Option[ObjectReference] = None, fc: Option[FCVolumeSource] = None, local: Option[LocalVolumeSource] = None, storageClassName: Option[String] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None, iscsi: Option[ISCSIPersistentVolumeSource] = None, cinder: Option[CinderPersistentVolumeSource] = None, cephfs: Option[CephFSPersistentVolumeSource] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, flexVolume: Option[FlexPersistentVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, storageos: Option[StorageOSPersistentVolumeSource] = None, capacity: Option[Map[String, Quantity]] = None) extends Product with Serializable
PersistentVolumeSpec is the specification of a persistent volume.
-
final
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.
-
final
case class
PhotonPersistentDiskVolumeSource(fsType: Option[String] = None, pdID: String) extends Product with Serializable
Represents a Photon Controller persistent disk resource.
-
final
case class
Pod(status: Option[PodStatus] = None, spec: Option[PodSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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.
-
final
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.
-
final
case class
PodAffinityTerm(labelSelector: Option[LabelSelector] = None, namespaceSelector: Option[LabelSelector] = None, namespaces: Option[Seq[String]] = None, topologyKey: String) 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
-
final
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.
-
final
case class
PodCondition(lastProbeTime: Option[Time] = None, reason: Option[String] = None, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, type: String) extends Product with Serializable
PodCondition contains details for the current condition of this pod.
-
final
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.
-
final
case class
PodDNSConfigOption(name: Option[String] = None, value: Option[String] = None) extends Product with Serializable
PodDNSConfigOption defines DNS resolver options of a pod.
-
final
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.
-
final
case class
PodList(items: Seq[Pod], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
PodList is a list of Pods.
-
final
case class
PodOS(name: String) extends Product with Serializable
PodOS defines the OS parameters of a pod.
-
final
case class
PodReadinessGate(conditionType: String) extends Product with Serializable
PodReadinessGate contains the reference to a pod condition
-
final
case class
PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Int] = None, supplementalGroups: Option[Seq[Int]] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, runAsNonRoot: Option[Boolean] = 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.
-
final
case class
PodSpec(priority: Option[Int] = None, hostIPC: Option[Boolean] = None, serviceAccount: Option[String] = None, schedulerName: Option[String] = None, hostname: Option[String] = None, imagePullSecrets: Option[Seq[LocalObjectReference]] = None, affinity: Option[Affinity] = None, os: Option[PodOS] = None, nodeName: Option[String] = None, ephemeralContainers: Option[Seq[EphemeralContainer]] = None, initContainers: Option[Seq[Container]] = None, shareProcessNamespace: Option[Boolean] = None, setHostnameAsFQDN: Option[Boolean] = None, enableServiceLinks: Option[Boolean] = None, preemptionPolicy: Option[String] = None, dnsPolicy: Option[String] = None, volumes: Option[Seq[Volume]] = None, hostAliases: Option[Seq[HostAlias]] = None, subdomain: Option[String] = None, topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]] = None, overhead: Option[Map[String, Quantity]] = None, tolerations: Option[Seq[Toleration]] = None, automountServiceAccountToken: Option[Boolean] = None, nodeSelector: Option[Map[String, String]] = None, hostPID: Option[Boolean] = None, terminationGracePeriodSeconds: Option[Int] = None, containers: Seq[Container], dnsConfig: Option[PodDNSConfig] = None, priorityClassName: Option[String] = None, serviceAccountName: Option[String] = None, restartPolicy: Option[String] = None, hostUsers: Option[Boolean] = None, runtimeClassName: Option[String] = None, readinessGates: Option[Seq[PodReadinessGate]] = None, activeDeadlineSeconds: Option[Int] = None, hostNetwork: Option[Boolean] = None, securityContext: Option[PodSecurityContext] = None) extends Product with Serializable
PodSpec is a description of a pod.
-
final
case class
PodStatus(conditions: Option[Seq[PodCondition]] = None, qosClass: Option[String] = None, startTime: Option[Time] = None, phase: Option[String] = None, reason: Option[String] = None, ephemeralContainerStatuses: Option[Seq[ContainerStatus]] = None, hostIP: Option[String] = None, message: Option[String] = None, containerStatuses: Option[Seq[ContainerStatus]] = None, podIP: Option[String] = None, nominatedNodeName: Option[String] = None, podIPs: Option[Seq[PodIP]] = None, initContainerStatuses: Option[Seq[ContainerStatus]] = 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.
-
final
case class
PodTemplate(metadata: Option[ObjectMeta] = None, template: Option[PodTemplateSpec] = None) extends KObject with Product with Serializable
PodTemplate describes a template for creating copies of a predefined pod.
-
final
case class
PodTemplateList(items: Seq[PodTemplate], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
PodTemplateList is a list of PodTemplates.
-
final
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
- final case class PortStatus(error: Option[String] = None, port: Int, protocol: String) extends Product with Serializable
-
final
case class
PortworxVolumeSource(fsType: Option[String] = None, readOnly: Option[Boolean] = None, volumeID: String) extends Product with Serializable
PortworxVolumeSource represents a Portworx volume resource.
-
final
case class
PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int) 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).
-
final
case class
Probe(timeoutSeconds: Option[Int] = None, grpc: Option[GRPCAction] = None, tcpSocket: Option[TCPSocketAction] = None, initialDelaySeconds: Option[Int] = None, failureThreshold: Option[Int] = None, httpGet: Option[HTTPGetAction] = None, terminationGracePeriodSeconds: Option[Int] = None, exec: Option[ExecAction] = None, periodSeconds: Option[Int] = None, successThreshold: 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.
-
final
case class
ProjectedVolumeSource(defaultMode: Option[Int] = None, sources: Option[Seq[VolumeProjection]] = None) extends Product with Serializable
Represents a projected volume source
-
final
case class
QuobyteVolumeSource(registry: String, readOnly: Option[Boolean] = None, tenant: Option[String] = None, group: Option[String] = None, user: Option[String] = None, volume: String) 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.
-
final
case class
RBDPersistentVolumeSource(readOnly: Option[Boolean] = None, fsType: Option[String] = None, image: String, secretRef: Option[SecretReference] = None, pool: Option[String] = None, keyring: Option[String] = None, monitors: Seq[String], 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.
-
final
case class
RBDVolumeSource(readOnly: Option[Boolean] = None, fsType: Option[String] = None, image: String, secretRef: Option[LocalObjectReference] = None, pool: Option[String] = None, keyring: Option[String] = None, monitors: Seq[String], 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.
-
final
case class
ReplicationController(status: Option[ReplicationControllerStatus] = None, spec: Option[ReplicationControllerSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
ReplicationController represents the configuration of a replication controller.
-
final
case class
ReplicationControllerCondition(reason: Option[String] = None, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, type: String) extends Product with Serializable
ReplicationControllerCondition describes the state of a replication controller at a certain point.
-
final
case class
ReplicationControllerList(items: Seq[ReplicationController], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ReplicationControllerList is a collection of replication controllers.
-
final
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.
-
final
case class
ReplicationControllerStatus(conditions: Option[Seq[ReplicationControllerCondition]] = None, replicas: Int, availableReplicas: Option[Int] = None, observedGeneration: Option[Int] = None, readyReplicas: Option[Int] = None, fullyLabeledReplicas: Option[Int] = None) extends Product with Serializable
ReplicationControllerStatus represents the current status of a replication controller.
-
final
case class
ResourceFieldSelector(containerName: Option[String] = None, divisor: Option[Quantity] = None, resource: String) extends Product with Serializable
ResourceFieldSelector represents container resources (cpu, memory) and their output format
-
final
case class
ResourceQuota(status: Option[ResourceQuotaStatus] = None, spec: Option[ResourceQuotaSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
ResourceQuota sets aggregate quota restrictions enforced per namespace
-
final
case class
ResourceQuotaList(items: Seq[ResourceQuota], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ResourceQuotaList is a list of ResourceQuota items.
-
final
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.
-
final
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.
-
final
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.
-
final
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
-
final
case class
ScaleIOPersistentVolumeSource(system: String, readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: SecretReference, storagePool: Option[String] = None, gateway: String, protectionDomain: Option[String] = None, volumeName: Option[String] = None, sslEnabled: Option[Boolean] = None, storageMode: Option[String] = None) extends Product with Serializable
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
-
final
case class
ScaleIOVolumeSource(system: String, readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: LocalObjectReference, storagePool: Option[String] = None, gateway: String, protectionDomain: Option[String] = None, volumeName: Option[String] = None, sslEnabled: Option[Boolean] = None, storageMode: Option[String] = None) extends Product with Serializable
ScaleIOVolumeSource represents a persistent ScaleIO volume
-
final
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.
-
final
case class
ScopedResourceSelectorRequirement(operator: String, scopeName: 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.
-
final
case class
SeccompProfile(localhostProfile: Option[String] = None, type: String) 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.
-
final
case class
Secret(data: Option[Map[String, String]] = None, immutable: Option[Boolean] = None, metadata: Option[ObjectMeta] = None, type: Option[String] = None, stringData: Option[Map[String, String]] = None) extends KObject with 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.
-
final
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.
-
final
case class
SecretKeySelector(key: String, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable
SecretKeySelector selects a key of a Secret.
-
final
case class
SecretList(items: Seq[Secret], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
SecretList is a list of Secret.
-
final
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.
-
final
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
-
final
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.
-
final
case class
SecurityContext(capabilities: Option[Capabilities] = None, readOnlyRootFilesystem: Option[Boolean] = None, allowPrivilegeEscalation: Option[Boolean] = None, procMount: Option[String] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, privileged: Option[Boolean] = None, runAsNonRoot: Option[Boolean] = 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.
-
final
case class
Service(status: Option[ServiceStatus] = None, spec: Option[ServiceSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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.
-
final
case class
ServiceAccount(imagePullSecrets: Option[Seq[LocalObjectReference]] = None, secrets: Option[Seq[ObjectReference]] = None, automountServiceAccountToken: Option[Boolean] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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
-
final
case class
ServiceAccountList(items: Seq[ServiceAccount], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ServiceAccountList is a list of ServiceAccount objects
-
final
case class
ServiceAccountTokenProjection(audience: Option[String] = None, expirationSeconds: Option[Int] = None, path: String) 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).
-
final
case class
ServiceList(items: Seq[Service], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ServiceList holds a list of services.
-
final
case class
ServicePort(nodePort: Option[Int] = None, name: Option[String] = None, port: Int, targetPort: Option[IntOrString] = None, protocol: Option[String] = None, appProtocol: Option[String] = None) extends Product with Serializable
ServicePort contains information on service's port.
-
final
case class
ServiceSpec(sessionAffinityConfig: Option[SessionAffinityConfig] = None, loadBalancerSourceRanges: Option[Seq[String]] = None, sessionAffinity: Option[String] = None, clusterIPs: Option[Seq[String]] = None, externalTrafficPolicy: Option[String] = None, loadBalancerIP: Option[String] = None, clusterIP: Option[String] = None, ports: Option[Seq[ServicePort]] = None, healthCheckNodePort: Option[Int] = None, allocateLoadBalancerNodePorts: Option[Boolean] = None, externalIPs: Option[Seq[String]] = None, ipFamilies: Option[Seq[String]] = None, internalTrafficPolicy: Option[String] = None, externalName: Option[String] = None, ipFamilyPolicy: Option[String] = None, type: Option[String] = None, selector: Option[Map[String, String]] = None, loadBalancerClass: Option[String] = None, publishNotReadyAddresses: Option[Boolean] = None) extends Product with Serializable
ServiceSpec describes the attributes that a user creates on a service.
-
final
case class
ServiceStatus(conditions: Option[Seq[Condition]] = None, loadBalancer: Option[LoadBalancerStatus] = None) extends Product with Serializable
ServiceStatus represents the current status of a service.
-
final
case class
SessionAffinityConfig(clientIP: Option[ClientIPConfig] = None) extends Product with Serializable
SessionAffinityConfig represents the configurations of session affinity.
-
final
case class
StorageOSPersistentVolumeSource(volumeNamespace: Option[String] = None, readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[ObjectReference] = None, volumeName: Option[String] = None) extends Product with Serializable
Represents a StorageOS persistent volume resource.
-
final
case class
StorageOSVolumeSource(volumeNamespace: Option[String] = None, readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[LocalObjectReference] = None, volumeName: Option[String] = None) extends Product with Serializable
Represents a StorageOS persistent volume resource.
-
final
case class
Sysctl(name: String, value: String) extends Product with Serializable
Sysctl defines a kernel parameter to be set
-
final
case class
TCPSocketAction(host: Option[String] = None, port: IntOrString) extends Product with Serializable
TCPSocketAction describes an action based on opening a socket
-
final
case class
Taint(effect: String, key: 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.
-
final
case class
Toleration(effect: Option[String] = None, key: Option[String] = None, tolerationSeconds: Option[Int] = None, operator: Option[String] = 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>.
-
final
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.
-
final
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.
-
final
case class
TopologySpreadConstraint(maxSkew: Int, matchLabelKeys: Option[Seq[String]] = None, minDomains: Option[Int] = None, labelSelector: Option[LabelSelector] = None, nodeAffinityPolicy: Option[String] = None, nodeTaintsPolicy: Option[String] = None, topologyKey: String, whenUnsatisfiable: String) extends Product with Serializable
TopologySpreadConstraint specifies how to spread matching pods among the given topology.
-
final
case class
TypedLocalObjectReference(apiGroup: Option[String] = None, name: String) extends Product with Serializable
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
-
final
case class
Volume(secret: Option[SecretVolumeSource] = None, scaleIO: Option[ScaleIOVolumeSource] = None, csi: Option[CSIVolumeSource] = None, name: String, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFileVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, rbd: Option[RBDVolumeSource] = None, configMap: Option[ConfigMapVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, glusterfs: Option[GlusterfsVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, fc: Option[FCVolumeSource] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, persistentVolumeClaim: Option[PersistentVolumeClaimVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None, projected: Option[ProjectedVolumeSource] = None, ephemeral: Option[EphemeralVolumeSource] = None, iscsi: Option[ISCSIVolumeSource] = None, cinder: Option[CinderVolumeSource] = None, gitRepo: Option[GitRepoVolumeSource] = None, cephfs: Option[CephFSVolumeSource] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, downwardAPI: Option[DownwardAPIVolumeSource] = None, flexVolume: Option[FlexVolumeSource] = None, emptyDir: Option[EmptyDirVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, storageos: Option[StorageOSVolumeSource] = None) extends Product with Serializable
Volume represents a named volume in a pod that may be accessed by any container in the pod.
-
final
case class
VolumeDevice(devicePath: String, name: String) extends Product with Serializable
volumeDevice describes a mapping of a raw block device within a container.
-
final
case class
VolumeMount(subPath: Option[String] = None, name: String, mountPropagation: Option[String] = None, readOnly: Option[Boolean] = None, mountPath: String, subPathExpr: Option[String] = None) extends Product with Serializable
VolumeMount describes a mounting of a Volume within a container.
-
final
case class
VolumeNodeAffinity(required: Option[NodeSelector] = None) extends Product with Serializable
VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.
-
final
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
-
final
case class
VsphereVirtualDiskVolumeSource(fsType: Option[String] = None, storagePolicyID: Option[String] = None, storagePolicyName: Option[String] = None, volumePath: String) extends Product with Serializable
Represents a vSphere volume resource.
-
final
case class
WeightedPodAffinityTerm(podAffinityTerm: PodAffinityTerm, weight: Int) extends Product with Serializable
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
-
final
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.