Skip to content
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.

kubectl command in readme invalid #1

Open
drshrey opened this issue Dec 8, 2016 · 1 comment
Open

kubectl command in readme invalid #1

drshrey opened this issue Dec 8, 2016 · 1 comment

Comments

@drshrey
Copy link

drshrey commented Dec 8, 2016

➜  k8s-py-example git:(master) ✗ kubectl -f rc-0.1.yml service.yml --validate=false
Error: unknown command "service.yml" for "kubectl"
Run 'kubectl --help' for usage.

I think it should be kubectl create -f rc-0.1.yml service.yml --validate=false

@agonzalezro
Copy link
Owner

Yep @drshrey, you are right. Also, I think you will need another -f after rc-0.1yml.

In other order of things, I doubt that you need --validate=false now, that was an old bug in Kubernetes.

If you want to create a PR with the change I will happily merge it. Thanks for the heads up!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants