SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
PowerShell and Bash Prompt with Git Branch
Summary: This wiki page shows how I configure my PowerShell and bash prompts to include my current git branch and path.
Date: 1 March 2025
I work a lot from the command line, both in PowerShell and in Bash. I also work a lot with git repositories, and I really don't like it to constantly check what branch I'm in, or to not be able to read my commands I'm typing because I'm so deep into a directory. To fix that, I created my own custom prompt, for both PowerShell and Bash, that shows me (at least):
- if inside a git repository
- show current git branch
- show only the last 2 parts of the path, but like this: C:\…\part1\part2
Kubernetes Nodepool Scheduling
Summary: This wiki page shows how I configure my AKS nodepools and migrate pods between nodepools if needed.
Date: 2 January 2026
I would like to start with explaining what nodepools are, especially in Azure Kubernetes Service (AKS). However, sometimes, the documentation is just very good:
In Azure Kubernetes Service (AKS), nodes of the same configuration are grouped together into node pools. Node pools contain the underlying VMs that run your applications. System node pools and user node pools are two different node pool modes for your AKS clusters. System node pools serve the primary purpose of hosting critical system pods such as CoreDNS and metrics-server. User node pools serve the primary purpose of hosting your application pods.
Terraform Override File
Summary: This wiki page shows how to use terraform override files to make it more convenient to work locally.
Date: 1 January 2026
I use terraform override files to test my terraform code which I make publicly available. This allows me to really test the code and make sure all of the small errors and mistakes are gone, and the code is ready for use. There are several use cases for using override files, but as the documentation says, use them sparingly.
Terraform Conditional Arguments and Dynamic Blocks
Summary: This wiki page shows how I used terraform's conditionals in arguments and dynamic blocks to make configurations more flexible by showing a few examples.
Date: 1 January 2026
Conditionals and dynamic blocks are terraform features you usually don't need when you're just starting. Their power comes when you're starting to work on more complex terraform configurations or modules. Below I show a couple of examples where I used conditionals and dynamic blocks. For both features, you always need to consider if using them is really the best solution for your problem. I've often encountered that using for example default values and optional arguments can solve the same problem in a more straightforward way.

