Loading
Commits on Source 7
-
ChengHao Yang authored
Co-authored-by:github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/11bd71901bbe5b1630ceea73d27597364c9af683...08c6903cd8c0fde910a37f88322edcfb5dd907a8 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Shaleen Bathla authored
Add variable to set kubelet staticPodPath location. It can be set to empty so that we can choose to disable it for some nodes. STIG recommendation is to disable it. Signed-off-by:
Shaleen Bathla <shaleenbathla@gmail.com> Co-authored-by:
ChengHao Yang <17496418+tico88612@users.noreply.github.com>
-
Ali Afsharzadeh authored
Signed-off-by:Ali Afsharzadeh <afsharzadeh8@gmail.com>
-
Ali Afsharzadeh authored
Signed-off-by:Ali Afsharzadeh <afsharzadeh8@gmail.com>
-
Elias Probst authored
Retrying to load conntrack modules was bound to fail due to the way, the current `when` conditions were utilized. It was based on the assumption, that in case of success, the registered variable would have an `rc` attribute with the value `0`. Unfortunately, the `rc` attribute is only present in case of a failure, where it's value is >1. The result of `community.general.modprobe` in case of success looks like this: ``` { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "name": "nf_conntrack", "params": "", "persistent": "present", "state": "present" } }, "item": "nf_conntrack", "name": "nf_conntrack", "params": "", "state": "present" } ], "skipped": false } ``` While it looks like this in case of a failure: ``` { "changed": false, "failed": true, "msg": "One or more items failed", "results": [ { "ansible_loop_var": "item", "attempts": 3, "changed": false, "failed": true, "invocation": { "module_args": { "name": "nf_conntrack_doesnotexist", "params": "", "persistent": "present", "state": "present" } }, "item": "nf_conntrack_doesnotexist", "msg": "modprobe: FATAL: Module nf_conntrack_doesnotexist not found in directory /lib/modules/5.14.0-570.32.1.el9_6.x86_64\n", "name": "nf_conntrack_doesnotexist", "params": "", "rc": 1, "state": "present", "stderr": "modprobe: FATAL: Module nf_conntrack_doesnotexist not found in directory /lib/modules/5.14.0-570.32.1.el9_6.x86_64\n", "stderr_lines": [ "modprobe: FATAL: Module nf_conntrack_doesnotexist not found in directory /lib/modules/5.14.0-570.32.1.el9_6.x86_64" ], "stdout": "", "stdout_lines": [] } ], "skipped": false } ``` By evaluating `failed` instead, this issue can be prevented. See also: - https://github.com/kubernetes-sigs/kubespray/issues/11340 Co-authored-by:Max Gautier <mg@max.gautier.name>
-
Max Gautier authored
The conntrack kernel modules have no reason to be something else than those two options, so there is no reason to have a variable.