Support Account-Level Pod Spec Overlay Configuration for IaCM Kubernetes Execution Pods
M
Marvellous Tapir
Use Case
Customers running IaCM pipelines with KubernetesDirect infrastructure need to apply Kubernetes pod-level settings consistently to the build execution pods created for Terraform operations such as Plan and Apply.
For example, the customer needs to configure:
spec:
terminationGracePeriodSeconds: 600
tolerations:
- key: "<key>"
operator: "Equal"
value: "<value>"
effect: "NoSchedule"
IaCM currently supports podSpecOverlay when it is configured directly on the individual IaCM stage through pipeline YAML:
infrastructure:
type: KubernetesDirect
spec:
connectorRef: <connector>
namespace: <namespace>
podSpecOverlay: |-
spec:
terminationGracePeriodSeconds: 600
tolerations:
- key: "<key>"
operator: "Equal"
value: "<value>"
effect: "NoSchedule"
Current Gap
We do not want to configure this separately in every IaCM pipeline/stage.
For CI, customers can configure a default Pod Spec Overlay centrally under:
- Account Settings → Default Settings → Pod Spec Overlay
We would like equivalent functionality for IaCM so that Kubernetes pod configuration can be defined once at the account level and automatically inherited by temporary IaCM execution pods.
Requested Enhancement
Add an account-level/default Pod Spec Overlay configuration for IaCM, similar to the existing CI capability.
Ideally, customers should be able to define an IaCM Pod Spec Overlay under account settings and have it automatically applied to IaCM KubernetesDirect execution pods, while still allowing stage-level configuration/overrides where appropriate.
Log In