K8's app.kubernetes.io/version common label question

Kubernetes version: 1.14.x
Cloud being used: AWS EKS

Hello. Was wondering if it is possible to set the “app.kubernetes.io/version” common label equal to say the commit hash of a jenkins build? I am experimenting with Istio and looking for a way to dynamically set the version to a commit so that it can be used in blue/green or canary deployments. Any help or advice with this would be greatly appreciated.


It’s intended for you to use as you see fit :slight_smile: semantic versioning is just a commonly used nomenclature for it. Here are the docs on them: Recommended Labels - Kubernetes

1 Like