Arthur Outhenin-Chalandre
46e1fbcdd9
dependabot: add group for molecule ( #11927 )
...
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr >
2025-01-28 00:59:23 -08:00
Max Gautier
1567e8ee6c
Add timestamp to kaniko builds ( #11923 )
...
The build steps at the start of CI takes about 2 minutes; now that we
have greatly reduced the overall duration, this is not an insignificant
impact.
Add timestamps to the build process to see measure which steps of the
image build take the most time.
2025-01-27 06:17:23 -08:00
Boris
76c0a3aa75
Add support for ipv6 only cluster via "enable_ipv6only_stack_networks" ( #11831 )
2025-01-27 04:15:22 -08:00
Qasim Mehmood
e107022b4b
Publish the ingress-nginx service address if manual address not defined and not using host network ( #11879 )
2025-01-24 00:47:21 -08:00
Anshuman Agarwala
ebcf9c3fff
Updated sample in inventory ( #11895 )
...
* Updated sample in inventory
* Review changes
2025-01-23 21:39:21 -08:00
Max Gautier
d23c1464c9
Remove krew support ( #11824 )
...
* Remove krew installation support
Krew is fundamentally to install kubectl plugins, which are eminently a
client side things.
It's also not difficult to install on a client machine.
* Remove krew cleanup
2025-01-23 20:45:21 -08:00
Kubernetes Prow Robot
cbd0b7bbc3
Merge pull request #11901 from VannTen/cleanup/verify_settings
...
Cleanup of preinstall assertions
2025-01-23 08:40:58 -08:00
Max Gautier
67a73764e4
Remove deprecation checks admission plugins list
...
This assertion is present since 2022, users inventories' should be clean
from it now.
2025-01-23 14:32:43 +01:00
Max Gautier
fba31beb07
Remove containerd_config assert
...
This assert is present since 2021, we can assume now users have removed
it from their inventories.
2025-01-23 14:32:43 +01:00
Max Gautier
775361206c
Drop compatibility for etcd_kubeadm_enabled
...
This has been deprecated for a long time, time to pull the plug.
We leave an assert for one release to have a straightforward failure if
some users were still using the variable.
2025-01-23 14:32:42 +01:00
Max Gautier
12a2c5eaa8
verify_settings: consolidate choices validation
2025-01-23 14:32:42 +01:00
Max Gautier
ed789c9b97
etcd_kubeadm simplify assert
2025-01-23 14:32:41 +01:00
Max Gautier
85d9e3e2ae
Don't check address space when using 'none' network plugin
...
Since 'none' can be, for instance, a manual calico deployment, don't
check whether there is enough ip for pods on a node, because the plugin
can use another mechanism than the podCIDR to allocate IPs.
2025-01-23 14:32:40 +01:00
Max Gautier
98cdb5348c
verify settings: fix etcd assertion when implicity etcd group
...
When the etcd group is not specified we assume it's kube_control_plane.
In that case, etcd still can't be even, so instead of only checking the
etcd group we need to default to kube_control_plane
2025-01-23 14:30:28 +01:00
Max Gautier
f53552e56b
verify_settings: Consolidate assert loop in one task
2025-01-23 14:30:26 +01:00
Max Gautier
277ab7339a
verify_settings: fix bad task name + remove redundant conditions
2025-01-23 14:29:48 +01:00
Max Gautier
191f71afea
Drop explicit k8s_cluster group in CI inventory ( #11858 )
...
This removes compatibility with releases below 2.27.0, now that it has
been released and that we're testing upgrades against it.
2025-01-23 02:34:58 -08:00
Max Gautier
bfe858ba06
CI: cleanup dependencies, pre-commit autoupdate ( #11904 )
...
ansible-lint and yamllint are run as pre-commit hooks, which are
installed by pre-commit directly. So there is no need to put them in
tests/requirements.txt.
So remove them and make it leaner.
2025-01-23 01:56:59 -08:00
Max Gautier
f8c4d5a899
Fix: hide 'ansible managed' balises in README.md ( #11919 )
...
[//]: -> apparently does not work for hiding on Github markdown
2025-01-23 01:34:58 -08:00
c-romeo
9008c40d0e
fix Calico typha deployment issue: #11916 ( #11917 )
2025-01-23 01:05:01 -08:00
Kubernetes Prow Robot
5a7e1be070
Merge pull request #11905 from VannTen/feat/readme_template_version
...
Update README.md versions automatically in pre-commit
2025-01-22 19:42:37 -08:00
Max Gautier
2a7b50a016
calico: don't set calico-node cpu limits by default ( #11914 )
...
Upstream calico isn't doing that, and:
- this can cause throttling
- the cpu needed by calico is very cluster / workload dependent
- missing cpu limits will not starve other pods (unlike missing memory
requests), because the kernel scheduler will still gives priority to
other process in pods not exceeding their requests
2025-01-22 19:24:36 -08:00
Max Gautier
d2e51e777c
CI: cleanup vars identical to kubespray defaults ( #11903 )
2025-01-21 05:46:37 -08:00
Max Gautier
89476b48e5
CI: scope stdout debug callback to kubespray test runs
...
The debug callback apparently breaks using ansible-playbook in
pre-commit, so scope the variables to only where we're using it instead.
2025-01-21 14:07:32 +01:00
Max Gautier
3f01d4725d
Apply new pre-commit version updater
2025-01-21 12:10:43 +01:00
Max Gautier
a142f40e25
Update versions in README.md with pre-commit
...
Currently, versions in README.md need to be manually updated, and we
check it's done with a bash script.
Add a small utility playbook to add versions in README.md from their
actual default values, automatically.
This is done in pre-commit, and replace the scripted check ; instead it
will autofix the README.md, and fails in CI if needed.
We switch markdownlint behind the local hooks to gave it the opportunity
to catch a problem with the rendering.
2025-01-21 12:10:21 +01:00
Max Gautier
0e91000a04
CI: remove retry from jobs ( #11899 )
...
Since e8ee42280 (CI: remove deletion tasks of 'packet' VMs, 2024-09-13),
our tests appears to not be flakey anymore.
The current retry slow down the testing feedback on pull request.
Since it's not needed anymore, don't retry and fail fast.
2025-01-19 18:38:35 -08:00
Kubernetes Prow Robot
e73c2d081c
Merge pull request #11898 from VannTen/cleanup/ci/run_without_sample
...
Run CI without the sample inventory
2025-01-17 08:00:36 -08:00
Max Gautier
5862bff044
ci: show pre-commit diff on failure
...
Sometimes the change done by pre-commit are not obvious, this should
help.
2025-01-17 16:22:58 +01:00
Max Gautier
b548ccbe7f
Adapt CI/vagrant to run without sample inventory
2025-01-17 16:22:57 +01:00
Kubernetes Prow Robot
a5142e7dfd
Merge pull request #11891 from VannTen/download_graphql
...
Overhaul of the python hashes updater
2025-01-17 04:16:07 -08:00
ChengHao Yang
3930919283
Cleanup OWNERS files in each folders ( #11892 )
...
* Cleanup not in k-sigs members OWNERS
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Cleanup inactive members on Kubespray
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-01-15 12:10:34 -08:00
Kay Yan
b104bb7a57
[kubernetes] Support Kubernetes v1.32.0 with RHEL8 ( #11885 )
...
* [kubernetes] Support Kubernetes v1.32.0
* add workaround for RHEL8
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
---------
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Mohamed Zaian <mohamedzaian@gmail.com >
2025-01-15 08:54:35 -08:00
Max Gautier
bc36e9d440
hash-updater: apply formatter
2025-01-15 14:34:48 +01:00
Max Gautier
d8629b8e7e
download: separate static metadata into it's own file
...
By separating logic from data, we should make it easier to add new
components.
2025-01-15 14:32:49 +01:00
Bas
c84336b48c
Contrib: upload2artifactory.py ( #11886 )
...
* Contrib: upload2artifactory.py
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl >
* Pythonic
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl >
* Suggested
Co-authored-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr >
* upload2artifactory.py documentation.
---------
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl >
Co-authored-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr >
2025-01-15 05:18:33 -08:00
Christian Kröger
403a73ac11
[ingress-nginx] expose custom tcp and udp ports in ingress-nginx-controller ( #11850 )
2025-01-15 05:14:33 -08:00
Fredrik Liv
5ca23e3bfe
Changed to use first_kube_control_plane to parse kubeadm_certificate_key ( #11875 )
...
Co-authored-by: nvalembois <nvalembois@live.com >
2025-01-14 08:34:34 -08:00
Max Gautier
4d3f06e69e
download: cleanup graphQL query
...
- remove unused parts in the response
- clarify variables names
2025-01-14 17:04:29 +01:00
Max Gautier
d17bd286ea
download: allow excluding some component
...
This is handy when some component releases is buggy (missing file at the
download links) to not block everything else.
Move the filtering up the stack so we don't have to do it multiples
times.
2025-01-14 17:04:28 +01:00
Max Gautier
55cff4f3d3
download: get checksums file relative to git root
...
This means the update-hashes command can be run anywhere in Kubespray
repository without having to figure out the correct path.
2025-01-14 17:04:28 +01:00
Max Gautier
76e07daa12
download: put grapqQL query in package + read from importlib
2025-01-14 17:04:27 +01:00
Max Gautier
a551922c84
Adapt download.py to run as a package script
2025-01-14 17:04:27 +01:00
Max Gautier
ba3258d7f0
Move download_hash.py into a python package
...
Can operate on several branches without the need for backport
2025-01-14 17:04:26 +01:00
Max Gautier
9b56840d51
download: create pyproject.toml
2025-01-14 17:04:24 +01:00
Max Gautier
4351b47ebe
download: convert to logging
2025-01-14 17:04:18 +01:00
Max Gautier
b08c5e8b14
download: Log Github rate-limit status
2025-01-14 17:02:29 +01:00
Kay Yan
3527cb1916
Update CI test from AlmaLinux8 to AlmaLinux9 ( #11889 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2025-01-14 02:50:32 -08:00
Max Gautier
81790cab91
download: remove unneeded imports
2025-01-14 10:41:42 +01:00
Max Gautier
9fbc566d98
download: Support adding new versions and update the doc
2025-01-14 10:41:41 +01:00