Forrest logo
back to context overview

kubectl-edit

List of commands for kubectl-edit:

  • kubectl-edit:tldr:211d3 kubectl-edit: Edit a resource in JSON format.
    $ kubectl edit ${resource}/${resource_name} --output json
    try on your machine
    explain this command
  • kubectl-edit:tldr:87177 kubectl-edit: Edit a resource using a specific editor.
    $ KUBE_EDITOR=${nano} kubectl edit ${resource}/${resource_name}
    try on your machine
    explain this command
  • kubectl-edit:tldr:d979f kubectl-edit: Edit a pod.
    $ kubectl edit pod/${pod_name}
    try on your machine
    explain this command
  • kubectl-edit:tldr:e6703 kubectl-edit: Edit a service.
    $ kubectl edit svc/${service_name}
    try on your machine
    explain this command
  • kubectl-edit:tldr:ebad6 kubectl-edit: Edit a deployment.
    $ kubectl edit deployment/${deployment_name}
    try on your machine
    explain this command
back to context overview