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

[kubernetes] Support kubernetes 1.31.1 #11533

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

philipsabri
Copy link
Contributor

@philipsabri philipsabri commented Sep 13, 2024

What type of PR is this?
/kind feature

What this PR does / why we need it:
Support Kubernetes 1.31

Which issue(s) this PR fixes:

Fixes #11523

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Make kubernetes v1.31.1 default
Add hashes for Kubernetes 1.31.0 and 1.31.1

@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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 13, 2024
@k8s-ci-robot
Copy link
Contributor

Welcome @philipsabri!

It looks like this is your first PR to kubernetes-sigs/kubespray 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/kubespray has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @philipsabri. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 13, 2024
@philipsabri
Copy link
Contributor Author

I followed #11343 as an example, but do I need to create a PR for the hashes prior to this similar to #11261, or is this good enough?

@tico88612
Copy link
Member

You should add hashes before.

@mzaian
Copy link
Contributor

mzaian commented Sep 13, 2024

I followed #11343 as an example, but do I need to create a PR for the hashes prior to this similar to #11261, or is this good enough?

Just add the hashes into this PR.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 13, 2024
@yankay
Copy link
Member

yankay commented Sep 14, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 14, 2024
@philipsabri
Copy link
Contributor Author

Hmm I assume this is why the tests are failing

fatal: [instance-2]: FAILED! => {"attempts": 4, "changed": true, "checksum_dest": null, "checksum_src": "47f2ade14d96ffe23c50c43f618dec0ff761d401", "dest": "/builds/kargo-ci/kubernetes-sigs-kubespray/downloads/crictl-v1.31.0-linux-amd64.tar.gz", "elapsed": 0, "msg": "The checksum for /builds/kargo-ci/kubernetes-sigs-kubespray/downloads/crictl-v1.31.0-linux-amd64.tar.gz did not match d465edf8268299098013c9f484aeef7179fe992a03567fc8c430fb1079aaf979; it was 9daa32308090aedee5a7f2ab1f1428fef6f669a64e993f0b5b98db8ef6edd71b.", "src": "/home/kubespray/.ansible/tmp/ansible-tmp-1726281259.3226793-2329-251837863028722/tmpgpd6lvju", "url": "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.31.0/crictl-v1.31.0-linux-amd64.tar.gz"}

I am using the python script to get the hashes though. Do you manually add them in these cases?

@tico88612
Copy link
Member

I am using the python script to get the hashes though. Do you manually add them in these cases?

I've pushed a fix to download_hash.py so you can manually fix the hash of crictl.

#11534

@philipsabri philipsabri force-pushed the feature/k8s-1.31 branch 2 times, most recently from f1df38c to 8bcf4cd Compare September 14, 2024 17:38
@philipsabri
Copy link
Contributor Author

Can't figure out why the tests are failing, would appreciate if anyone can point me in the right direction?

@tico88612
Copy link
Member

/retest-failed

@tico88612
Copy link
Member

Hmmm, this is awkward. Cri-o seems to have changed its binary name at a specific time, and the CI didn't find the corresponding file.

You could refer to #10820 to make the change.

@philipsabri
Copy link
Contributor Author

Required tests passed. However, I'm not entirely sure about the non-required test related to CRI-O in this job but I'm looking into it.

@tico88612
Copy link
Member

@ant31 @VannTen How do we fix the Kubespray CI - molecule_cri-o job? (CRITICAL Idempotence test failed because of the following tasks......)

@yankay
Copy link
Member

yankay commented Sep 20, 2024

HI @VannTen @tico88612 @mzaian
Would you please help to review it again. :-)

@tico88612
Copy link
Member

tico88612 commented Sep 20, 2024

@yankay, I would like to know the impact of a failure of the Idempotence test, which has not occurred in the past, although it is marked as a allow_failure.
(Kubespray CI - molecule_cri-o)

@yankay
Copy link
Member

yankay commented Sep 20, 2024

@yankay, I would like to know the impact of a failure of the Idempotence test, which has not occurred in the past, although it is marked as a allow_failure. (Kubespray CI - molecule_cri-o)

Thanks @tico88612

I have not noticed the CI fail. :-)

@yankay yankay removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 20, 2024
@yankay
Copy link
Member

yankay commented Sep 20, 2024

From the release note https://github.com/cri-o/cri-o/releases/tag/v1.31.0 , the cri-o using crun as the default runtime.

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/contains-merge-commits labels Sep 20, 2024
@tico88612
Copy link
Member

tico88612 commented Sep 20, 2024

Please use rebase instead of merge commit.

@philipsabri
Copy link
Contributor Author

From the release note https://github.com/cri-o/cri-o/releases/tag/v1.31.0 , the cri-o using crun as the default runtime.

Would that be a larger change in this PR or just a variable somewhere?

@yankay
Copy link
Member

yankay commented Sep 23, 2024

From the release note https://github.com/cri-o/cri-o/releases/tag/v1.31.0 , the cri-o using crun as the default runtime.

Would that be a larger change in this PR or just a variable somewhere?

HI @philipsabri

I have submitted an issue for it #11561. It can be changed in another PR (not this PR).
Let's support kubernetes 1.31 first and pass the CI.

@yankay
Copy link
Member

yankay commented Sep 23, 2024

HI @mzaian @tico88612
Would you please help to review it ?

@tico88612
Copy link
Member

I'd like to know why molecule_cri-o errors (although it's allowed to fail) (it looks like the idempotence test failed.), if it's due to cri-o changing the default runtime, I'd think it's fine.

@yankay
Copy link
Member

yankay commented Sep 23, 2024

I'd like to know why molecule_cri-o errors (although it's allowed to fail) (it looks like the idempotence test failed.), if it's due to cri-o changing the default runtime, I think it's okay.

HI @tico88612

The reason is that:
From the https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/7889475919#L2730: The runc file changes.
Because these two files have the same name:

To resolve the issue, the cri-o may not need to use the dependency: https://github.com/kubernetes-sigs/kubespray/blame/master/roles/container-engine/cri-o/meta/main.yml#L3 .

I think this PR merge is not blocked. We can open an issue regarding the molecule_cri-o failure.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 24, 2024
@tico88612
Copy link
Member

@yankay, thank you for investigating the cause of the CI failure. This issue should not have much impact in the short term. (open another issue to fix it)

@philipsabri, could you rebase this PR?

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 24, 2024
Copy link
Member

@tico88612 tico88612 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @philipsabri
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 25, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: philipsabri, tico88612, 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 merged commit 15bb5b0 into kubernetes-sigs:master Sep 25, 2024
40 checks passed
JosBritton added a commit to JosBritton/kubespray that referenced this pull request Sep 26, 2024
commit 656ed79
Author: janosbabik <143906591+janosbabik@users.noreply.github.com>
Date:   Thu Sep 26 10:12:01 2024 +0200

    [etcd] make etcd 3.5.16 default (kubernetes-sigs#11572)

    * [etcd] make etcd 3.5.16 default

    * Update etcd binary checksums for version 3.5.16 and lower

commit e355bef
Author: Bakke <luringens@protonmail.com>
Date:   Thu Sep 26 07:22:02 2024 +0000

    fix: vsphere image repositories, tags and docs (kubernetes-sigs#11564)

    The old repository for these has been deleted, leaving the previous
    configuration not possible to deploy, and even currently running clusters
    fail after a restart as the DeameonSet has ImagePullPolicy: Always. More
    details can be found here: kubernetes-sigs/vsphere-csi-driver#3053

    As of writing, only CSI driver versions 3.1.2 to 3.3.1 is available in
    this registry. This "officially" supports Kubernetes 1.26 to 1.30. Since
    older drivers are not available, I have removed some feature-gating for
    those unavailable versions while I was at it. For the cloud provider,
    the `latest` image is now missing, and only 1.28.0 to 1.31.0 are
    available. I've set the latest of these as the new default.

    I also updated the documented default versions, as they were all out of
    date and not aligned with actual code defaults.

commit 15bb5b0
Author: Philip Sabri <Philipsabri@gmail.com>
Date:   Wed Sep 25 06:10:01 2024 +0200

    [kubernetes] Support kubernetes 1.31.1 (kubernetes-sigs#11533)

commit ebdc599
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Sep 24 02:52:00 2024 +0100

    Bump tox from 4.18.1 to 4.20.0 (kubernetes-sigs#11562)

    Bumps [tox](https://github.com/tox-dev/tox) from 4.18.1 to 4.20.0.
    - [Release notes](https://github.com/tox-dev/tox/releases)
    - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
    - [Commits](tox-dev/tox@4.18.1...4.20.0)

    ---
    updated-dependencies:
    - dependency-name: tox
      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>

commit 1c0718b
Author: Baargav <baargavrag@gmail.com>
Date:   Mon Sep 23 10:31:59 2024 -0400

    update containerd 1.7.22 (kubernetes-sigs#11554)

commit 03a055c
Merge: e9d406e fe60832
Author: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com>
Date:   Mon Sep 23 14:16:00 2024 +0100

    Merge pull request kubernetes-sigs#10643 from VannTen/cleanup/k8s_node_templates

    Refactor kubernetes/node templates

commit e9d406e
Merge: 99c6a88 1818993
Author: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com>
Date:   Mon Sep 23 10:08:00 2024 +0100

    Merge pull request kubernetes-sigs#11559 from VannTen/cleanup/less_inventory_boilerplate

    Only require minimum structure in inventory, compute the rest

commit 99c6a88
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Sep 23 09:32:00 2024 +0100

    Bump ansible-lint from 24.9.0 to 24.9.2 (kubernetes-sigs#11563)

    Bumps [ansible-lint](https://github.com/ansible/ansible-lint) from 24.9.0 to 24.9.2.
    - [Release notes](https://github.com/ansible/ansible-lint/releases)
    - [Commits](ansible/ansible-lint@v24.9.0...v24.9.2)

    ---
    updated-dependencies:
    - dependency-name: ansible-lint
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 1818993
Author: Max Gautier <mg@max.gautier.name>
Date:   Sat Sep 21 15:10:59 2024 +0200

    CI: for upgrade testing, checkout old version before provisioning

    Otherwise, modifying the test inventory + it's expected structure will
    always fail.

commit 88b6f08
Author: Max Gautier <mg@max.gautier.name>
Date:   Sat Sep 21 14:33:45 2024 +0200

    Documentation of k8s_cluster auto-defined

    Also remove the group from the example inventory, since it should not be
    needed anymore.

commit 7580e59
Author: Max Gautier <mg@max.gautier.name>
Date:   Sat Sep 21 14:16:17 2024 +0200

    Define k8s_cluster dynamically

    This allows inventories to not define the k8s_cluster group manually.

commit 2ec1c93
Author: Max Gautier <mg@max.gautier.name>
Date:   Sat Sep 21 14:09:09 2024 +0200

    Test group membership with group_names

    Testing for group membership with group names makes Kubespray more
    tolerant towards the structure of the inventory.
    Where 'inventory_hostname in groups["some_group"] would fail if
    "some_group" is not defined, '"some_group" in group_names' would not.

commit 89ff071
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Sep 20 10:45:58 2024 +0100

    Bump ansible-lint from 24.7.0 to 24.9.0 (kubernetes-sigs#11541)

    Bumps [ansible-lint](https://github.com/ansible/ansible-lint) from 24.7.0 to 24.9.0.
    - [Release notes](https://github.com/ansible/ansible-lint/releases)
    - [Commits](ansible/ansible-lint@v24.7.0...v24.9.0)

    ---
    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>

commit 1fa4bb7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Sep 20 09:33:39 2024 +0100

    Bump ansible from 9.8.0 to 9.10.0 (kubernetes-sigs#11540)

    Bumps [ansible](https://github.com/ansible-community/ansible-build-data) from 9.8.0 to 9.10.0.
    - [Changelog](https://github.com/ansible-community/ansible-build-data/blob/main/docs/release-process.md)
    - [Commits](ansible-community/ansible-build-data@9.8.0...9.10.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>

commit 93ee122
Merge: 4323e5d d54356e
Author: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com>
Date:   Fri Sep 20 01:05:14 2024 +0100

    Merge pull request kubernetes-sigs#11521 from VannTen/cleanup/deduplicate_kubeadm_control_plane

    Use in inventory variables rather than patch files for kubeadm_patches

commit 4323e5d
Author: Leeon Fu <48649837+leeonfu@users.noreply.github.com>
Date:   Fri Sep 20 02:14:37 2024 +0800

    Reset operation, disable service enabled and clean container's logs. (kubernetes-sigs#11501)

commit 1636979
Merge: 893e9cb 4bf2d7a
Author: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com>
Date:   Thu Sep 19 13:46:45 2024 +0100

    Merge pull request kubernetes-sigs#11527 from VannTen/feat/vagrant_multi_inv

    Cleanup Vagrantfile and allow to use multiples inventories

commit 893e9cb
Merge: 76c42b4 5b057c7
Author: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com>
Date:   Wed Sep 18 13:18:44 2024 +0100

    Merge pull request kubernetes-sigs#11471 from VannTen/feat/config_plugin_list

    Update the list of admission plugins which needs config

commit 76c42b4
Author: Max Gautier <mg@max.gautier.name>
Date:   Wed Sep 18 14:04:50 2024 +0200

    CI: cleanup '-scale' tests infra (kubernetes-sigs#11535)

    There is actually no test using this since ad6fece,
    so there is no reason to keep that infra in our tests scripts.

commit b3b0077
Author: Max Gautier <mg@max.gautier.name>
Date:   Wed Sep 18 14:04:44 2024 +0200

    Remove unused test infrastructure (kubernetes-sigs#11529)

    These two files haven't been touched since 2016 and don't appear to be
    referenced anywhere else

commit e550118
Author: Qasim Mehmood <18313886+ThisIsQasim@users.noreply.github.com>
Date:   Wed Sep 18 15:54:44 2024 +0500

    Allow setting annotations on ingress-nginx service (kubernetes-sigs#11544)

commit c3de25c
Author: Max Gautier <mg@max.gautier.name>
Date:   Wed Sep 18 02:34:45 2024 +0200

    Move the CRI endpoint setting to kubelet config (kubernetes-sigs#11550)

    The `--container-runtime-endpoint` kubelet argument is deprecated in
    favor of the config file alternative.

commit 59dd713
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Sep 16 08:31:14 2024 +0100

    Bump molecule from 24.8.0 to 24.9.0 (kubernetes-sigs#11542)

    Bumps [molecule](https://github.com/ansible-community/molecule) from 24.8.0 to 24.9.0.
    - [Release notes](https://github.com/ansible-community/molecule/releases)
    - [Commits](ansible/molecule@v24.8.0...v24.9.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>

commit e5d2452
Author: Kay Yan <kay.yan@daocloud.io>
Date:   Sun Sep 15 20:59:13 2024 +0800

    fix elastx cleanup security groups (kubernetes-sigs#11411)

commit 8cb081a
Author: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Date:   Sun Sep 15 00:35:13 2024 +0800

    Fix: download hash crictl link (kubernetes-sigs#11534)

    Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

commit 4bf2d7a
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 12 16:44:30 2024 +0200

    Rework vagrant documentation

    - Use proper syntax highlighting for config.rb examples
    - Consistent shell style ($ as prompt)
    - Use only one way to do things
    - Remove OS specific details

commit 1e769b7
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 12 13:56:12 2024 +0200

    Rework vagrant inventory handling + support for multiples inventories

    The current way to handle a custom inventory in vagrant is a bit
    hackish, copy files around and can break Vagrantfile parsing in
    cornercase scenarios (removing vagrant inventories, or the inventory
    copied into vagrant inventory).

    Instead, simply pass additional inventories to the ansible-playbook
    command lines as raw arguments with `-i`.
    This also makes supporting multiples inventories trivial, so we add a
    new `$inventories` variable for that purpose.

commit 8d8d063
Author: Max Gautier <mg@max.gautier.name>
Date:   Fri Sep 13 03:31:12 2024 +0000

    Remove useless file (kubernetes-sigs#11526)

    This was somehow copied from vagrant docs, not sure why it's there...

commit c601c8f
Author: Kevin Huang <git@kevin.huang.to>
Date:   Thu Sep 12 23:21:12 2024 +0200

    fix: Swap kubespray-defaults & boostrap-os (kubernetes-sigs#11441)

    - Execute boostrap-os before so that Python is installed for kubespray-defaults
    - Remove outdated kubespray-defaults dependency on boostrap-os

commit 5ae433b
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 12 10:01:13 2024 +0000

    Remove refs to rhel7 in Vagrantfile (kubernetes-sigs#11525)

commit d54356e
Author: Max Gautier <mg@max.gautier.name>
Date:   Tue Sep 10 17:38:56 2024 +0200

    Add testcase for kubeadm_patches

commit c87097f
Author: Max Gautier <mg@max.gautier.name>
Date:   Tue Sep 10 17:34:04 2024 +0200

    Document how to use kubeadm patches

commit 4e6ae04
Merge: d54cfba 230cb37
Author: Kubernetes Prow Robot <20407524+k8s-ci-robot@users.noreply.github.com>
Date:   Thu Sep 12 06:51:12 2024 +0100

    Merge pull request kubernetes-sigs#11513 from VannTen/feat/python_download

    Refactor and expand download_hash.py

commit 8e254ec
Author: Max Gautier <mg@max.gautier.name>
Date:   Tue Sep 10 12:00:26 2024 +0200

    kubeadm: allow to provide patch inline in inventories

    Specifying one directory for kubeadm patches is not ideal:
    1. It does not allow working with multiples inventories easily
    2. No ansible templating of the patch
    3. Ansible path searching can sometimes be confusing

    Instead, provide the patch directly in a variable, and add some quality
    of life to handle components targeting and patch ordering more
    explicitly (`target` and `type` which are translated to the kubeadm
    scheme which is based on the file name)

commit a8b66fd
Author: Max Gautier <mg@max.gautier.name>
Date:   Tue Sep 10 13:43:02 2024 +0200

    Deduplicate kubeadm_patches tasks

    kubernetes/control-plane and kubernetes/kubeadm roles both push kubeadm
    patches in the same way.
    Extract that code and make it a dependency of both.
    This is safe because it's only configuration for kubeadm, which only
    takes effect when kubeadm is run.

commit 230cb37
Author: Max Gautier <mg@max.gautier.name>
Date:   Sun Sep 8 11:12:24 2024 +0200

    download_hash: document usage

commit dec4e71
Author: Max Gautier <mg@max.gautier.name>
Date:   Fri Sep 6 16:21:20 2024 +0200

    download_hash: cache request for 'multi-hash' files

    This avoid re-downloading the same file for different arch and
    re-parsing it

commit 1b1045c
Author: Max Gautier <mg@max.gautier.name>
Date:   Fri Sep 6 15:25:53 2024 +0200

    download_hash: use persistent session

    This allows to reuse http connection and be more efficient.
    From rough measuring it saves around 25-30% of execution time.

commit 86855be
Author: Max Gautier <mg@max.gautier.name>
Date:   Fri Sep 6 10:56:03 2024 +0200

    download_hash: document missing support

commit b2e64ae
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 5 17:15:12 2024 +0200

    download_hash: support 'multi-hash' components

commit a2644c7
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 5 16:19:09 2024 +0200

    download_hash: add support for 'simple hash' components

commit e256f74
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 5 16:39:04 2024 +0200

    download_hash: propagate new patch versions to all archs

commit 2710e98
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Sep 5 15:58:36 2024 +0200

    download_hash: argument handling with argparse

    Allow the script to be called with a list of components, to only
    download new versions checksums for those.
    By default, we get new versions checksums for all supported (by the
    script) components.

commit da0e445
Author: Max Gautier <mg@max.gautier.name>
Date:   Fri Feb 2 20:48:08 2024 +0100

    download_hash.py: support for 'multi-hash' file + runc

    runc upstream does not provide one hash file per assets in their
    releases, but one file with all the hashes.
    To handle this (and/or any arbitrary format from upstreams), add a
    dictionary mapping the name of the download to a lambda function which
    transform the file provided by upstream into a dictionary of hashes,
    keyed by architecture.

commit a761623
Author: Max Gautier <mg@max.gautier.name>
Date:   Fri Feb 2 16:01:14 2024 +0100

    download_hash.py: generalized and data-driven

    The script is currently limited to one hardcoded URL for kubernetes
    related binaries, and a fixed set of architectures.

    The solution is three-fold:
    1. Use an url template dictionary for each download -> this allow to easily
       add support for new downloads.
    2. Source the architectures to search from the existing data
    3. Enumerate the existing versions in the data and start searching from
       the last one until no newer version is found (newer in the version
       order sense, irrespective of actual age)

commit fe60832
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Nov 23 21:13:55 2023 +0100

    Remove kubelet_node_{custom_flags,config_extra_args}

    There is no need to have an extra variables for this, just use different
    values per host (using Ansible group_vars, for example)

commit 1bc61c9
Author: Max Gautier <mg@max.gautier.name>
Date:   Thu Nov 23 17:18:47 2023 +0100

    Simplify kubelet-config template

    Remove system|kube_master_<resource>_reserved variables.
    Those variables are unnecessary because users can simply use the
    variables in group_vars if they which to differentiate control plane
    nodes from other nodes.

    Set conservative defaults for ephemeral-storage and pids for both kube
    and system reserved resources.

commit 872d717
Author: Max Gautier <mg@max.gautier.name>
Date:   Wed Sep 4 13:44:11 2024 +0200

    Add kube|system_reserved CI testing

commit 1533d40
Author: Max Gautier <mg@max.gautier.name>
Date:   Wed Sep 4 14:02:53 2024 +0200

    Fix kube_reserved_cgroups_for_service_slice

    The default value is used across kubespray but only defined in
    kubernetes/node.
    Move it to kubespray-defaults

commit 5b057c7
Author: Max Gautier <mg@max.gautier.name>
Date:   Mon Aug 26 14:53:20 2024 +0200

    Update list of admission plugins with a config file

commit d340273
Author: Max Gautier <mg@max.gautier.name>
Date:   Mon Aug 26 14:43:00 2024 +0200

    Remove special case for PodNodeSelector

    This is already handled by the previous task.

commit 47c3949
Author: Max Gautier <mg@max.gautier.name>
Date:   Mon Aug 26 14:42:04 2024 +0200

    Change plugins_needs_config list format

    Makes easier diff when adding or removing plugins.
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes 1.31 Support
5 participants