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

Bump kubernetes to v1.28.2 #675

Merged
merged 42 commits into from
Feb 13, 2024
Merged

Bump kubernetes to v1.28.2 #675

merged 42 commits into from
Feb 13, 2024

Conversation

amitsagtani97
Copy link
Contributor

wpb-2324

This pr adds dependencies for deploying kubernetes v1.28.2 by default, with latest kubespray version.

@amitsagtani97 amitsagtani97 force-pushed the bump_kubernetes_to_1_28 branch 7 times, most recently from 68ade72 to 8ecfb23 Compare January 23, 2024 15:30
@amitsagtani97 amitsagtani97 force-pushed the bump_kubernetes_to_1_28 branch 3 times, most recently from 817599c to 5c7a4f4 Compare February 1, 2024 12:08
@amitsagtani97 amitsagtani97 force-pushed the bump_kubernetes_to_1_28 branch 2 times, most recently from 3acc9f0 to 58a6f1f Compare February 7, 2024 17:55
@amitsagtani97 amitsagtani97 force-pushed the bump_kubernetes_to_1_28 branch from 58a6f1f to e7e2e6a Compare February 7, 2024 18:23
ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/kubernetes.yml --skip-tags bootstrap-os,preinstall,container-engine

./bin/fix_default_router.sh
ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/kubernetes.yml --skip-tags bootstrap-os,preinstall,container-engine,multus
Copy link
Contributor

Choose a reason for hiding this comment

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

multius?

Copy link
Contributor

@supersven supersven Feb 8, 2024

Choose a reason for hiding this comment

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

@julialongtin I'm surprised as you are, but there are traces of multus in our code base: https://github.com/kubernetes-sigs/kubespray/blob//docs/multus.md?plain=1#L1

Me needs a scratches-head emoji.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this multus network plugin playbooks were being run while installing k8s, even the variable to install multus was set to false and was throwing some dependency issues, hence added that tag in the skip list

offline/ci.sh Outdated

# TODO: Awaiting some fixes in wire-server regarding tagless images
HELM_HOME=$(mktemp -d)
export HELM_HOME

helm repo add wire https://s3-eu-west-1.amazonaws.com/public.wire.com/charts
helm repo add wire https://s3-eu-west-1.amazonaws.com/public.wire.com/charts-develop
Copy link
Contributor

Choose a reason for hiding this comment

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

aha. this is smart. rewrite this file a bit, so this is the way we do this now?

Copy link
Contributor

Choose a reason for hiding this comment

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

The clean solution would be to extract parameters for the parts that depend on the version. And, fill with with what we get from Stefan M.'s build.json files: https://github.com/wireapp/wire-builds/blob/108f7eb93bc6d1227f04c23032fab0c58390e5fe/build.json

This refactoring doesn't have to be done now. However, it's good to keep in mind that this changing of versions / Helm repos buried deep inside some files is neither the goal nor the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was temporary change to test the changes needed in helm charts for k8s 1.28
Goal is to use the build.json later.

default.nix Show resolved Hide resolved
offline/ci.sh Outdated
@@ -101,16 +116,16 @@ calling_charts=(
)

# wire_version=$(helm show chart wire/wire-server | yq -r .version)
wire_version="4.39.0"
wire_version="4.39.159"
Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, so the version that is currently on staging will be the version that our users should install? Was this an active choice by someone? 🤔

Or, will this branch not be merged to master?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there were changes needed in the wire-server helm chart to support k8s 1.28
This change is temporary, goal is to replace it with "4.40" as soon as that is released and than merge

offline/ci.sh Outdated Show resolved Hide resolved
@amitsagtani97 amitsagtani97 force-pushed the bump_kubernetes_to_1_28 branch from 2773f72 to 3d51c4c Compare February 12, 2024 16:51
@amitsagtani97 amitsagtani97 merged commit c562b69 into master Feb 13, 2024
4 checks passed
@amitsagtani97 amitsagtani97 deleted the bump_kubernetes_to_1_28 branch February 13, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants