@frank@frankwiles.social avatar

frank

@frank@frankwiles.social

Expert in building, scaling and maintaining complex web applications - Founder of
REVSYS (https://www.revsys.com) and Former President of the Django Software Foundation

This profile is from a federated server and may be incomplete. Browse more on the original instance.

frank, to random
@frank@frankwiles.social avatar

Started off today with a long walk outdoors with my youngest and then I was going to dig into the boring work of lifting and shifting my personal Kubernetes cluster over to a new one so I could upgrade FluxCD. There are almost zero docs on how to do an in-place upgrade.

frank,
@frank@frankwiles.social avatar

Oh a whim I Googled around again and came across an old Github issue that mentioned you should be able to just re-run the flux bootstrap .... command with all of the original arguments you used and it will do a perfect in place upgrade.

frank,
@frank@frankwiles.social avatar

This is going to save me a couple of hours today and AGAIN next week as I need to do this for a customer as well! I'm going to use that time to write up the blog post since if I can't find the answer easily, neither can you!

frank,
@frank@frankwiles.social avatar

Figured I was prepared to rebuild everything today anyway so what could it hurt. Magically it took me all of 3 minutes to upgrade from an older weird beta release to the latest stable and seems to be working perfectly.

frank,
@frank@frankwiles.social avatar

As promised here is the blog post on how to upgrade FluxCD in place https://www.revsys.com/tidbits/how-to-upgrade-fluxcd/

offby1, to django
@offby1@wandering.shop avatar

Is it me or is the documentation for project templates uncharacteristically bad?

Like, I have so many questions about how this templating works. Do I get to template filenames? How? Can I include the template as a subdirectory in a repository, or do I need to have it hosted in its own? How about providing one as part of a wheel?

I would love to build a project template into NomNom, so that later worldcons can just “django-admin startapp --template nomnom:basic_template" or something.

frank,
@frank@frankwiles.social avatar

@offby1 @ghickman yeah it's honestly not used a ton in practice (based on what I've seen) probably because of the docs and and possibly because of the existence of things like cookiecutter

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • GTA5RPClips
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • rosin
  • kavyap
  • ethstaker
  • everett
  • khanakhh
  • JUstTest
  • DreamBathrooms
  • InstantRegret
  • cubers
  • normalnudes
  • Leos
  • ngwrru68w68
  • cisconetworking
  • modclub
  • Durango
  • provamag3
  • anitta
  • tester
  • lostlight
  • All magazines