mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 16:55:55 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,15 +10,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Delete a specific pod:
|
||||
|
||||
`kubectl delete {{[po|pod]}} {{pod_name}}`
|
||||
`kubectl delete {{[po|pods]}} {{pod_name}}`
|
||||
|
||||
- Delete a specific deployment:
|
||||
|
||||
`kubectl delete {{[deploy|deployment]}} {{deployment_name}}`
|
||||
`kubectl delete {{[deploy|deployments]}} {{deployment_name}}`
|
||||
|
||||
- Delete a specific node:
|
||||
|
||||
`kubectl delete {{[no|node]}} {{node_name}}`
|
||||
`kubectl delete {{[no|nodes]}} {{node_name}}`
|
||||
|
||||
- Delete all pods in a specified namespace:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Delete all deployments and services in a specified namespace:
|
||||
|
||||
`kubectl delete {{[deploy|deployment]}},{{[svc|services]}} --all {{[-n|--namespace]}} {{namespace}}`
|
||||
`kubectl delete {{[deploy|deployments]}},{{[svc|services]}} --all {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Delete all nodes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user