Comments (6)
@yangchiu Can you take a look at the GitOPs Argo installation? Thank you.
from longhorn.
@derekbit Yes, I've confirmed after executing argocd app delete longhorn
, only longhorn-manager
and longhorn-ui
pods are deleted, most of longhorn components like longhorn-instance-manager
, engine-image
and csi-component
pods are still there, and longhorn crd are not deleted as well:
$ kubectl -n longhorn-system get pod -w
NAME READY STATUS RESTARTS AGE
longhorn-manager-68tmz 1/1 Running 0 63s
longhorn-ui-5f4b7bbf69-66fr7 1/1 Running 0 63s
longhorn-ui-5f4b7bbf69-56fd5 1/1 Running 0 63s
longhorn-manager-wjgg7 1/1 Running 0 63s
longhorn-manager-kjprb 1/1 Running 0 63s
engine-image-ei-5cefaf2b-fq8z9 1/1 Running 0 53s
engine-image-ei-5cefaf2b-pvwvw 1/1 Running 0 53s
instance-manager-3ca568464e01498cff8cd840df76c140 1/1 Running 0 53s
longhorn-driver-deployer-9f4fc86-8cwmj 1/1 Running 0 63s
instance-manager-d174dd8689e3c1bff74a4ee030556bf8 1/1 Running 0 52s
engine-image-ei-5cefaf2b-6jr9m 1/1 Running 0 53s
instance-manager-261db67db812c6f9c5d82a7140b1a7bd 1/1 Running 0 53s
csi-attacher-5c4bfdcf59-qz9sl 1/1 Running 0 16s
csi-provisioner-667796df57-hmcx8 1/1 Running 0 16s
csi-provisioner-667796df57-4cxgc 1/1 Running 0 16s
csi-attacher-5c4bfdcf59-dhnb2 1/1 Running 0 16s
csi-resizer-694f8f5f64-gkmd7 1/1 Running 0 16s
csi-attacher-5c4bfdcf59-khs76 1/1 Running 0 16s
csi-snapshotter-959b69d4b-sr6lf 1/1 Running 0 16s
csi-resizer-694f8f5f64-ngjbn 1/1 Running 0 16s
csi-snapshotter-959b69d4b-t5m5x 1/1 Running 0 16s
csi-resizer-694f8f5f64-tg4kt 1/1 Running 0 16s
longhorn-csi-plugin-pr7jd 3/3 Running 0 15s
csi-snapshotter-959b69d4b-9gc2l 1/1 Running 0 16s
csi-provisioner-667796df57-lwckj 1/1 Running 0 16s
longhorn-csi-plugin-pft99 3/3 Running 0 16s
longhorn-csi-plugin-ls7xn 3/3 Running 0 15s
$ kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag
setting.longhorn.io/deleting-confirmation-flag patched
$ argocd app delete longhorn --cascade
Are you sure you want to delete 'longhorn' and all its resources? [y/n] Y
application 'longhorn' deleted
$ kubectl -n longhorn-system get pod -w
NAME READY STATUS RESTARTS AGE
engine-image-ei-5cefaf2b-fq8z9 1/1 Running 0 2m29s
engine-image-ei-5cefaf2b-pvwvw 1/1 Running 0 2m29s
instance-manager-3ca568464e01498cff8cd840df76c140 1/1 Running 0 2m29s
instance-manager-d174dd8689e3c1bff74a4ee030556bf8 1/1 Running 0 2m28s
engine-image-ei-5cefaf2b-6jr9m 1/1 Running 0 2m29s
instance-manager-261db67db812c6f9c5d82a7140b1a7bd 1/1 Running 0 2m29s
csi-provisioner-667796df57-hmcx8 1/1 Running 0 112s
csi-provisioner-667796df57-4cxgc 1/1 Running 0 112s
csi-attacher-5c4bfdcf59-dhnb2 1/1 Running 0 112s
csi-resizer-694f8f5f64-gkmd7 1/1 Running 0 112s
csi-attacher-5c4bfdcf59-khs76 1/1 Running 0 112s
csi-snapshotter-959b69d4b-t5m5x 1/1 Running 0 112s
csi-resizer-694f8f5f64-tg4kt 1/1 Running 0 112s
longhorn-csi-plugin-pr7jd 3/3 Running 0 111s
csi-snapshotter-959b69d4b-9gc2l 1/1 Running 0 112s
longhorn-csi-plugin-pft99 3/3 Running 0 112s
longhorn-csi-plugin-ls7xn 3/3 Running 0 111s
csi-attacher-5c4bfdcf59-qz9sl 1/1 Running 1 (41s ago) 112s
csi-resizer-694f8f5f64-ngjbn 1/1 Running 1 (42s ago) 112s
csi-snapshotter-959b69d4b-sr6lf 1/1 Running 1 (42s ago) 112s
csi-provisioner-667796df57-lwckj 1/1 Running 1 (41s ago) 112s
$ kubectl get crd | grep longhorn
replicas.longhorn.io 2024-04-20T03:03:23Z
engines.longhorn.io 2024-04-20T03:03:23Z
recurringjobs.longhorn.io 2024-04-20T03:03:23Z
backingimagedatasources.longhorn.io 2024-04-20T03:03:23Z
orphans.longhorn.io 2024-04-20T03:03:23Z
backupbackingimages.longhorn.io 2024-04-20T03:03:23Z
backingimagemanagers.longhorn.io 2024-04-20T03:03:23Z
settings.longhorn.io 2024-04-20T03:03:23Z
systemrestores.longhorn.io 2024-04-20T03:03:23Z
snapshots.longhorn.io 2024-04-20T03:03:23Z
sharemanagers.longhorn.io 2024-04-20T03:03:23Z
supportbundles.longhorn.io 2024-04-20T03:03:23Z
instancemanagers.longhorn.io 2024-04-20T03:03:23Z
systembackups.longhorn.io 2024-04-20T03:03:23Z
backups.longhorn.io 2024-04-20T03:03:23Z
backupvolumes.longhorn.io 2024-04-20T03:03:23Z
volumeattachments.longhorn.io 2024-04-20T03:03:23Z
backingimages.longhorn.io 2024-04-20T03:03:23Z
backuptargets.longhorn.io 2024-04-20T03:03:23Z
engineimages.longhorn.io 2024-04-20T03:03:23Z
nodes.longhorn.io 2024-04-20T03:03:23Z
volumes.longhorn.io 2024-04-20T03:03:23Z
Do you have a clue about what's missing or what could cause this symptom?
from longhorn.
@yangchiu Thanks for the quick update. What's the longhorn version? Can you send me the kubeconfig in our internal slack channel? I will check it later. Thank you.
from longhorn.
After a quick check, I found argocd app delete longhorn
directly deleted resources in longhorn-system
namespace (codes). The deletion process doesn't execute longhorn-manager uninstall
as the uninstallation process of helm.
Currently, the PreDelete
is not supported in ArgoCD yet.
from longhorn.
@mantissahz @PhanLe1010 Do you have any thoughts for the uninstallation?
from longhorn.
DOC: https://longhorn.io/docs/1.7.0/deploy/uninstall/#uninstalling-longhorn-using-argo-cd
from longhorn.
Related Issues (20)
- [BACKPORT][v1.6.3][IMPROVEMENT] System restore unable to restore volume with backing image HOT 1
- [BUG] Longhorn cifs backups cannot find credentials HOT 9
- [DOC] Incorrect and invalid links HOT 1
- Expanding the volume through UI but not reflecting it in backend. HOT 1
- [TEST][BUG] system restore stuck because of the volume/PV/PVC restoration
- [BACKPORT][v1.6.3][IMPROVEMENT] Improve and simplify chart values.yaml HOT 1
- [BACKPORT][v1.5.6][IMPROVEMENT] Improve and simplify chart values.yaml HOT 1
- Longhorn 1.6.2 - pvc is not ready for workloads HOT 1
- [BUG] Failed to delete a v2 orphan replica
- [FEATURE] Automatically attach the volumes for trimming filesystem HOT 1
- [TEST][FEATURE] Automatically attach the volumes for trimming filesystem
- [BUG] Fresh RWX volume on a fresh cluster install fails to ever mount (dual stack, IPv6-first cluster)
- [UI][IMPROVEMENT] Tweak some minor UI issues
- [UI][FEATURE] Multiple backup stores support
- [BUG] Request for a guide to the longhorn metric
- [BUG] System backup failed because backup creation failed. HOT 1
- [BACKPORT][v1.6.3][IMPROVEMENT] BackingImage UI improvement
- [BUG] System Restore Stuck at Pending due to Tolerations not Applied HOT 1
- [BUG] Unable to mount any volumes(RWX/RWO) by any pods
- [BUG] Fix longhorn-manager `TestCleanupRedundantInstanceManagers` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from longhorn.