-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Rebase the image to distroless #1787
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
Done. CA 1.16.0 is based on distroless image. (https://github.com/kubernetes/autoscaler/releases/tag/cluster-autoscaler-1.16.0) |
We are currently working on rebasing k8s base images to distroless. Distroless image has several good features (smaller in size, fewer components requiring CVE patching, etc) but also doesn't have some dependencies autoscaler uses (shell). To use distroless as the base image, the following AIs needs to be done:
Step 1. Sync up with current k8s head.
Reason: oss kubernetes no longer uses glog which requires shell to redirect the log file. Instead, k8s is using klog which accepts a log path flag. This sync-up is necessary to remove the bash file run.sh which is used to redirect the glog.
Step 2. Replace the glog to klog in other autoscaler files.
Step 3. Update the base image to distroless and remove distroless-preinstalled packages like ca-certificate.
Step 4. After the above steps are done, require release engineers' help on monitoring the performance.
The text was updated successfully, but these errors were encountered: