[{"data":1,"prerenderedAt":158},["ShallowReactive",2],{"term-r\u002Frolling-update":3,"related-r\u002Frolling-update":140},{"id":4,"title":5,"acronym":6,"body":7,"category":120,"description":121,"difficulty":122,"extension":123,"letter":124,"meta":125,"navigation":126,"path":127,"related":128,"seo":134,"sitemap":135,"stem":138,"subcategory":6,"__hash__":139},"terms\u002Fterms\u002Fr\u002Frolling-update.md","Rolling Update",null,{"type":8,"value":9,"toc":114},"minimark",[10,15,19,23,26,30,103,107,110],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A Rolling Update is when you update your app one server at a time instead of all at once. While you're updating server 1, servers 2 and 3 still serve traffic normally. When server 1 is done, you move to server 2, then 3. Users never see downtime because there are always healthy servers running.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A rolling update is a deployment strategy that gradually replaces old instances with new ones, maintaining service availability throughout. Kubernetes rolling updates take down old pods one at a time while bringing up new ones, using readiness probes to ensure new pods are ready before taking down old ones.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Kubernetes rolling update strategy\nstrategy:\n  type: RollingUpdate\n  rollingUpdate:\n    maxUnavailable: 1\n    maxSurge: 1\n","yaml","",[38,39,40,49,60,73,81,93],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Kubernetes rolling update strategy\n",[41,50,52,56],{"class":43,"line":51},2,[41,53,55],{"class":54},"swJcz","strategy",[41,57,59],{"class":58},"sMK4o",":\n",[41,61,63,66,69],{"class":43,"line":62},3,[41,64,65],{"class":54},"  type",[41,67,68],{"class":58},":",[41,70,72],{"class":71},"sfazB"," RollingUpdate\n",[41,74,76,79],{"class":43,"line":75},4,[41,77,78],{"class":54},"  rollingUpdate",[41,80,59],{"class":58},[41,82,84,87,89],{"class":43,"line":83},5,[41,85,86],{"class":54},"    maxUnavailable",[41,88,68],{"class":58},[41,90,92],{"class":91},"sbssI"," 1\n",[41,94,96,99,101],{"class":43,"line":95},6,[41,97,98],{"class":54},"    maxSurge",[41,100,68],{"class":58},[41,102,92],{"class":91},[11,104,106],{"id":105},"when-youll-hear-this","When You'll Hear This",[16,108,109],{},"\"A rolling update means zero downtime deployments with automatic health checking.\" \u002F \"The rolling update stalled because the new pods kept failing the readiness check.\"",[111,112,113],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":115},[116,117,118,119],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":105,"depth":51,"text":106},"cicd","A Rolling Update is when you update your app one server at a time instead of all at once.","intermediate","md","r",{},true,"\u002Fterms\u002Fr\u002Frolling-update",[129,130,131,132,133],"Blue-Green Deployment","Canary Release","Zero Downtime Deployment","Kubernetes","Health Check",{"title":5,"description":121},{"changefreq":136,"priority":137},"weekly",0.7,"terms\u002Fr\u002Frolling-update","zdu5GXxPT_XDNY9V9UBRqZCAoj0GlRil1slg6ZJ3YkY",[141,144,147,151,155],{"title":129,"path":142,"acronym":6,"category":120,"difficulty":122,"description":143},"\u002Fterms\u002Fb\u002Fblue-green-deployment","Blue-green deployment means running two identical production environments — Blue (current) and Green (new).",{"title":130,"path":145,"acronym":6,"category":120,"difficulty":122,"description":146},"\u002Fterms\u002Fc\u002Fcanary-release","A canary release is like sending a canary into a coal mine — you deploy the new version to a tiny fraction of users first and watch closely.",{"title":133,"path":148,"acronym":6,"category":120,"difficulty":149,"description":150},"\u002Fterms\u002Fh\u002Fhealth-check","beginner","A Health Check is an automatic 'are you alive?' ping your infrastructure sends to your app regularly.",{"title":132,"path":152,"acronym":6,"category":120,"difficulty":153,"description":154},"\u002Fterms\u002Fk\u002Fkubernetes","advanced","Kubernetes is a robot manager for your containers.",{"title":131,"path":156,"acronym":6,"category":120,"difficulty":122,"description":157},"\u002Fterms\u002Fz\u002Fzero-downtime-deployment","Old-school deploys meant 5 minutes of downtime while the server restarted. Users got a 503 and emailed you.",1776518308774]