[root@master01 /usr/local/bin]# kubectl get crd -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | grep "devops.kubesphere.io"
s2ibuilders.devops.kubesphere.io
s2ibuildertemplates.devops.kubesphere.io
s2iruns.devops.kubesphere.io
templates.devops.kubesphere.io
[root@master01 /usr/local/bin]# kubectl patch crd/s2ibuilders.devops.kubesphere.io -p '{"metadata":{"finalizers":[]}}' --type=merge
customresourcedefinition.apiextensions.k8s.io/s2ibuilders.devops.kubesphere.io patched
k8s 删掉crd资源
[root@master01 /usr/local/bin]# kubectl get crd -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | grep "devops.kubesphere.io" s2ibuilders.devops.kubesphere.ios2ibuildertemplates.devops.kub.
·
更多推荐
已为社区贡献14条内容
所有评论(0)