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

Support disable kernel unattended-upgrades on Ubuntu #11296

Merged

Conversation

tu1h
Copy link
Member

@tu1h tu1h commented Jun 13, 2024

Support disable unattended-upgrades for Linux kernel and all packages start with linux- on Ubuntu

What type of PR is this?
/kind feature

What this PR does / why we need it:
After each kernel update in Ubuntu, the system needs to reboot to load the new kernel. If you have installed the unattended-upgrades feature (enabled by default), the system will automatically download and install available updates, which may cause the system to be rebooted without notice, and if you are using software that depends on a specific version of the kernel, compatibility issues may occur when the system is automatically updated to the new kernel version.
So when using Ubuntu, it is recommended to give an option to control kernel updates.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Add option `ubuntu_kernel_unattended_upgrades_disabled` to control unattended-upgrades for Linux kernel and all packages start with linux- on Ubuntu

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. labels Jun 13, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 13, 2024
@tu1h tu1h force-pushed the disable_kernel_unattended_upgrade branch from 0a72468 to 7584e39 Compare June 18, 2024 02:26
@yankay
Copy link
Member

yankay commented Jun 18, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jun 18, 2024
@tu1h tu1h force-pushed the disable_kernel_unattended_upgrade branch from 7584e39 to aa0bfaf Compare June 18, 2024 03:05
… start with linux- on Ubuntu

Signed-off-by: tu1h <lihai.tu@daocloud.io>
@tu1h tu1h force-pushed the disable_kernel_unattended_upgrade branch from aa0bfaf to 03762e5 Compare June 20, 2024 07:42
@yankay
Copy link
Member

yankay commented Jun 21, 2024

/retest

@yankay
Copy link
Member

yankay commented Jun 24, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tu1h, yankay

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 24, 2024
@ant31
Copy link
Contributor

ant31 commented Jun 26, 2024

/lgtm

Thank you!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 26, 2024
@k8s-ci-robot k8s-ci-robot merged commit 817c616 into kubernetes-sigs:master Jun 26, 2024
79 checks passed
Rickkwa pushed a commit to Rickkwa/kubespray that referenced this pull request Jun 26, 2024
… start with linux- on Ubuntu (kubernetes-sigs#11296)

Signed-off-by: tu1h <lihai.tu@daocloud.io>
@yankay yankay mentioned this pull request Aug 28, 2024
davidumea pushed a commit to elastisys/kubespray that referenced this pull request Oct 25, 2024
… start with linux- on Ubuntu (kubernetes-sigs#11296)

Signed-off-by: tu1h <lihai.tu@daocloud.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants