You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just started reading your book. But the command "kubectl run kubia --image=luksa/kubia --port=8080 --generator=run/v1" throws me the error```
Error: unknown flag: --generator
See 'kubectl run --help' for usage
FYI luksa/kubia is replaced with my dockerhub registry image 496620/server
As per the [stackoverflow](https://stackoverflow.com/questions/52890718/kubectl-run-is-deprecated-looking-for-alternative) generator is deprecated. If that is the case, which command to use to create the replicationcontroller ?
The text was updated successfully, but these errors were encountered:
Just started reading your book. But the command "kubectl run kubia --image=luksa/kubia --port=8080 --generator=run/v1" throws me the error```
Error: unknown flag: --generator
See 'kubectl run --help' for usage
FYI luksa/kubia is replaced with my dockerhub registry image 496620/server
As per the [stackoverflow](https://stackoverflow.com/questions/52890718/kubectl-run-is-deprecated-looking-for-alternative) generator is deprecated. If that is the case, which command to use to create the replicationcontroller ?
Flag --generator is DEPRECATED, maybe after k8s ver1.18? I'm not sure.
Hi,
Just started reading your book. But the command "kubectl run kubia --image=luksa/kubia --port=8080 --generator=run/v1" throws me the error```
Error: unknown flag: --generator
See 'kubectl run --help' for usage
The text was updated successfully, but these errors were encountered: