Kubernetes 1.18 broke “kubectl run”, here’s what to do about it
8 min readMay 12, 2020
--
If you’ve been using a recent release of Kubernetes like 1.16, then you may have been used to seeing an odd warning message from kubectl run
. Up until recently, the command could be used to generate Deployment objects or YAML from the command line.
With Kubernetes 1.18 the user experience for generating and creating Deployments has been broken in a surprising way. Here’s why, and what you can do about it.