[Hawkular-dev] Identification of WildFly in container in a Kube/Openshift env
Jay Shaughnessy
jshaughn at redhat.com
Fri Jul 29 14:09:02 EDT 2016
Are multiple servers/agents per container a possibility? If so we'd
need to append a differentiator to the container identifier.
Also, with respect to a feedid based on deployments, isn't it possible
that multiple containers run the same deployments for load-balancing
purposes? Wouldn't that result in multiple agents running with the same
feedid? Anyway, It seems if we could derive a feedid from the
container, with perhaps a new token like autogenerate-from-container,
that could be a nice way to easily identify a feed for a container.
This doesn't solve the issue of replacing a stopped container with a new
container, thus generating new inventory and orphaning the existing
inventory. But in that situation I think we may just want to look for a
decent way to kill that inventory, like TTL or something.
On 7/28/2016 1:08 PM, John Mazzitelli wrote:
>> Is there any reason the agent can't use container as identification?
>>
>> HOSTNAME="hawkular-cassandra-1-6o1y8"
> Things like that would work well.
>
> We could even allow the agent to support notation like this:
>
> <storage-adapter feed-id="%envvar(HOSTNAME)" ... />
>
> or whatever syntax makes sense
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20160729/889a5e09/attachment.html
More information about the hawkular-dev
mailing list