Kubernetes
You're viewing a free preview. Sign in free to read every script.
Why this exists kubectl apply has no concept of "this release failed, undo it". If a Deployment update never becomes healthy, apply has already done its job — the object was accepted — and the broken Pods just sit there…
A Real Helm Chart for the Orders API: Scaffold, Values, and an Atomic Deploy Script
A complete, working Helm chart (Deployment, Service, ConfigMap, a config-checksum annotation) and a deploy script that installs or upgrades with --atomic --wait, proven against a real cluster: a good upgrade succeeds, and a bad one (an image tag that will never come up) is automatically rolled back by Helm itself, with the failed and rollback revisions visible in helm history.
Sign in free to read this script, along with the rest of the library.
Sign in free