Unknown flag: –generator?

Hai All.
I’m very new in kubernetes, I still don’t know to solved this. I have question how to create ReplicationController with command kubectl ctl run in kubernetes?
I type this and with this error:

kubectl run --generator=run-pod/v1 kubia --image=afiadi/mycontainer:kubia --port=8080 
Error: unknown flag: --generator
See 'kubectl run --help' for usage

I fioud tutorial on the internet, is working but in my system isn’t working, without replicationcontrollers I can’t scala up horizontal my pod in kubernetes. Or there is other method to scala up horizontaslly pod in kubernetes without create first replicationcontrolllers?

Thank You in Advance
Best regards,

1 post – 1 participant

Read full topic


Why doesn`t work my popup, although I connect Js?

A script utilises payload dumper and image extractor tools to extract the apps from the system.img of an android OTA file