Interface EphemeralAgentsConfiguration

All Superinterfaces:
Serializable
All Known Implementing Classes:
EphemeralAgentsConfigurationImpl

@PublicApi public interface EphemeralAgentsConfiguration extends Serializable
Since:
9.3
  • Method Details

    • isEnabled

      boolean isEnabled()
      Returns:
      true if feature is enabled
    • getPathToConfig

      String getPathToConfig()
      Returns:
      path to kubectl config file with credentials and cluster access settings. Path is relative to Bamboo Shared Home root.
    • getLabel

      String getLabel()
      Returns:
      resources label Bamboo use to fetch related pods as managable by Bamboo
    • isPodsCleanUpEnabled

      boolean isPodsCleanUpEnabled()
      Returns:
      true if the cleanup of stale ephemeral agents' pods is enabled, false otherwise
    • getPodsCleanUpDelay

      Integer getPodsCleanUpDelay()
      Returns:
      number of seconds between two cleanup calls
    • getWaitForEphemeralAgentDuration

      int getWaitForEphemeralAgentDuration()
      Returns:
      number of seconds the build will wait for the ephemeral agent to come up before other agent types are considered.
      Since:
      10.1