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
@rbondi from what I know, the command you mentioned is to create a replication controller is present in the 1st edition of the book which was released quite long back. Kubernetes has been updated quite a lot from then.
In earlier versions of kubernetes, a kubectl run command would create a deployment and in order to create an rc one would require to pass --generator=run/v1 flag.
In latest version (22, as of writing this comment) kubectl run would only create a pod and not a deployment and --generator flag has been deprecated.
The chapter section says to run this command:
With v1.18.1 of minikube, this returns:
The text was updated successfully, but these errors were encountered: