Andlogreg
banner
andlogreg.bsky.social
Andlogreg
@andlogreg.bsky.social
Tech, Productivity, and 🚀 Self-Improvement. (While navigating Self-Doubt)

Some of my values: Discipline, Minimalism, Progress, and Lifelong Learning

https://links.andlogreg.work
Once the provider is configured, the next step is repeatable deployments... -> bsky.app/profile/andl...
Following up on my #Proxmox + #Terraform auth setup.

I've documented how I quickly provision Ubuntu VMs on Proxmox using Terraform and Cloud-Init.

Covers cloning from templates and injecting network/SSH configs automatically. 🔗 ⬇️
December 22, 2025 at 7:31 PM
Using Terraform to clone Cloud-Init templates is a great way to maintain a consistent #homelab (and professional) environment. Here is the configuration I use for Ubuntu nodes:

andlogreg.work/notes/202512...
Proxmox VM from Cloud-Init template with Terraform -- Where thoughts escape my mental RAM
Deploying Proxmox VMs from Cloud-Init templates using Terraform
andlogreg.work
December 22, 2025 at 7:30 PM
Uses env variables with dedicated PVE user + API token for better security.

Full reference note here: andlogreg.work/notes/202512...
Setup Terraform to connect with proxmox -- Where thoughts escape my mental RAM
How to set up a Proxmox user and token for secure Terraform access.
andlogreg.work
December 22, 2025 at 7:03 PM
Full CLI commands and configuration details are now in my digital garden: andlogreg.work/notes/202511... (3/3)
Ubuntu Cloud-Init VM Template on Proxmox Where thoughts escape my mental RAM
Create Proxmox Ubuntu Cloud-Init templates for fast VM deployments.
andlogreg.work
December 21, 2025 at 10:06 PM
I keep two versions:

1. a "UI-optimized" template with QEMU guest agents and VirtIO drivers enabled
2. a "Barebones" version specifically for Terraform to take over. (2/3)
December 21, 2025 at 10:06 PM
A tiny syntax nuance — but the kind that silently wastes your time if you're not aware of it.
Hope this saves someone from the same trap!
#DockerTips #TechNotes #DevLife
July 2, 2025 at 4:47 PM
Why? Because in Dockerfiles:
- `ARG` before `FROM` → only available to `FROM`
- If you want to use that same `ARG` later, you must re-declare it after `FROM`
✅ Correct:
July 2, 2025 at 4:47 PM
I had something like this.
But the condition was never true — even with:
`--build-arg TARGET_ENV=production`.
July 2, 2025 at 4:47 PM
ArgoCD is awesome — but behavior like this is easy to miss.

Lesson: if a hook is critical, don’t assume it will always run.
Be explicit. Be safe. 🛡️
#Kubernetes #ArgoCD #PlatformEngineering #MLOps #DevOps
June 30, 2025 at 3:48 PM
Another option: move your “pre-sync logic” into the app itself — via initContainers, entrypoint scripts, or sidecars.

That way your app always enforces what it needs. No surprises.
June 30, 2025 at 3:48 PM
💡 Workaround: use `argocd.argoproj.io/sync-wave: "-1"` instead of a PreSync hook.

It’s a normal resource, so it will run even during drift-based auto-syncs — just early in the sync order.

Not perfect, but more predictable.
June 30, 2025 at 3:48 PM
This means if someone makes a manual change in the cluster, and auto-sync kicks in, your PreSync job will be skipped.
ArgoCD just re-applies manifests directly — no hook logic involved. 🫣
June 30, 2025 at 3:48 PM
What does trigger PreSync hooks?
✅ Manual syncs (via UI or CLI)
✅ Auto-syncs caused by Git changes (e.g. new commits)
What does not?
❌ Auto-syncs triggered by live state drift (e.g. someone running `kubectl edit`)
June 30, 2025 at 3:48 PM
... what happens if I ever get locked out of my Apple ID? I've seen the stories online, and it makes you think... what happens to everything?

The thought of losing access is honestly unsettling...

I'll start taking action on making my digital life more resilient soon... 🫡🖖
April 7, 2025 at 7:58 PM
... I can't decide: Analog or Digital?

Maybe I should try alternating—one week digital, one week analog—just to see what works best. Otherwise, I'm just stuck in decision paralysis!

What do you use for journaling? Any tips for choosing between the two or using both together?
November 11, 2024 at 5:08 PM