[{"data":1,"prerenderedAt":569},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2025\u002F11\u002F18\u002Fupgrading-flux\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":553,"date":554,"description":213,"embedImage":553,"extension":555,"image":553,"intro":556,"meta":557,"navigation":558,"path":559,"seo":560,"series":553,"sitemap":561,"stem":562,"tags":563,"__hash__":568},"content\u002F2025\u002F11\u002F18\u002Fupgrading-flux.md","Upgrading flux",{"type":208,"value":209,"toc":551},"minimark",[210,214,217,237,332,335,338,345,348,360,363,366,427,430,529,532,535,547],[211,212,213],"p",{},"I have two k3s clusters running - an older cluster running on some raspberry pis at home, and a single node cluster\nrunning on a cloud provider VM.",[211,215,216],{},"The home cluster was on 2.5.1 and the cloud one on 2.7.2 - the latest (as of this post) is 2.7.3.",[211,218,219,220,230,231,236],{},"The update procedure for 2.7.3 I took from ",[221,222,229],"a",{"href":223,"rel":224,"target":228},"https:\u002F\u002Fgithub.com\u002Ffluxcd\u002Fflux2\u002Fdiscussions\u002F5572",[225,226,227],"nofollow","noopener","noreferer","_blank","this discussion"," as well\nas the ",[221,232,235],{"href":233,"rel":234,"target":228},"https:\u002F\u002Ffluxcd.io\u002Fflux\u002Finstallation\u002Fupgrade\u002F",[225,226,227],"upgrade docs"," and it boils down to:",[238,239,244],"pre",{"className":240,"code":241,"language":242,"meta":243,"style":243},"language-shell shiki shiki-themes github-dark","git clone \u003Ccluster-repo>\ncd \u003Ccluster-repo>\nflux migrate -v 2.6 -f .\ngit commit -am \"Migrate to Flux v2.6 stable APIs\"\ngit push\n","shell","",[245,246,247,274,289,310,324],"code",{"__ignoreMap":243},[248,249,252,256,260,264,267,271],"span",{"class":250,"line":251},"line",1,[248,253,255],{"class":254},"svObZ","git",[248,257,259],{"class":258},"sU2Wk"," clone",[248,261,263],{"class":262},"snl16"," \u003C",[248,265,266],{"class":258},"cluster-rep",[248,268,270],{"class":269},"s95oV","o",[248,272,273],{"class":262},">\n",[248,275,277,281,283,285,287],{"class":250,"line":276},2,[248,278,280],{"class":279},"sDLfK","cd",[248,282,263],{"class":262},[248,284,266],{"class":258},[248,286,270],{"class":269},[248,288,273],{"class":262},[248,290,292,295,298,301,304,307],{"class":250,"line":291},3,[248,293,294],{"class":254},"flux",[248,296,297],{"class":258}," migrate",[248,299,300],{"class":279}," -v",[248,302,303],{"class":279}," 2.6",[248,305,306],{"class":279}," -f",[248,308,309],{"class":258}," .\n",[248,311,313,315,318,321],{"class":250,"line":312},4,[248,314,255],{"class":254},[248,316,317],{"class":258}," commit",[248,319,320],{"class":279}," -am",[248,322,323],{"class":258}," \"Migrate to Flux v2.6 stable APIs\"\n",[248,325,327,329],{"class":250,"line":326},5,[248,328,255],{"class":254},[248,330,331],{"class":258}," push\n",[211,333,334],{},"This updated a few things (interestingly on both clusters - even though one was already on 2.7.2 - too much copy\u002Fpaste\nbetween clusters).",[211,336,337],{},"Let it reconcile.",[211,339,340,341,344],{},"It also said to repeat for 2.7 with ",[245,342,343],{},"flux migrate -v 2.7 -f ."," but that found nothing to update in either cluster.",[211,346,347],{},"Next step was to run",[238,349,351],{"className":240,"code":350,"language":242,"meta":243,"style":243},"flux migrate\n",[245,352,353],{"__ignoreMap":243},[248,354,355,357],{"class":250,"line":251},[248,356,294],{"class":254},[248,358,359],{"class":258}," migrate\n",[211,361,362],{},"Finally - update the bootstrapped info.",[211,364,365],{},"Here the upgrade docs show that you can re-run bootstrap:",[238,367,369],{"className":240,"code":368,"language":242,"meta":243,"style":243},"flux bootstrap github \\\n  --owner=github-username \\\n  --repository=cluster-repo \\\n  --branch=main \\\n  --path=clusters\u002F\u003Ccluster-name> \\\n  --personal\n",[245,370,371,384,391,398,405,421],{"__ignoreMap":243},[248,372,373,375,378,381],{"class":250,"line":251},[248,374,294],{"class":254},[248,376,377],{"class":258}," bootstrap",[248,379,380],{"class":258}," github",[248,382,383],{"class":279}," \\\n",[248,385,386,389],{"class":250,"line":276},[248,387,388],{"class":279},"  --owner=github-username",[248,390,383],{"class":279},[248,392,393,396],{"class":250,"line":291},[248,394,395],{"class":279},"  --repository=cluster-repo",[248,397,383],{"class":279},[248,399,400,403],{"class":250,"line":312},[248,401,402],{"class":279},"  --branch=main",[248,404,383],{"class":279},[248,406,407,410,413,416,419],{"class":250,"line":326},[248,408,409],{"class":279},"  --path=clusters\u002F",[248,411,412],{"class":262},"\u003C",[248,414,415],{"class":279},"cluster-name",[248,417,418],{"class":262},">",[248,420,383],{"class":279},[248,422,424],{"class":250,"line":423},6,[248,425,426],{"class":279},"  --personal\n",[211,428,429],{},"But - there was a second option - to do so via git:",[238,431,433],{"className":240,"code":432,"language":242,"meta":243,"style":243},"git clone \u003Ccluster-repo>\ncd \u003Ccluster-repo>\nflux install --export >! .\u002Fclusters\u002F\u003Ccluster-name>\u002Fflux-system\u002Fgotk-components.yaml\ngit add -A && git commit -m \"Update to $(flux -v)\"\ngit push\n",[245,434,435,449,461,493,523],{"__ignoreMap":243},[248,436,437,439,441,443,445,447],{"class":250,"line":251},[248,438,255],{"class":254},[248,440,259],{"class":258},[248,442,263],{"class":262},[248,444,266],{"class":258},[248,446,270],{"class":269},[248,448,273],{"class":262},[248,450,451,453,455,457,459],{"class":250,"line":276},[248,452,280],{"class":279},[248,454,263],{"class":262},[248,456,266],{"class":258},[248,458,270],{"class":269},[248,460,273],{"class":262},[248,462,463,465,468,471,474,477,480,482,485,488,490],{"class":250,"line":291},[248,464,294],{"class":254},[248,466,467],{"class":258}," install",[248,469,470],{"class":279}," --export",[248,472,473],{"class":262}," >",[248,475,476],{"class":258},"!",[248,478,479],{"class":258}," .\u002Fclusters\u002F",[248,481,412],{"class":262},[248,483,484],{"class":258},"cluster-nam",[248,486,487],{"class":269},"e",[248,489,418],{"class":262},[248,491,492],{"class":258},"\u002Fflux-system\u002Fgotk-components.yaml\n",[248,494,495,497,500,503,506,508,510,513,516,518,520],{"class":250,"line":312},[248,496,255],{"class":254},[248,498,499],{"class":258}," add",[248,501,502],{"class":279}," -A",[248,504,505],{"class":269}," && ",[248,507,255],{"class":254},[248,509,317],{"class":258},[248,511,512],{"class":279}," -m",[248,514,515],{"class":258}," \"Update to $(",[248,517,294],{"class":254},[248,519,300],{"class":279},[248,521,522],{"class":258},")\"\n",[248,524,525,527],{"class":250,"line":326},[248,526,255],{"class":254},[248,528,331],{"class":258},[211,530,531],{},"I chose the git method - and it worked fine for both.",[211,533,534],{},"Finally - you can run",[238,536,538],{"className":240,"code":537,"language":242,"meta":243,"style":243},"flux check\n",[245,539,540],{"__ignoreMap":243},[248,541,542,544],{"class":250,"line":251},[248,543,294],{"class":254},[248,545,546],{"class":258}," check\n",[548,549,550],"style",{},"html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}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);}",{"title":243,"searchDepth":276,"depth":276,"links":552},[],null,"2025-11-18 11:13 +0100","md","Upgrading flux installs for k3s clusters",{},true,"\u002F2025\u002F11\u002F18\u002Fupgrading-flux",{"title":206,"description":213},{"loc":559},"2025\u002F11\u002F18\u002Fupgrading-flux",[564,565,566,567],"k3s","fluxcd","upgrade","kubernetes","g3MedEeKlGnE4kST0a3w0AM4aWmy0-uAw4PmJF8qkrM",1775292984186]