1
unable to retrieve the complete list of server APIs
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
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
2022-07-21T09:52:22+08:00 INFO : TASK_RUN Exit: program halts.
[root@UR-20210425NAMA Desktop]#
[root@UR-20210425NAMA ~]# kubectl api-resources |grep cluster.core.oam.dev/v1alpha1
error: unable to retrieve the complete list of server APIs: cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
[root@UR-20210425NAMA ~]#
[root@UR-20210425NAMA ~]# kubectl get apiservice |grep v1alpha1.cluster.core.oam.dev
v1alpha1.cluster.core.oam.dev vela-system/kubevela-cluster-gateway-service True 9d
[root@UR-20210425NAMA ~]#
kubectl get apiservice |grep false
kubectl delete apiservce
[root@UR-20210425NAMA ~]# kubectl api-resources |grep core.oam.dev
applicationrevisions apprev core.oam.dev true ApplicationRevision
applications app,velaapp core.oam.dev true Application
componentdefinitions comp core.oam.dev true ComponentDefinition
definitionrevisions defrev core.oam.dev true DefinitionRevision
envbindings envbind core.oam.dev true EnvBinding
healthscopes core.oam.dev true HealthScope
manualscalertraits core.oam.dev true ManualScalerTrait
policies core.oam.dev true Policy
policydefinitions def-policy core.oam.dev true PolicyDefinition
resourcetrackers rt core.oam.dev false ResourceTracker
scopedefinitions scope core.oam.dev true ScopeDefinition
traitdefinitions trait core.oam.dev true TraitDefinition
workflows core.oam.dev true Workflow
workflowstepdefinitions workflowstep core.oam.dev true WorkflowStepDefinition
workloaddefinitions workload core.oam.dev true WorkloadDefinition
error: unable to retrieve the complete list of server APIs: cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
[root@UR-20210425NAMA ~]# kubectl get apiservice |grep core.oam.dev
v1alpha1.cluster.core.oam.dev vela-system/kubevela-cluster-gateway-service True 16d
v1alpha1.core.oam.dev Local True 16d
v1alpha2.core.oam.dev Local True 16d
v1beta1.core.oam.dev Local True 16d
[root@UR-20210425NAMA ~]# kubectl delete apiservice v1alpha1.cluster.core.oam.dev
apiservice.apiregistration.k8s.io "v1alpha1.cluster.core.oam.dev" deleted
[root@UR-20210425NAMA ~]#