gergelyke.github.io icon indicating copy to clipboard operation
gergelyke.github.io copied to clipboard

Using Kubernetes for Local Development

Open gergelyke opened this issue 7 years ago • 8 comments

gergelyke avatar Mar 18 '18 21:03 gergelyke

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.

james-gardner avatar Mar 23 '18 13:03 james-gardner

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

fadliawan avatar May 19 '18 22:05 fadliawan

@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

gergelyke avatar May 19 '18 23:05 gergelyke

@fadliawan ahh yeah, I'll have to update the post - thanks for the reminder!

gergelyke avatar May 19 '18 23:05 gergelyke

@fadliawan just got to it - sorry for the delay

gergelyke avatar Jul 04 '18 02:07 gergelyke

I just waited a while, it worked.

FX-HAO avatar Aug 16 '18 10:08 FX-HAO

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, *.js or *.py files) you do a file sync

This helps a lot with speed on changes that does not require a full container rebuild. More details here.

mfornasa avatar Oct 23 '18 20:10 mfornasa

Oh cool, thanks @mfornasa !

gergelyke avatar Oct 28 '18 17:10 gergelyke