kubectl "create" replacing "run"
bridgetkromhout opened this issue · comments
Bridget Kromhout commented
$ kubectl run pingpong --image alpine ping 1.1.1.1
kubectl run --generator=deployment/apps.v1beta1 is DEPRECATED and will be removed in a future version. Use kubectl create instead.
deployment.apps/pingpong created
[13.66.18.226] (local) docker@node1 ~/container.training/dockercoins
Bridget Kromhout commented
Temporary fix: #362
We'll want to make the appropriate revisions, though.
Jérôme Petazzoni commented
Yes! It will require extensive changes (basically getting rid of all the -l run=...
that we do all over the place).
The most annoying thing is that kubectl create deployments
doesn't support command-line args, so the whole pinger
example will have to change. Perhaps we could create a jpetazzo/pinger
image; or perhaps get rid of that example, we'll see.
Jérôme Petazzoni commented
Addressed by #396.