Skip to content

Instantly share code, notes, and snippets.

@ikurni
Created June 12, 2023 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikurni/ea88943cd03e8bd110e63c70bafada1f to your computer and use it in GitHub Desktop.
Save ikurni/ea88943cd03e8bd110e63c70bafada1f to your computer and use it in GitHub Desktop.
Force Remove Not Responding API in Openshift
### List down all API that in False state
[root@bastion-1 ~]# oc get apiservices | grep -i false
v1alpha1.mutators.kubedb.com kubedb/kubedb-kubedb-community False (ServiceNotFound) 494d
v1alpha1.validators.kubedb.com kubedb/kubedb-kubedb-community False (ServiceNotFound) 494d
### Simply remove the not responding API
oc delete apiservices v1alpha1.mutators.kubedb.com
oc delete apiservices v1alpha1.validators.kubedb.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment