I'm working through a tutorial and trying create a deployment using this command:
kubectl run alpaca-prod \ --image=repo/practice:1 \
--replicas=3 \
--port=8080 \
--labels="ver=1,app=alpaca,env=prod
I get this error:
Error: required flag(s) "image" not set
The bash command line break is incorrect and also missing a trailing quotation mark. The command below should work:
kubectl run alpaca-prod \
--image=repo/practice:1 \
--replicas=3 \
--port=8080 \
--labels="ver=1,app=alpaca,env=prod"
Hope this helps!