Skip to content

Instantly share code, notes, and snippets.

@dangtrinhnt
Last active October 7, 2019 09:56
Show Gist options
  • Save dangtrinhnt/bc1cbaaa46b87ee5de2a029dc88a3583 to your computer and use it in GitHub Desktop.
Save dangtrinhnt/bc1cbaaa46b87ee5de2a029dc88a3583 to your computer and use it in GitHub Desktop.
Clean up kong-ingress-controller
kubectl delete serviceaccount kong-serviceaccount -n kong
kubectl delete clusterrolebinding kong-ingress-clusterrole-nisa-binding -n kong
kubectl delete service kong-proxy -n kong
kubectl delete -n kong service kong-validation-webhook
kubectl delete -n kong service postgres
kubectl delete -n kong deployment ingress-kong
kubectl delete -n kong statefulset postgres
kubectl delete -n kong job kong-migrations
kubectl delete -n kong customresourcedefinitions kongconsumers.configuration.konghq.com
kubectl delete -n kong customresourcedefinitions kongcredentials.configuration.konghq.com
kubectl delete -n kong customresourcedefinitions kongingresses.configuration.konghq.com
kubectl delete -n kong customresourcedefinitions kongplugins.configuration.konghq.com
kubectl delete -n kong clusterroles kong-ingress-clusterrole
kubectl delete -n kong configmaps kong-server-blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment