Skip to content


This extension allows you to label core kubernetes resources with useful labels.


To use this labeling function, edit your k.libsonnet to look something like this

(import 'cloudflight-libsonnet/k.libsonnet')
+ {
  _config+:: {
    project: 'some-project-name'

Afterwards, all resources created (provided they use cloudflight-libsonnet/prelude.libsonnet), will have the label attached

If you need to set this on a per-environment basis, move the k.libsonnet file to your environment folder as described in the Tanka documentation.

Last update: 2023-11-28