You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Portal:Toolforge/Admin/Kubernetes/labels

From Wikitech-static
Jump to navigation Jump to search

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 Label Values Set by Read by Comments
Pod toolforge "tool" webservice & toolforge-jobs-api volume-admission-controller for the volume admission controller to mount the tool home in the pod
jobs.toolforge.org/filelog "yes" toolforge-jobs-api toolforge-jobs-api if a given job should create log files
jobs.toolforge.org/emails "all", "onfinish", "onfailure" toolforge-jobs-api toolforge-jobs-api & toolforge-jobs-emailer if 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