Moby BuildKit
Providers
The following providers are needed by this module:
-
aws (5.70.0)
-
kubectl (2.0.4)
-
kubernetes (2.27.0)
-
pf (0.0.3)
Required Inputs
The following input variables are required:
eks_cluster_name
Description: The name of the EKS cluster.
Type: string
Optional Inputs
The following input variables are optional (have default values):
buildkit_image_version
Description: The version of BuildKit to use
Type: string
Default: "v0.14.1-rootless"
cache_clear_cron
Description: A cron expression for how often the BuildKit cache should be cleared.
Type: string
Default: "0 0 * * 0"
cpu_millicores
Description: The number of cpus millicores to request for the buildkit pod
Type: number
Default: 2000
initial_storage_gb
Description: The initial number of GB to use for the local image temp storage
Type: number
Default: 25
ip_allow_list
Description: A list of IPs that can use the service account token to authenticate with AWS API
Type: list(string)
Default: []
max_replicas
Description: The maximum number of replicas of buildkit to use
Type: number
Default: 10
max_storage_gb
Description: The maximum number of GB to use for the local image temp storage
Type: number
Default: 250
memory_mb
Description: The amount of memory in MB to request for the buildkit pod
Type: number
Default: 8000
min_replicas
Description: The minimum number of replicas of buildkit to use
Type: number
Default: 1
panfactum_image_version
Description: The version of the Panfactum image to use for maintenance tasks
Type: string
Default: "95508e2e860c95cee40e61245c8f588b6b73a39b"
panfactum_scheduler_enabled
Description: Whether to use the Panfactum pod scheduler with enhanced bin-packing
Type: bool
Default: true
pull_through_cache_enabled
Description: Whether to use the ECR pull through cache for the deployed images
Type: bool
Default: true
scale_down_delay_seconds
Description: How long since the last build was initiated that BuildKit will be automatically scaled to zero
Type: number
Default: 1800
vpa_enabled
Description: Whether the VPA resources should be enabled. Does not apply to the actual BuildKit containers.
Type: bool
Default: true
Outputs
The following outputs are exported:
cache_bucket_name
Description: n/a
cache_bucket_region
Description: n/a
ecr_registry
Description: n/a
eks_cluster_name
Description: n/a
Usage
No notes