1

    1. unable to retrieve the complete list of server APIs
    1. 2022-07-21T09:52:19+08:00 ERROR : error getting GVR for kind 'ClusterConfiguration': unable to retrieve the complete list of server APIs: cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
    2. 2022-07-21T09:52:19+08:00 ERROR : Enable kube events for hooks error: unable to retrieve the complete list of server APIs: cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
    3. 2022-07-21T09:52:22+08:00 INFO : TASK_RUN Exit: program halts.
    4. [root@UR-20210425NAMA Desktop]#
    1. [root@UR-20210425NAMA ~]# kubectl api-resources |grep cluster.core.oam.dev/v1alpha1
    2. error: unable to retrieve the complete list of server APIs: cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
    3. [root@UR-20210425NAMA ~]#
    1. [root@UR-20210425NAMA ~]# kubectl get apiservice |grep v1alpha1.cluster.core.oam.dev
    2. v1alpha1.cluster.core.oam.dev vela-system/kubevela-cluster-gateway-service True 9d
    3. [root@UR-20210425NAMA ~]#
    1. kubectl get apiservice |grep false
    1. kubectl delete apiservce
    1. [root@UR-20210425NAMA ~]# kubectl api-resources |grep core.oam.dev
    2. applicationrevisions apprev core.oam.dev true ApplicationRevision
    3. applications app,velaapp core.oam.dev true Application
    4. componentdefinitions comp core.oam.dev true ComponentDefinition
    5. definitionrevisions defrev core.oam.dev true DefinitionRevision
    6. envbindings envbind core.oam.dev true EnvBinding
    7. healthscopes core.oam.dev true HealthScope
    8. manualscalertraits core.oam.dev true ManualScalerTrait
    9. policies core.oam.dev true Policy
    10. policydefinitions def-policy core.oam.dev true PolicyDefinition
    11. resourcetrackers rt core.oam.dev false ResourceTracker
    12. scopedefinitions scope core.oam.dev true ScopeDefinition
    13. traitdefinitions trait core.oam.dev true TraitDefinition
    14. workflows core.oam.dev true Workflow
    15. workflowstepdefinitions workflowstep core.oam.dev true WorkflowStepDefinition
    16. workloaddefinitions workload core.oam.dev true WorkloadDefinition
    17. error: unable to retrieve the complete list of server APIs: cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
    18. [root@UR-20210425NAMA ~]# kubectl get apiservice |grep core.oam.dev
    19. v1alpha1.cluster.core.oam.dev vela-system/kubevela-cluster-gateway-service True 16d
    20. v1alpha1.core.oam.dev Local True 16d
    21. v1alpha2.core.oam.dev Local True 16d
    22. v1beta1.core.oam.dev Local True 16d
    23. [root@UR-20210425NAMA ~]# kubectl delete apiservice v1alpha1.cluster.core.oam.dev
    24. apiservice.apiregistration.k8s.io "v1alpha1.cluster.core.oam.dev" deleted
    25. [root@UR-20210425NAMA ~]#