Tag: TIL

Backoff limit per index

Kubernetes v1.33 is coming with Backoff limit per index. Backoff limWHAT? Ideally, in kubernetes your workload should tolerate transient failures and continue running. By transient failures I mean network congestions, nodes with problems etc. To achieve failure tolerance in a Kubernetes Job, you can set the spec.backoffLimit field. This field specifies the total number of tolerated failures. Why should there be a limit? Well, you don’t want cascade failures, for example. Read more...

Hugo: filter post by tag

I wanted to stop showing in the frontpage of this blog powered by (Hugo) the posts tagged as “TIL” or “IWL”. My theme template is {{ $blogPages := where .Site.RegularPages.ByDate.Reverse ".Type" "in" .Site.Params.mainSections }} I tried with “intersect” and “where” but it did not work, not sure if it is because my Hugo version is old but, anyway, I was too lazy to upgrade Hugo (and adapt all templates, breaking changes, etc) so this simple code made my day: Read more...