Portal:Toolforge/Admin/Kubernetes/Labels

This page contains a list of known labels used in the Toolforge Kubernetes cluster.

There is an upstream guide on how to use labels: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/

kubernetes labels
Object LabelValuesSet byRead byComments
Pod toolforge"tool"webservice & toolforge-jobs-apivolume-admission-controller, envvars-admission-controllerUsed by the volume admission controller to mount the tool home in the pod (unless disabled via toolforge.org/mount-storage). Used by the envvars admission controller to inject the envvars into the pod.
toolforge.org/mount-storage "all" (default), "none" webservice & toolforge-jobs-api volume-admission-controller If the pod should have NFS volumes mounted or not
jobs.toolforge.org/filelog"yes"toolforge-jobs-apitoolforge-jobs-apiif a given job should create log files
jobs.toolforge.org/emails"all", "onfinish", "onfailure"toolforge-jobs-apitoolforge-jobs-api & toolforge-jobs-emailerif a given job should produce emails
Node kubernetes.wmcloud.org/nfs-mounted "true" puppet kube-scheduler if this node has access to NFS volumes
kubernetes.io/role "ingressgen2" manually kube-scheduler if this node is dedicated for ingress-nginx usage
This article is issued from Wikimedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.