EphemeralContainer

io.k8s.api.core.v1.EphemeralContainer
See theEphemeralContainer companion object
final case class EphemeralContainer(name: String, readinessProbe: Option[Probe], livenessProbe: Option[Probe], lifecycle: Option[Lifecycle], image: Option[String], resizePolicy: Option[Seq[ContainerResizePolicy]], stdinOnce: Option[Boolean], ports: Option[Seq[ContainerPort]], startupProbe: Option[Probe], command: Option[Seq[String]], terminationMessagePolicy: Option[String], targetContainerName: Option[String], restartPolicy: 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.

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

Attributes

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

Members list

Value members

Concrete methods

def addArgs(newValues: String*): EphemeralContainer

Appends new values to args

Appends new values to args

Attributes

Source
EphemeralContainer.scala

Appends new values to command

Appends new values to command

Attributes

Source
EphemeralContainer.scala
def addEnv(newValues: EnvVar*): EphemeralContainer

Appends new values to env

Appends new values to env

Attributes

Source
EphemeralContainer.scala

Appends new values to envFrom

Appends new values to envFrom

Attributes

Source
EphemeralContainer.scala

Appends new values to ports

Appends new values to ports

Attributes

Source
EphemeralContainer.scala

Appends new values to resizePolicy

Appends new values to resizePolicy

Attributes

Source
EphemeralContainer.scala

Appends new values to volumeDevices

Appends new values to volumeDevices

Attributes

Source
EphemeralContainer.scala

Appends new values to volumeMounts

Appends new values to volumeMounts

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

transforms name to result of function

transforms name to result of function

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.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
EphemeralContainer.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
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

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

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

Attributes

Source
EphemeralContainer.scala

Returns a new data with args set to new value

Returns a new data with args set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with command set to new value

Returns a new data with command set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with env set to new value

Returns a new data with env set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with envFrom set to new value

Returns a new data with envFrom set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with image set to new value

Returns a new data with image set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with imagePullPolicy set to new value

Returns a new data with imagePullPolicy set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with lifecycle set to new value

Returns a new data with lifecycle set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with livenessProbe set to new value

Returns a new data with livenessProbe set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with readinessProbe set to new value

Returns a new data with readinessProbe set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with resizePolicy set to new value

Returns a new data with resizePolicy set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with restartPolicy set to new value

Returns a new data with restartPolicy set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with securityContext set to new value

Returns a new data with securityContext set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with startupProbe set to new value

Returns a new data with startupProbe set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with stdin set to new value

Returns a new data with stdin set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with stdinOnce set to new value

Returns a new data with stdinOnce set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with targetContainerName set to new value

Returns a new data with targetContainerName set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with terminationMessagePath set to new value

Returns a new data with terminationMessagePath set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with terminationMessagePolicy set to new value

Returns a new data with terminationMessagePolicy set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with tty set to new value

Returns a new data with tty set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with volumeDevices set to new value

Returns a new data with volumeDevices set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with volumeMounts set to new value

Returns a new data with volumeMounts set to new value

Attributes

Source
EphemeralContainer.scala

Returns a new data with workingDir set to new value

Returns a new data with workingDir set to new value

Attributes

Source
EphemeralContainer.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product