Interface ContainerConfig

All Superinterfaces:
EnvVarHolder

public interface ContainerConfig extends EnvVarHolder
  • Method Details

    • image

      Optional<String> image()
      The container image.
    • workingDir

      Optional<String> workingDir()
      Working directory.
    • command

      Optional<List<String>> command()
      The commands
    • arguments

      Optional<List<String>> arguments()
      The arguments
      Returns:
      The arguments.
    • serviceAccount

      Optional<String> serviceAccount()
      The service account.
    • host

      Optional<String> host()
      The host under which the application is going to be exposed.
    • ports

      The application ports.
    • imagePullPolicy

      @WithDefault("always") io.dekorate.kubernetes.annotation.ImagePullPolicy imagePullPolicy()
      Image pull policy.
    • imagePullSecrets

      Optional<List<String>> imagePullSecrets()
      The image pull secrets.
    • livenessProbe

      ProbeConfig livenessProbe()
      The liveness probe.
    • readinessProbe

      ProbeConfig readinessProbe()
      The readiness probe.
    • mounts

      Volume mounts.
    • resources

      ResourcesConfig resources()
      Resources requirements
    • targetPlatformName

      default String targetPlatformName()
      Description copied from interface: EnvVarHolder
      Specifies which the name of the platform this EnvVarHolder targets. This name, when needed, is used by dekorate to generate the descriptor associated with the targeted deployment platform.
      Specified by:
      targetPlatformName in interface EnvVarHolder
      Returns:
      the name of the targeted platform e.g. Constants.KUBERNETES
    • convertToEnvs

      default Collection<io.dekorate.kubernetes.config.Env> convertToEnvs()