Allow for instance Identifiers to be accessible by the deployment
D
Danny Fung
Suppose I have a server with a cronjob that will be calling a function within the file system, that server is deployed into 4 instances, meaning there are 4 cronjobs. These cronjobs will compete in race conditions and may result in duplicate results that would be troubling. Would be great to identify the server instance in which each of these cronjobs are hosted in and use it as part of a locking mechanism using a shared database.
Gulyás Bendeguz
Im also in need of this feature!
If i bring up multiple instances of the same microservice component, it would be really helpful to label them differently to identifies certain issues.
J
Jose Serro
I can't believe this doesn't exist yet. A simple bindable variable for the environment variables would work perfectly.