zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    jQuery 插件
    jQuery 构造函数
    jQuery.merge()方法
    插入排序法
    归并排序法
    冒泡排序法
    选择排序法
    Jetty
    分布式锁&&redis
    Tomcat和设计模式
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/8884822.html
Copyright © 2011-2022 走看看