PodSpec

io.k8s.api.core.v1.PodSpec
See thePodSpec companion object
final case class PodSpec(containers: Seq[Container], schedulingGates: Option[Seq[PodSchedulingGate]], 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[Long], dnsConfig: Option[PodDNSConfig], priorityClassName: Option[String], serviceAccountName: Option[String], restartPolicy: Option[String], resourceClaims: Option[Seq[PodResourceClaim]], hostUsers: Option[Boolean], runtimeClassName: Option[String], readinessGates: Option[Seq[PodReadinessGate]], activeDeadlineSeconds: Option[Long], hostNetwork: Option[Boolean], securityContext: Option[PodSecurityContext])

PodSpec is a description of a pod.

Attributes

Companion
object
Source
PodSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addContainers(newValues: Container*): PodSpec

Appends new values to containers

Appends new values to containers

Attributes

Source
PodSpec.scala

Appends new values to ephemeralContainers

Appends new values to ephemeralContainers

Attributes

Source
PodSpec.scala
def addHostAliases(newValues: HostAlias*): PodSpec

Appends new values to hostAliases

Appends new values to hostAliases

Attributes

Source
PodSpec.scala

Appends new values to imagePullSecrets

Appends new values to imagePullSecrets

Attributes

Source
PodSpec.scala
def addInitContainers(newValues: Container*): PodSpec

Appends new values to initContainers

Appends new values to initContainers

Attributes

Source
PodSpec.scala
def addNodeSelector(newValues: (String, String)*): PodSpec

Adds new values to nodeSelector

Adds new values to nodeSelector

Attributes

Source
PodSpec.scala
def addOverhead(newValues: (String, Quantity)*): PodSpec

Adds new values to overhead

Adds new values to overhead

Attributes

Source
PodSpec.scala

Appends new values to readinessGates

Appends new values to readinessGates

Attributes

Source
PodSpec.scala

Appends new values to resourceClaims

Appends new values to resourceClaims

Attributes

Source
PodSpec.scala

Appends new values to schedulingGates

Appends new values to schedulingGates

Attributes

Source
PodSpec.scala
def addTolerations(newValues: Toleration*): PodSpec

Appends new values to tolerations

Appends new values to tolerations

Attributes

Source
PodSpec.scala

Appends new values to topologySpreadConstraints

Appends new values to topologySpreadConstraints

Attributes

Source
PodSpec.scala
def addVolumes(newValues: Volume*): PodSpec

Appends new values to volumes

Appends new values to volumes

Attributes

Source
PodSpec.scala

if activeDeadlineSeconds has a value, transforms to the result of function

if activeDeadlineSeconds has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if affinity has a value, transforms to the result of function

if affinity has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if automountServiceAccountToken has a value, transforms to the result of function

if automountServiceAccountToken has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

transforms containers to result of function

transforms containers to result of function

Attributes

Source
PodSpec.scala

if dnsConfig has a value, transforms to the result of function

if dnsConfig has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if dnsPolicy has a value, transforms to the result of function

if dnsPolicy has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if ephemeralContainers has a value, transforms to the result of function

if ephemeralContainers has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if hostAliases has a value, transforms to the result of function

if hostAliases has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if hostIPC has a value, transforms to the result of function

if hostIPC has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if hostNetwork has a value, transforms to the result of function

if hostNetwork has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if hostPID has a value, transforms to the result of function

if hostPID has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if hostUsers has a value, transforms to the result of function

if hostUsers has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if hostname has a value, transforms to the result of function

if hostname has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if imagePullSecrets has a value, transforms to the result of function

if imagePullSecrets has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if initContainers has a value, transforms to the result of function

if initContainers has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if nodeName has a value, transforms to the result of function

if nodeName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if nodeSelector has a value, transforms to the result of function

if nodeSelector has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapOs(f: PodOS => PodOS): PodSpec

if os has a value, transforms to the result of function

if os has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if overhead has a value, transforms to the result of function

if overhead has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if preemptionPolicy has a value, transforms to the result of function

if preemptionPolicy has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapPriority(f: Int => Int): PodSpec

if priority has a value, transforms to the result of function

if priority has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if priorityClassName has a value, transforms to the result of function

if priorityClassName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if readinessGates has a value, transforms to the result of function

if readinessGates has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if resourceClaims has a value, transforms to the result of function

if resourceClaims has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if restartPolicy has a value, transforms to the result of function

if restartPolicy has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if runtimeClassName has a value, transforms to the result of function

if runtimeClassName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if schedulerName has a value, transforms to the result of function

if schedulerName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if schedulingGates has a value, transforms to the result of function

if schedulingGates has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if securityContext has a value, transforms to the result of function

if securityContext has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if serviceAccount has a value, transforms to the result of function

if serviceAccount has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if serviceAccountName has a value, transforms to the result of function

if serviceAccountName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if setHostnameAsFQDN has a value, transforms to the result of function

if setHostnameAsFQDN has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if shareProcessNamespace has a value, transforms to the result of function

if shareProcessNamespace has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if subdomain has a value, transforms to the result of function

if subdomain has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if terminationGracePeriodSeconds has a value, transforms to the result of function

if terminationGracePeriodSeconds has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if tolerations has a value, transforms to the result of function

if tolerations has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if topologySpreadConstraints has a value, transforms to the result of function

if topologySpreadConstraints has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if volumes has a value, transforms to the result of function

if volumes has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

Returns a new data with activeDeadlineSeconds set to new value

Returns a new data with activeDeadlineSeconds set to new value

Attributes

Source
PodSpec.scala

Returns a new data with affinity set to new value

Returns a new data with affinity set to new value

Attributes

Source
PodSpec.scala

Returns a new data with automountServiceAccountToken set to new value

Returns a new data with automountServiceAccountToken set to new value

Attributes

Source
PodSpec.scala

Returns a new data with containers set to new value

Returns a new data with containers set to new value

Attributes

Source
PodSpec.scala

Returns a new data with dnsConfig set to new value

Returns a new data with dnsConfig set to new value

Attributes

Source
PodSpec.scala

Returns a new data with dnsPolicy set to new value

Returns a new data with dnsPolicy set to new value

Attributes

Source
PodSpec.scala

Returns a new data with ephemeralContainers set to new value

Returns a new data with ephemeralContainers set to new value

Attributes

Source
PodSpec.scala

Returns a new data with hostAliases set to new value

Returns a new data with hostAliases set to new value

Attributes

Source
PodSpec.scala
def withHostIPC(value: Boolean): PodSpec

Returns a new data with hostIPC set to new value

Returns a new data with hostIPC set to new value

Attributes

Source
PodSpec.scala

Returns a new data with hostNetwork set to new value

Returns a new data with hostNetwork set to new value

Attributes

Source
PodSpec.scala
def withHostPID(value: Boolean): PodSpec

Returns a new data with hostPID set to new value

Returns a new data with hostPID set to new value

Attributes

Source
PodSpec.scala

Returns a new data with hostUsers set to new value

Returns a new data with hostUsers set to new value

Attributes

Source
PodSpec.scala
def withHostname(value: String): PodSpec

Returns a new data with hostname set to new value

Returns a new data with hostname set to new value

Attributes

Source
PodSpec.scala

Returns a new data with imagePullSecrets set to new value

Returns a new data with imagePullSecrets set to new value

Attributes

Source
PodSpec.scala

Returns a new data with initContainers set to new value

Returns a new data with initContainers set to new value

Attributes

Source
PodSpec.scala
def withNodeName(value: String): PodSpec

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with nodeSelector set to new value

Returns a new data with nodeSelector set to new value

Attributes

Source
PodSpec.scala
def withOs(value: PodOS): PodSpec

Returns a new data with os set to new value

Returns a new data with os set to new value

Attributes

Source
PodSpec.scala

Returns a new data with overhead set to new value

Returns a new data with overhead set to new value

Attributes

Source
PodSpec.scala

Returns a new data with preemptionPolicy set to new value

Returns a new data with preemptionPolicy set to new value

Attributes

Source
PodSpec.scala
def withPriority(value: Int): PodSpec

Returns a new data with priority set to new value

Returns a new data with priority set to new value

Attributes

Source
PodSpec.scala

Returns a new data with priorityClassName set to new value

Returns a new data with priorityClassName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with readinessGates set to new value

Returns a new data with readinessGates set to new value

Attributes

Source
PodSpec.scala

Returns a new data with resourceClaims set to new value

Returns a new data with resourceClaims set to new value

Attributes

Source
PodSpec.scala

Returns a new data with restartPolicy set to new value

Returns a new data with restartPolicy set to new value

Attributes

Source
PodSpec.scala

Returns a new data with runtimeClassName set to new value

Returns a new data with runtimeClassName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with schedulerName set to new value

Returns a new data with schedulerName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with schedulingGates set to new value

Returns a new data with schedulingGates set to new value

Attributes

Source
PodSpec.scala

Returns a new data with securityContext set to new value

Returns a new data with securityContext set to new value

Attributes

Source
PodSpec.scala

Returns a new data with serviceAccount set to new value

Returns a new data with serviceAccount set to new value

Attributes

Source
PodSpec.scala

Returns a new data with serviceAccountName set to new value

Returns a new data with serviceAccountName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with setHostnameAsFQDN set to new value

Returns a new data with setHostnameAsFQDN set to new value

Attributes

Source
PodSpec.scala

Returns a new data with shareProcessNamespace set to new value

Returns a new data with shareProcessNamespace set to new value

Attributes

Source
PodSpec.scala

Returns a new data with subdomain set to new value

Returns a new data with subdomain set to new value

Attributes

Source
PodSpec.scala

Returns a new data with terminationGracePeriodSeconds set to new value

Returns a new data with terminationGracePeriodSeconds set to new value

Attributes

Source
PodSpec.scala

Returns a new data with tolerations set to new value

Returns a new data with tolerations set to new value

Attributes

Source
PodSpec.scala

Returns a new data with topologySpreadConstraints set to new value

Returns a new data with topologySpreadConstraints set to new value

Attributes

Source
PodSpec.scala
def withVolumes(value: Seq[Volume]): PodSpec

Returns a new data with volumes set to new value

Returns a new data with volumes set to new value

Attributes

Source
PodSpec.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product