Cloud

kubernetes, cgroups v2 and failing health probes Members Public

Running Kubernetes on a systemd-based OS can lead to pods restarting endlessly due to health probe failures, caused by the systemd cgroup driver. Previously, this was fixed by modifying boot options, but a simpler approach is to switch the kubelet to use cgroupfs instead.

Daniel Nachtrub
Daniel Nachtrub
Cloud

Helm's Hidden Quirks: Merging boolean values Members Public

Helm is a powerful tool for manageing Kubernetes applications. Despite its ubiquity in the kubernetes-world, there are some nuances to consider when working with boolean values—especially when merging complex objects.

Felix Zimmermann
Kubernetes

Can't delete kubernetes namespace (NamespaceDeletionDiscoveryFailure) Members Public

While trying to delete a namespace on a kubernetes cluster I learned that there is a resource type apiservice :-) This post shows how to unblock deletions due orphaned apiservice definitions.

Daniel Nachtrub
Daniel Nachtrub
Linux

Ansible - pretty print output Members Public

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

Object attribute defaults on terraform - hello simplicity Members Public

Using terraform's object attributes defaults empowers you to create complex input values that still apply default values on a highly granular level. This post shows an example how to use this.

Daniel Nachtrub
Daniel Nachtrub
IaC

Configurable default values on terraform objects Members Public

Creating complex configurations requires many dimensions on the input - this post shows how to take care of default values in such a case to offer users of your code fine grained control without enforcing too much input if not required.

Daniel Nachtrub
Daniel Nachtrub
Terraform

Terraform - applying complex default values Members Public

This post explores handling default values in Terraform. It shows merging default values with instance-specific values, using both native merge and the deepmerge module for recursive merging of nested objects. This approach ensures compact, maintainable code and seamless use of default values.

Daniel Nachtrub
Daniel Nachtrub
Cloud

Get filesystem access using an ephemeral container in kubernetes Members Public

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