You've successfully subscribed to Nuvotex Blog
Great! Next, complete checkout for full access to Nuvotex Blog
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.

Linux

Ansible - pretty print output

Ansible - pretty print output

Sometimes you want to print more or extensive information on ansible output (in this case a terraform plan). This can easily be realised using an stdout callback.

Daniel Nachtrub
Daniel Nachtrub
IaC
Kubernetes, blockDevices & denied permissions

Kubernetes, blockDevices & denied permissions

Mounting (block)devices on containers might result in permission errors (Permission denied) if pods have applied a securityContext. It's possible to configure this on containerd and get both of best worlds - fast device access and reduced permissions on containers.

Daniel Nachtrub
Daniel Nachtrub
Container
Enable SR-IOV on Broadcom NICs and configure VF count

Enable SR-IOV on Broadcom NICs and configure VF count

Running broadcom network cards using SR-IOV might require configuration of the cards firmware. This also applies for example if you want to adjust the total number of virtual functions.

Daniel Nachtrub
Daniel Nachtrub
Linux
Get filesystem access using an ephemeral container in kubernetes

Get filesystem access using an ephemeral container in kubernetes

Sometimes you need to access a containers filesystem but the container itself is eventually distroless or does not offer any shell. Here's how to access the filesystem anyway using ephemeral containers!

Daniel Nachtrub
Daniel Nachtrub
Cloud
Using AKS kubectl (kubelogin) on headless systems or pipelines

Using AKS kubectl (kubelogin) on headless systems or pipelines

Running kubectl on pipelines with interactive authentication is somewhat non-optimal :-) Let's make it better without using long-living tokens.

Daniel Nachtrub
Daniel Nachtrub
Azure
When fstrim stalls your I/O subsystem

When fstrim stalls your I/O subsystem

On one of our systems we had issues that - once a week - the I/O subsystem stalled and causes issues on database operations.

Daniel Nachtrub
Daniel Nachtrub
Database
postgres - database has no actual collation version, but a version was recorded

postgres - database has no actual collation version, but a version was recorded

Upgrading a major postgres version using containers with different C libraries caused me some headaches because I go an error "database has no actual collation version, but a version was recorded" - and I did not fix it. At least I can give a hint on why it happend and how you could avoid it.

Daniel Nachtrub
Daniel Nachtrub
Container
postgres - upgrading postgres with timescaledb running in a container

postgres - upgrading postgres with timescaledb running in a container

Uprading postgres with timescaledb caused me some issues related to the collation. After some retries I've found a reliable way to doing the upgrade. This post describes the steps to be done.

Daniel Nachtrub
Daniel Nachtrub
Database