You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our use case, we use nginx + lua_module to get service instances from consul. We'd like to store the instance's weight into Annotations when register service, so that, the nginx + lua_module can set instance's weight by interpret the Annotations filed.
The text was updated successfully, but these errors were encountered:
Hi @weiwei04 thanks for opening an issue - I'm going to close this in favor of #1107, which we can hopefully address pretty soon. We are planning on adding a limited KV field for services, like we did for nodes via https://www.consul.io/docs/agent/options.html#node_meta, which should hit your use case as well.
Current service definition is like
How about add a Annotations filed, so user can store some metadata in service definition, and consul needn't to interpret.
In our use case, we use nginx + lua_module to get service instances from consul. We'd like to store the instance's weight into
Annotations
when register service, so that, the nginx + lua_module can set instance's weight by interpret theAnnotations
filed.The text was updated successfully, but these errors were encountered: