k8s crd inferenceservices.serving.kserve.io

背景

ArgoCD无法连接到k8s集群
日志如下:

Failed to load live state: failed to get cluster info for "https://kubernetes.default.svc": error synchronizing cache state : failed to sync cluster https://10.233.0.1:443: failed to load initial state of resource InferenceService.serving.kserve.io: Internal error occurred: error resolving resource

解决过程

crd详细信息

Status:
  Accepted Names:
    Kind:       InferenceService
    List Kind:  InferenceServiceList
    Plural:     inferenceservices
    Short Names:
      isvc
    Singular:  inferenceservice
  Conditions:
    Last Transition Time:  2024-04-28T13:39:36Z
    Message:               no conflicts found
    Reason:                NoConflicts
    Status:                True
    Type:                  NamesAccepted
    Last Transition Time:  2024-04-28T13:39:36Z
    Message:               the initial names have been accepted
    Reason:                InitialNamesAccepted
    Status:                True
    Type:                  Established
    Last Transition Time:  2024-04-28T13:47:01Z
    Message:               could not list instances: unable to find a custom resource client for inferenceservices.serving.kserve.io: unable to load root certificates: unable to parse bytes as PEM block
    Reason:                InstanceDeletionFailed
    Status:                True
    Type:                  Terminating
  Stored Versions:
    v1beta1
Events:  <none>

删除此crd资源

kubectl delete customresourcedefinitions.apiextensions.k8s.io inferenceservices.serving.kserve.io --force
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
customresourcedefinition.apiextensions.k8s.io "inferenceservices.serving.kserve.io" force deleted

^C
发现无法正常删除,可通过patch进行清理

kubectl patch crd inferenceservices.serving.kserve.io -p '{"metadata":{"finalizers":[]}}' --type=merge
customresourcedefinition.apiextensions.k8s.io/inferenceservices.serving.kserve.io patched

相关推荐

  1. k8s学习

    2024-05-01 11:12:03       54 阅读
  2. <span style='color:red;'>K</span><span style='color:red;'>8</span>s基础

    K8s基础

    2024-05-01 11:12:03      56 阅读
  3. <span style='color:red;'>k</span><span style='color:red;'>8</span>s-Pod

    k8s-Pod

    2024-05-01 11:12:03      54 阅读
  4. 学习<span style='color:red;'>k</span><span style='color:red;'>8</span>s

    学习k8s

    2024-05-01 11:12:03      49 阅读
  5. K8s 教程

    2024-05-01 11:12:03       73 阅读
  6. <span style='color:red;'>k</span><span style='color:red;'>8</span>s基础

    k8s基础

    2024-05-01 11:12:03      50 阅读
  7. <span style='color:red;'>k</span><span style='color:red;'>8</span>s初学

    k8s初学

    2024-05-01 11:12:03      48 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-05-01 11:12:03       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-05-01 11:12:03       106 阅读
  3. 在Django里面运行非项目文件

    2024-05-01 11:12:03       87 阅读
  4. Python语言-面向对象

    2024-05-01 11:12:03       96 阅读

热门阅读

  1. 浅谈电能质量电网谐波

    2024-05-01 11:12:03       30 阅读
  2. librosa 语音识别 学习笔记

    2024-05-01 11:12:03       35 阅读
  3. 好用的电子文档管理系统应具备哪些功能?

    2024-05-01 11:12:03       33 阅读
  4. 电脑镜像下载

    2024-05-01 11:12:03       30 阅读
  5. 图计算浅谈:主流图存储引擎/图搜索算法

    2024-05-01 11:12:03       28 阅读
  6. leetcode 92. 反转链表 II

    2024-05-01 11:12:03       28 阅读
  7. 【数据结构与算法】力扣 150. 逆波兰表达式求值

    2024-05-01 11:12:03       35 阅读
  8. XML 映射文件(Mapper 文件)的命名空间

    2024-05-01 11:12:03       31 阅读
  9. 零基础玩转Linux+Ubuntu实战视频课程

    2024-05-01 11:12:03       39 阅读
  10. CRC32 循环冗余校验算法

    2024-05-01 11:12:03       37 阅读
  11. leetcode18-4Sum

    2024-05-01 11:12:03       35 阅读