Skip to content

[Backport 1.30] Cleans up containers and shims on microk8s stop and snap removal - #4882

Merged
berkayoz merged 3 commits into
1.30from
KU-2574/backport-shims-1.30
Feb 17, 2025
Merged

[Backport 1.30] Cleans up containers and shims on microk8s stop and snap removal#4882
berkayoz merged 3 commits into
1.30from
KU-2574/backport-shims-1.30

Conversation

@berkayoz

Copy link
Copy Markdown
Contributor

Backports #4755 #4782

claudiubelu and others added 3 commits February 14, 2025 14:26
The containerd shims and the containers are now removed in both classic
and strict modes when stopping microk8s (microk8s stop) or when removing
the snap.

Note that ctr container delete has no ``--force`` flag.

Adds additional assertion in the upgrade test, ensuring that the Pods /
containers have been removed on snap removal.

Adds additional test, ensuring that the Pods / containers have been
removed when running microk8s stop.

(cherry picked from commit 941b781)

@louiseschmidtgen louiseschmidtgen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@berkayoz
berkayoz merged commit 940819c into 1.30 Feb 17, 2025
@berkayoz
berkayoz deleted the KU-2574/backport-shims-1.30 branch February 17, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants