Repository navigation
v0.22.8
What's Changed
Features
- Standardize Fargate SecurityGroupPolicy exclusions: Introduced granular pod exclusions by label to prevent unintentional "Pod ENI" injection on node-level agents (DaemonSets) like
ebs-csi-node,aws-node, andkube-proxy. This resolves startup delays and EBS mounting failures in thekube-systemnamespace. - Automated KEDA-based scaling for non-production environments: Introduced automated "scale to zero" during off-peak hours for non-production clusters to reduce costs.
- Added
is_productionandkeda_scaling_enabledflags to toggle scaling logic. - Automated creation of KEDA
ScaledObjectresources for system components (metrics-server,cert-manager,karpenter,ebs-csi-controller,aws-load-balancer-controller). - Added automated
CronJobresources to scale KEDA itself up and down around office hours. - Exposed
keda_additional_scaling_targetsvariable for user-defined workloads.
- Added
New Variables
Fargate SecurityGroupPolicy Exclusions:
fargate_security_group_policy_excluded_apps(default:["ebs-csi-node"]): List of 'app' label values to exclude.fargate_security_group_policy_excluded_k8s_apps(default:["aws-node", "kube-proxy"]): List of 'k8s-app' label values to exclude.fargate_security_group_policy_excluded_names(default:["eks-pod-identity-agent"]): List of 'app.kubernetes.io/name' label values to exclude.
Automated KEDA Scaling (Essentials Module):
is_production(default:false): Toggles whether the environment is production (disables aggressive downscaling if true).keda_scaling_enabled(default:true): Toggles scaling for KEDA operator and metric server.keda_additional_scaling_targets(default:[]): List of additional, user-defined scaling targets.keda_scaling_timezone(default:"Asia/Singapore"): Timezone for cron schedules.keda_self_scale_down_schedule(default:"0 21 * * 1-5"): Cron schedule to scale down KEDA components.keda_self_scale_up_schedule(default:"30 7 * * 1-5"): Cron schedule to scale up KEDA components.
Enhancements & Upgrades
- EKS 1.35 Support: Bumped the maximum supported EKS cluster version to
1.35. - Karpenter: Bumped Karpenter Helm chart and CRD chart versions to
1.10.0. - Tooling:
- Updated
tflint-ruleset-awsplugin to version0.47.0. - Updated
pre-commit-terraformandmarkdown-link-checkhooks.
- Updated
Fixes
- Karpenter Fargate Profile: Restricted the
fargate_node_security_group_policy_for_karpenterto explicitly matchapp.kubernetes.io/name: karpenter.
Full Changelog: v0.22.7...v0.22.8