Forrest logo
back to context overview

kubectl-delete

List of commands for kubectl-delete:

  • kubectl-delete:tldr:06c73 kubectl-delete: Delete a specific pod.
    $ kubectl delete pod ${pod_name}
    try on your machine
    explain this command
  • kubectl-delete:tldr:18c8e kubectl-delete: Delete all nodes.
    $ kubectl delete nodes --all
    try on your machine
    explain this command
  • kubectl-delete:tldr:3445e kubectl-delete: Delete a specific node.
    $ kubectl delete node ${node_name}
    try on your machine
    explain this command
  • kubectl-delete:tldr:4b1c1 kubectl-delete: Delete all pods in a specified namespace.
    $ kubectl delete pods --all --namespace ${namespace}
    try on your machine
    explain this command
  • kubectl-delete:tldr:539ec kubectl-delete: Delete resources defined in a YAML manifest.
    $ kubectl delete --filename ${path-to-manifest-yaml}
    try on your machine
    explain this command
  • kubectl-delete:tldr:add32 kubectl-delete: Delete a specific deployment.
    $ kubectl delete deployment ${deployment_name}
    try on your machine
    explain this command
  • kubectl-delete:tldr:ff2b7 kubectl-delete: Delete all deployments and services in a specified namespace.
    $ kubectl delete deployments,services --all --namespace ${namespace}
    try on your machine
    explain this command
back to context overview