Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT][Terraform - AKS] Enable Image Cleaner #41

Open
yelghali opened this issue Apr 6, 2023 · 0 comments
Open

[DRAFT][Terraform - AKS] Enable Image Cleaner #41

yelghali opened this issue Apr 6, 2023 · 0 comments

Comments

@yelghali
Copy link

yelghali commented Apr 6, 2023

It's common to use pipelines to build and deploy images on Azure Kubernetes Service (AKS) clusters. While great for image creation, this process often doesn't account for the stale images left behind and can lead to image bloat on cluster nodes. These images can present security issues as they may contain vulnerabilities. By cleaning these unreferenced images, you can remove an area of risk in your clusters. When done manually, this process can be time intensive, which Image Cleaner can mitigate via automatic image identification and removal.

to learn more: https://learn.microsoft.com/en-us/azure/aks/image-cleaner?tabs=azure-cli

code scan check:
image_cleaner_enabled - (Optional) Specifies whether Image Cleaner is enabled.
From https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster

@jhertout jhertout transferred this issue from green-code-initiative/creedengo-challenge May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants