Goals

  • Learn how to name the cluster, and get a kubeconfig down via terraform, so I can access it locally
  • Move website to dev cluster and from then on to a new production cluster

2025-11-04 07:55

  • Ok, New Day!
  • Trying to get vagrant up so i can have another place to test my vms.
  • 2025-11-04 09:01: ok screw vagrant. will just quicly duplicate my own vm
  • 2025-11-04 09:10: Ok, i need to be using teh damn thing. back to vagrant. Note to self, be a little more ok with changes to your work machine. you have backups and you can always purge something you don’t like. the detritus does not last long anyway since you format the machine every couple of years
  • 2025-11-04 09:34: Ok Virtualbox and KVM/QEMU cannot coexist any longer. Trying to get vagrant working with libvirt. if this does not work, will stop futzing with vagrant. I realise this is a niche thing that probably only a few like me need. and that the images will be few and far. But if it works, good for me
  • Commands
    • vagrant init
    • Find a [qemu or libvirt box][] and use those details in the Vagrantfile
    • vagrant up --provider=libvirt (Changed it to be the default in .bashrc, so now a simple vagrant up will work)
    • Grateful to Alchemy Solutions for a base debian image!
  • 2025-11-04 10:05: Gave up. It’s more trouble than it’s worth. Simpler for me to just snapshot my vm and try stuff in there, even if it takes a while
  • 2025-11-04 10:10: Starting a debian iso download and off to make some tea

2025-11-04 10:35

  • Struggling with ssh. Once done with this, hopefully the rest should be smooth sailing
  • 2025-11-04 11:39: Got what i wanted with a different domain name. Now I realise, I will not use it 😂 At least I got a quick vm with snapshots out of it
  • If I want to pass options to some command I am piping in from stdin then script | sh -s - --option-blah the sh -s - is what does the trick
  • Change the timezone to India, because I got tired of calculating UTC offsets
  • 2025-11-04 12:15: Had to reboot the machine because of my ssh shenanigans
  • 2025-11-04 12:56: Lunch

2025-11-04 16:45

  • I still hesitate every time I do a terraform apply, because that is money out of my pocket. Need to get over this mental block
  • 2025-11-04 19:04: And once again something I struggled to do for the past two hours, on hindsight and with some thinking, I don’t really need to do. I was obsessed with getting the k3s config down to my local system, until I realised that I will mostly run this through a CI/CD and this is moot. Well, at least I’m learning.
  • 2025-11-04 20:10: Shutting down for the day. Got a k3s cluster up and running. Now to start working with it tomorrow


Feedback on this post?
Mail me at feedback at this domain.