• 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.

  • 相关阅读:
    笔记类产品会不会衰落?
    ios 性能优化概述
    一个简单的旋转加载动画设计的思路
    常用算法的C++实现
    [转]解决Ionic2 innerHTML 无法嵌入HTML
    How to debug an Angular 2 application with Chrome and VS Code
    Angularjs2-下拉列表实现(父子组件通信)
    Angular 2 HTTP Requests with Observables
    Ionic2 beta8后更新的内容
    ionic2中如何使用自动生成器
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/8884822.html
Copyright © 2020-2023  润新知