gergelyke.github.io
gergelyke.github.io copied to clipboard
Using Kubernetes for Local Development
Why do you use extensions/v1beta1 ?
Thanks for posting this by the way. It's really helped me find my way around kubernetes so far.
Thank you for the post!
I got the following error when running skaffold dev.
Error: reading configuration: parsing skaffold config: Unable to parse config
Looks like the schema for Skaffold config has changed. Refer to:
https://github.com/GoogleContainerTools/skaffold/blob/master/examples/annotated-skaffold.yaml
@james-gardner sorry for the delay in the response!
it was just that I was using an older Kubernetes version - you can simple use the v1/apps instead of that
@fadliawan ahh yeah, I'll have to update the post - thanks for the reminder!
@fadliawan just got to it - sorry for the delay
I just waited a while, it worked.
Skaffold recently added an hybrid approach allowing to defines two sets of files:
- On the first set, you do the full build+deploy
- On the other set (for example,
*.jsor*.pyfiles) you do a file sync
This helps a lot with speed on changes that does not require a full container rebuild. More details here.
Oh cool, thanks @mfornasa !