652cee0e2e
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
185 KiB
185 KiB
layout, title, summary, date, tags
| layout | title | summary | date | tags |
|---|---|---|---|---|
| post.html | T.I.L. kubectl replace | Today I Learnt: kubectl replace | 2020-09-25 | til kubernetes kubectl |
After working with Kubernetes for a few years now I've only just today learnt about kubectl replace which, you guessed it, completely replaces a resource.
I've always used kubectl apply to update existing resources (or create new ones) which does a merge between the existing and the supplied manifest.
Hat tip to @vdemeest for this: