Antoine Legrand
a6c96ccfb9
Update README.md
2025-01-03 18:00:20 +01:00
Mohamed Omar Zaian
9ec9b3a202
[ingress-nginx] upgrade to 1.12.0 ( #11846 )
v2.27.0
2025-01-02 04:58:14 +01:00
Antoine Legrand
0222a2a634
Add option to skip network plugin installation ( #11844 )
2024-12-31 12:52:13 +01:00
Kubernetes Prow Robot
57490d5e5e
Merge pull request #11793 from VannTen/cleanup/ci_testcases_better_callback
...
Use debug stdout callback in ci rather than manual debug
2024-12-27 18:40:12 +01:00
Kubernetes Prow Robot
5af3a34de8
Merge pull request #11819 from VannTen/cleanup/preinstall_fact
...
Cleanups in kubernetes/preinstall (DNS stuff)
2024-12-27 18:04:11 +01:00
ChengHao Yang
54a01f2774
Bump: Containerd upgrade to 1.7.24 & runc upgrade to v1.2.3 ( #11833 )
...
* Bump: Containerd upgrade to 1.7.24
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Docs: README.md update Containerd version 1.7.24
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Bump: runc upgrade to v1.2.3
Runc upgrade to v1.2.3, and add v1.1.15, v1.2.x checksum
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2024-12-27 13:36:11 +01:00
Max Gautier
6f6da3d3c7
Update SECURITY_CONTACTS with active maintainers ( #11827 )
...
* Update SECURITY_CONTACTS with active maintainers
* Add yankay to SECURITY_CONTACTS
2024-12-27 06:26:13 +01:00
ChengHao Yang
a6bc327d63
Bump: Helm upgrade to v3.16.4 ( #11832 )
...
* Bump: Helm default version v3.16.4
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Docs: README.md update helm version
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2024-12-26 14:24:11 +01:00
Mohamed Omar Zaian
25d0380db7
[calico] Add version 3.29.1 and make it default ( #11798 )
2024-12-25 23:14:11 +01:00
ChengHao Yang
3305ae9235
Bump: Kubernetes default version v1.31.4 ( #11828 )
...
* Bump: kubernetes upgrade to 1.31.4
Add Kubernetes 1.31.4, 1.30.8 and 1.29.12 version
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Docs: Upgrade Kubernetes version to 1.31.4
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2024-12-25 23:10:13 +01:00
kyrie
e7a5e3ca5c
Fix using the default network manager in reset.yml ( #11678 )
...
* enhance reset network service
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io >
* reset network service: use systemd module directly
---------
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io >
Co-authored-by: Max Gautier <mg@max.gautier.name >
2024-12-24 15:50:11 +01:00
dependabot[bot]
6c69ffed5b
build(deps): bump molecule-plugins[vagrant] from 23.5.3 to 23.6.0 ( #11826 )
...
Bumps [molecule-plugins[vagrant]](https://github.com/ansible-community/molecule-plugins ) from 23.5.3 to 23.6.0.
- [Release notes](https://github.com/ansible-community/molecule-plugins/releases )
- [Commits](https://github.com/ansible-community/molecule-plugins/compare/v23.5.3...v23.6.0 )
---
updated-dependencies:
- dependency-name: molecule-plugins[vagrant]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 14:46:11 +01:00
Max Gautier
d173f1d951
Only consider host in 'k8s_cluster' when checking if ip is a cached fact ( #11817 )
...
This avoids spurious failure with 'localhost'.
It should also be more correct the inventory contains uncached hosts
which are not in `k8s_cluster` and therefore should not be Kubespray
business.
(We still use hostvars for uncached hosts, because it's easier to select
on 'ansible_default_ipv4' that way and does not change the end result)
2024-12-23 08:48:10 +01:00
Max Gautier
91ad58a185
Update ansible-lint pre-commit + drop jsonschema dep ( #11818 )
2024-12-20 03:00:09 +01:00
Chad Swenson
2fbf4806ed
Add ResourceQuota plugin configuration ( #11814 )
...
This enables [configuration](https://kubernetes.io/docs/concepts/policy/resource-quotas/#limit-priority-class-consumption-by-default ) of the [ResourceQuota AdmissionController plugin](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#resourcequota ). The configuration file will be empty by default when no limitedResources are set.
2024-12-19 18:12:09 +01:00
Max Gautier
684f52eaf4
kubernetes/preinstall: remove unused variable
2024-12-19 16:30:48 +01:00
Max Gautier
55e095c1c7
kubernetes/preinstall: dns vars cleanup
...
- Move validation from facts to verify-settings
- Move set_fact to vars/
2024-12-19 16:30:47 +01:00
Max Gautier
1127a62176
kubernetes/preinstall: dns setting cleanup(dhclient, resolvconf)
...
We use a lot of facts where variables are enough, and format too early,
which prevent reusing the variables in different contexts.
- Moves set_fact variables to the vars directory, remove unnecessary
intermediate variables, and render them at usage sites to only do logic
on native Ansible/Jinja lists.
- Use defaults/ rather than default filters for several variables.
2024-12-19 16:30:46 +01:00
Max Gautier
a3e569f5c4
kubernetes/preinstall: switch coredns_server to vars/
2024-12-19 15:51:02 +01:00
Ekko
bf70335493
Add iproute(2) package checking ( #11816 )
...
Signed-off-by: ekko <lihai.tu@daocloud.io >
2024-12-19 11:32:09 +01:00
Max Gautier
180ce0b2ce
CI: test hardening setup in normal CI run ( #11809 )
2024-12-18 15:40:09 +01:00
Max Gautier
331671ac30
Revert "apiserver: fix incorrect path to admission plugins config files ( #11779 )" ( #11808 )
...
This reverts commit 742409e663 .
2024-12-18 15:02:10 +01:00
Emilien M
03de8ff566
Fix Ansible example values for OpenStack controller ( #11803 )
2024-12-17 16:06:52 +01:00
ERIK
540c6ddb96
remove legacy kubelet container pre-upgrade tasks ( #11805 )
...
Signed-off-by: bo.jiang <bo.jiang@daocloud.io >
2024-12-17 09:38:54 +01:00
Kubernetes Prow Robot
da077ab8a6
Merge pull request #11700 from VannTen/feat/kubectl_stdin
...
Convert kubernetes-apps to use kubectl directly
2024-12-17 08:06:53 +01:00
Kubernetes Prow Robot
30f0a14489
Merge pull request #11792 from VannTen/flake/race_sa_creation
...
Fix flakey test + cleanup in testcases/030-checknetwork
2024-12-17 03:26:52 +01:00
Kubernetes Prow Robot
acfaef2adf
Merge pull request #11797 from VannTen/ci/fix_collection_testing
...
CI: build collection before runnings tests
2024-12-16 11:12:51 +01:00
Max Gautier
742409e663
apiserver: fix incorrect path to admission plugins config files ( #11779 )
2024-12-16 09:40:52 +01:00
dependabot[bot]
a2cde9e77e
build(deps): bump ansible-lint from 24.10.0 to 24.12.2 ( #11799 )
...
Bumps [ansible-lint](https://github.com/ansible/ansible-lint ) from 24.10.0 to 24.12.2.
- [Release notes](https://github.com/ansible/ansible-lint/releases )
- [Commits](https://github.com/ansible/ansible-lint/compare/v24.10.0...v24.12.2 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 07:50:51 +01:00
Max Gautier
7da317348c
CI: remove IDEMPOT_CHECK ( #11796 )
...
There is no test with IDEMPOT_CHECK=true since commit 7b78e6872 (disable
idempotency tests (#1872 ), 2017-10-26)
Remove the related infra from our CI scripts.
2024-12-13 20:02:26 +01:00
Max Gautier
2dddb4fb65
CI: test collections in one packet job
2024-12-13 16:44:31 +01:00
Max Gautier
18fab585ad
CI: build collection before runnings tests
...
We were running the playbooks before building the collections, so this
probably wasn't testing much.
2024-12-13 16:44:30 +01:00
Max Gautier
86a949dc81
CI: Remove Flatcar specifics
...
We don't test Flatcar at all in CI, thus remove special handling for it.
2024-12-13 11:44:51 +01:00
Max Gautier
f6d1c294d4
CI: Use the debug stdout callback instead of manual debug
...
This display in a readable (by humans) way the result of most tasks, and
should be way more readable that what we have now, which is frequently a
bunch of unreadable json.
+ some small fixes (using delegated_to instead of when
<control_plane_host>)
2024-12-13 11:44:49 +01:00
Max Gautier
630e9de658
CI: drop special casing for Opensuse and CoreOS ( #11791 )
...
- special casing should be in Kubespray, not in the test. It makes no
sense to do something in tests which won't be done in actual usage.
- We don't actually test CoreOS at all in the CI.
2024-12-13 03:52:26 +01:00
Max Gautier
12ed1fcf93
CI-tests: remove hostnets stuff from 030_check-network
...
There is no pods with hostNetwork deployed in this test, and therefore
the tasks are skipped / empty output (checked in CI).
2024-12-12 15:52:05 +01:00
Max Gautier
930df78d8a
CI: Use deployment instead of Pod for agnhost
...
This is a followup to 2ba28a338 (Revert "Wait for available API token in
a new namespace (#7045 )", 2024-10-25).
While checking for the serviceaccount token is not effective, there is
still a race when creating a Pod directly, because the ServiceAccount
itself might not be created yet.
More details at https://github.com/kubernetes/kubernetes/issues/66689 .
This cause very frequent flakes in our CI with spurious failures.
Use a Deployment instead ; it will takes cares of creating the Pods and
retrying ; it also let us use kubectl rollout status instead of manually
checking for the pods.
2024-12-12 15:52:04 +01:00
Kubernetes Prow Robot
74aee12305
Merge pull request #11786 from VannTen/cleanup/unused_ci_test_files
...
Remove testfiles which are not used in the CI.
2024-12-12 12:32:27 +01:00
Kubernetes Prow Robot
45847ce052
Merge pull request #11785 from VannTen/cleanup/tests_reqs
...
Remove ara in CI + some cleanup
2024-12-12 12:24:28 +01:00
Max Gautier
5bfc3396e9
CI: ignore Mem errors for some failing test in ci-extended
2024-12-12 09:52:59 +01:00
Max Gautier
b9e9364c50
Remove ara support in CI
...
We do not use it and it has some overhead.
2024-12-11 17:28:35 +01:00
Max Gautier
61b9bb93f1
Remove unneeded test dependencies
...
AFAICS, these are not used anywhere
2024-12-11 17:28:33 +01:00
Max Gautier
d9cf380ce0
Remove testfiles which are not used in the CI.
...
To reproduce this commit run in bash:
for file in $(ls tests/files/)
do
if ! grep -Rq ${file%.*} .gitlab.ci; then
rm tests/files/${file}
fi
done
This also means that our CI matrix was not accurate.
2024-12-11 17:21:49 +01:00
Max Gautier
1307b2fe07
containerd: add After=dbus.service ( #11781 )
...
This is needed for shutdown ordering: while at startup, it's not a
problem that containerd start before dbus (the dbus socket already
exists) it needs to shutdown before dbus to do its cleanup (asking
systemd via dbus to cleanup cgroups).
2024-12-11 08:58:03 +00:00
Enrico Falco
782c0b35eb
Support python 3.12 for terraform.py in regex expression ( #11773 )
2024-12-09 15:50:02 +00:00
dependabot[bot]
fccd143533
build(deps): bump molecule from 24.9.0 to 24.12.0 ( #11774 )
...
Bumps [molecule](https://github.com/ansible-community/molecule ) from 24.9.0 to 24.12.0.
- [Release notes](https://github.com/ansible-community/molecule/releases )
- [Commits](https://github.com/ansible-community/molecule/compare/v24.9.0...v24.12.0 )
---
updated-dependencies:
- dependency-name: molecule
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 14:56:05 +00:00
dependabot[bot]
8702b6f3fd
build(deps): bump ansible from 9.12.0 to 9.13.0 ( #11775 )
...
Bumps [ansible](https://github.com/ansible-community/ansible-build-data ) from 9.12.0 to 9.13.0.
- [Changelog](https://github.com/ansible-community/ansible-build-data/blob/main/docs/release-process.md )
- [Commits](https://github.com/ansible-community/ansible-build-data/compare/9.12.0...9.13.0 )
---
updated-dependencies:
- dependency-name: ansible
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 14:44:06 +00:00
Max Gautier
7c71f257b4
Convert netchecker to kubectl_apply_stdin
...
Not that the Apparmor check result is no longer used since the PSP removal.
2024-12-09 15:37:09 +01:00
Kundan Kumar
14e0df3450
updated link for migrate_docker2containerd.md ( #11771 )
2024-12-09 09:12:02 +00:00
Max Gautier
31e56ab76d
Convert nodelocaldns to kubectl_apply_stdin
2024-12-09 10:10:52 +01:00