oam-kubernetes-runtime icon indicating copy to clipboard operation
oam-kubernetes-runtime copied to clipboard

Workload Labeling Proposal

Open zzxwill opened this issue 5 years ago • 2 comments

to recommend a simple way - Workload Labeling, to easily establish connections between Workloads, Components, AppConfigurations, and pods.

Signed-off-by: Zheng Xi Zhou [email protected]

zzxwill avatar Sep 07 '20 13:09 zzxwill

@wonderflow I doubt whether there is a more 'strict' way for an OAM user to set the label definition.oam.dev/unique-pod after checking the corresponding WorkloadDefinition, as I think he/she might forget the label. Besides, the one who prepares WorkloadDefinition might not know the which label pod-template-hash/controller-revision-hash will be generated for the Pod by the workload.

zzxwill avatar Sep 07 '20 13:09 zzxwill

@wonderflow I doubt whether there is a more 'strict' way for an OAM user to set the label definition.oam.dev/unique-pod after checking the corresponding WorkloadDefinition, as I think he/she might forget the label. Besides, the one who prepares WorkloadDefinition might not know the which label pod-template-hash/controller-revision-hash will be generated for the Pod by the workload.

What do you mean by saying OAM user here? If I understood you clearly, you may mean platform builder here? A platform builder won't forget anything if they are building service for their users.

wonderflow avatar Sep 08 '20 02:09 wonderflow