Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to Clean Luigi and Kubevirt Stale Entries After disabling the Luigin Plugins
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
After disabling the Luigin plugins, stale network erslated entries are present, which results in pod creation failures with below errors:
Pod describe
Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal SandboxChanged 34m (x141 over 64m) kubelet Pod sandbox changed, it will be killed and re-created. Warning FailedKillPod 3m52s (x130 over 31m) kubelet error killing pod: failed to "KillPodSandbox" for "exxxxxxxx" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to destroy network for sandbox \"xxxx\": plugin type=\"multus\" name=\"multus-cni-network\" failed (delete): Multus: [default/testpod1]: error getting pod: Unauthorized"Environment
- Platform9 Managed Kubernetes- 5.7.0 and higher.
Procedure
The workaround steps to be followed are:
- Using network plugin CRD, first disable the networks that are not needed.
edit
xxxxxxxxxx# kubectl edit networkplugins -n luigi-system -o yaml- Comment out the plugins that are not needed and save the CRD. Check for those plugin pods and daemonsets to be deleted automatically.
Note- Delete the network plugin CRD for unwanted plugins.
yaml
xxxxxxxxxx# kubectl get networkplugins -A# kubectl edit networkplugins -n luigi-system -o yaml- Delete the '- teardownPlugins' under finalizers and run the below delete:
yaml
xxxxxxxxxx# kubectl delete networkplugins -n luigi-system networkplugins-sample-default- And remove multus folders and conf file under /etc/cni/net.d/ on all the nodes:
Multus removal
xxxxxxxxxx# rm -rf 00-multus.conf multus.d/- After all the plugins are commented out and are been deleted, disable the Luigi add-on from UI.
Wait for the add-on to be removed.
Verify
xxxxxxxxxx# kubectl get all -n luigi-systemx- Re-enabling the luigi addon works fine after this.
Additional Information
An internal jira- PMK-6521 has been file to automate this process. And the fix will be available in upcoming PMK-5.11 version.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
How to Re-deploy CoreDNS Pods Only to the Master Nodes.Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message