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 request2022-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 request2022-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/v1alpha1error: 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.devv1alpha1.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.devapplicationrevisions apprev core.oam.dev true ApplicationRevisionapplications app,velaapp core.oam.dev true Applicationcomponentdefinitions comp core.oam.dev true ComponentDefinitiondefinitionrevisions defrev core.oam.dev true DefinitionRevisionenvbindings envbind core.oam.dev true EnvBindinghealthscopes core.oam.dev true HealthScopemanualscalertraits core.oam.dev true ManualScalerTraitpolicies core.oam.dev true Policypolicydefinitions def-policy core.oam.dev true PolicyDefinitionresourcetrackers rt core.oam.dev false ResourceTrackerscopedefinitions scope core.oam.dev true ScopeDefinitiontraitdefinitions trait core.oam.dev true TraitDefinitionworkflows core.oam.dev true Workflowworkflowstepdefinitions workflowstep core.oam.dev true WorkflowStepDefinitionworkloaddefinitions workload core.oam.dev true WorkloadDefinitionerror: 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.devv1alpha1.cluster.core.oam.dev vela-system/kubevela-cluster-gateway-service True 16dv1alpha1.core.oam.dev Local True 16dv1alpha2.core.oam.dev Local True 16dv1beta1.core.oam.dev Local True 16d[root@UR-20210425NAMA ~]# kubectl delete apiservice v1alpha1.cluster.core.oam.devapiservice.apiregistration.k8s.io "v1alpha1.cluster.core.oam.dev" deleted[root@UR-20210425NAMA ~]#
