无法删除以脱机模式安装的Trident项目
适用场景
- NetApp Astra三端
- OpenShift
- 手动删除以 脱机模式安装的Trident项目
- 已使用以下命令部分删除了{\f429 TRIDent}:
oc delete deployment trident-operator -n trident
oc delete clusterroles.rbac.authorization.k8s.io trident-operator
oc delete clusterrolebindings.rbac.authorization.k8s.io "trident-operator"
oc delete serviceaccount trident-operator
oc delete CustomResourceDefinition tridentorchestrators.trident.netapp.io
oc delete CustomResourceDefinition tridentactionmirrorupdates.trident.netapp.io
问题描述
oc delete project trident
无法删除TRIdent项目oc get project trident -o yaml
报告Some resources are remaining
示例:
$ oc get project trident -o yaml
...
- lastTransitionTime: "2024-07-11T00:08:51Z"
message: 'Some resources are remaining: tridentnodes.trident.netapp.io has 9 resource
instances, tridentstorageclasses.trident.netapp.io has 1 resource instances,
tridentversions.trident.netapp.io has 1 resource instances'
reason: SomeResourcesRemain
status: "True"
type: NamespaceContentRemaining
...