Difference between revisions of "Kubectl delete"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
* <code>[[kubectl delete pv]] mysql-pv-volume</code>
 
* <code>[[kubectl delete pv]] mysql-pv-volume</code>
  
* <code>kubectl delete namespace XXXX</code>
+
* <code>[[kubectl delete namespace]] XXXX</code>
  
 
* <code>[[kubectl delete crd]] XXXX</code>
 
* <code>[[kubectl delete crd]] XXXX</code>
 +
 +
[[kubectl delete all --all]]
  
 
* Uninstall [[Istio]]:  <code>[[istioctl manifest generate]] --set profile=demo | [[kubectl delete]] -f -</code>
 
* Uninstall [[Istio]]:  <code>[[istioctl manifest generate]] --set profile=demo | [[kubectl delete]] -f -</code>
 +
 +
== Examples ==
 +
[[kubectl delete CustomResourceDefinition]] [[clusterconfigauditreports.aquasecurity.github.io]] -n aqua
 +
kubectl delete CustomResourceDefinition [[configauditreports]].aquasecurity.github.io -n aqua
  
 
== Related commands ==
 
== Related commands ==

Latest revision as of 09:52, 7 March 2024

Advertising: