• rook 删不掉的问题


    # kubectl get crd -o yaml
    apiVersion: v1
    items:
    - apiVersion: apiextensions.k8s.io/v1beta1
      kind: CustomResourceDefinition
      metadata:
        creationTimestamp: 2018-04-16T05:09:04Z
        deletionGracePeriodSeconds: 0
        deletionTimestamp: 2018-04-19T04:04:14Z
        finalizers:
        - customresourcecleanup.apiextensions.k8s.io
        generation: 1
        name: clusters.rook.io
        namespace: ""
        resourceVersion: "1554843"
        selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/clusters.rook.io
        uid: 484ea6ef-4134-11e8-9dca-90b8d0599f2f
      spec:
        group: rook.io
        names:
          kind: Cluster
          listKind: ClusterList
          plural: clusters
          singular: cluster
        scope: Namespaced
        version: v1alpha1
      status:
        acceptedNames:
          kind: Cluster
          listKind: ClusterList
          plural: clusters
          singular: cluster
        conditions:
        - lastTransitionTime: 2018-04-16T05:09:04Z
          message: no conflicts found
          reason: NoConflicts
          status: "True"
          type: NamesAccepted
        - lastTransitionTime: 2018-04-16T05:09:04Z
          message: the initial names have been accepted
          reason: InitialNamesAccepted
          status: "True"
          type: Established
        - lastTransitionTime: 2018-04-18T13:09:07Z
          message: 'could not confirm zero CustomResources remaining: timed out waiting
            for the condition'
          reason: InstanceDeletionCheck
          status: "True"
          type: Terminating
    kind: List
    metadata:
      resourceVersion: ""
      selfLink: ""
    ===================================================================

    # kubectl patch crd clusters.rook.io -p '{"metadata":{"finalizers": null}}'
    customresourcedefinition.apiextensions.k8s.io "clusters.rook.io" patched

    # kubectl get crd
    No resources found.

  • 相关阅读:
    第一章复习(已完结)
    复习——第二章(施工完成,哪里总结的不全或是有问题欢迎指出)
    实验九
    实验五
    实验四
    实验三
    实验二
    实验一
    汇编语言第二章
    【C# 大写金额转阿拉伯数字】大写金额转数值
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/8884822.html
Copyright © 2020-2023  润新知