You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device and OS: Ubuntu 18.04
App version: v0.15.0
Kubernetes distro being used: None natively, using k3s that Zarf brings with it
Steps to reproduce
zarf init --components=k3s --confirm
Process crashes or is manually halted before initialization is completed
zarf destroy --confirm
What ever the issue preventing the initialization is addressed externally
zarf init --components=k3s --confirm
Expected result
Step '2' destroys the started up k3s cluster and step '4' stands up a new k3s cluster.
Actual Result
If step '1' was stopped before the zarf state was saved into the registry, then nothing actually happens during the zarf destroy --confirm. This means a k3s cluster is still running on the host and when you try to zarf init again you get an unclear error message about not being able connect to the k8s cluster while still not saving anything to the zarf-state secret so you're not stuck in this loop.
The only way out of this loop is to manually remove the k3s cluster through /usr/sbin/zarf-clean-k3s.sh or some other k3s cleanup script.
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Additional Context
The text was updated successfully, but these errors were encountered:
Environment
Device and OS: Ubuntu 18.04
App version: v0.15.0
Kubernetes distro being used: None natively, using k3s that Zarf brings with it
Steps to reproduce
zarf init --components=k3s --confirm
zarf destroy --confirm
zarf init --components=k3s --confirm
Expected result
Step '2' destroys the started up k3s cluster and step '4' stands up a new k3s cluster.
Actual Result
If step '1' was stopped before the zarf state was saved into the registry, then nothing actually happens during the
zarf destroy --confirm
. This means a k3s cluster is still running on the host and when you try tozarf init
again you get an unclear error message about not being able connect to the k8s cluster while still not saving anything to the zarf-state secret so you're not stuck in this loop.The only way out of this loop is to manually remove the k3s cluster through /usr/sbin/zarf-clean-k3s.sh or some other k3s cleanup script.
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Additional Context
The text was updated successfully, but these errors were encountered: