Editing running Pods manifests in Kubernetes

You CANNOT edit specifications of an existing POD other than the below:

spec.containers[*].image
spec.initContainers[*].image
spec.activeDeadlineSeconds
spec.tolerations

To make it possible:
  1. Extract pod manifest:
    kubectl get pod webapp -o yaml > my-new-pod.yaml
  2. Edit the file my-new-pod.yaml
  3. Delete the old pod:
    kubectl delete pod webapp
  4. Create new pod from edited manifest:
    kubectl create -f my-new-pod.yaml