[
https://issues.redhat.com/browse/WFWIP-334?page=com.atlassian.jira.plugin...
]
Jean Francois Denise commented on WFWIP-334:
--------------------------------------------
[~mchoma], that could be a first step. User would enable cloud that enables KUBE_PING and
apply this kind of script:
if (outcome == success) of
/subsystem=jgroups/stack=tcp/protocol=kubernetes.KUBE_PING:read-resource
/subsystem=jgroups/stack=tcp/protocol=kubernetes.KUBE_PING:remove
end-if
if (outcome == success) of /subsystem=jgroups/stack=tcp:read-resource
/subsystem=jgroups/stack=tcp/protocol=dns.DNS_PING:add(add-index=0)
/subsystem=jgroups/stack=tcp/protocol=dns.DNS_PING/property=dns_query:add(value=${env.DNS_PING_SERVICE_NAME})
/subsystem=jgroups/stack=tcp/protocol=dns.DNS_PING/property=async_discovery_use_separate_thread_per_request:add(value=true)
end-if
The user would name the env variable to set the ping service freely (eg:
DNS_PING_SERVICE_NAME).
Bootable JAR - Cloud - Support for dns.DNS_PING
-----------------------------------------------
Key: WFWIP-334
URL:
https://issues.redhat.com/browse/WFWIP-334
Project: WildFly WIP
Issue Type: Feature Request
Reporter: Jean Francois Denise
Assignee: Jean Francois Denise
Priority: Major
Currently kubernetes.KUBE_PING is the protocol in use when cloud is enabled.
KUBE_PING, although requiring an Openshift permission, is the simpler configuration wise
(just need KUBERNETES namespace and your are done).
DNS_PING doesn't require the extra permission but requires a new service (to expose
the port 8888 in the pod) to be created.
I propose that we keep KUBE_PING as the default protocol and extend the cloud element
with a <ping-protocol>kubernetes.KUBE_PING|dns.DNS_PING</ping-protocol>
element.
The env variable used to set the service name is the same as EAP/XP S2I builder
image: OPENSHIFT_DNS_PING_SERVICE_NAME
web-clustering example will be evolved with a profile to support DNS_PING (and also to
contain a yaml example file of the ping service).
[~luck3y], [~mchoma], [~brian.stansberry] [~fburzigo] that is the proposal to also cover
DNS_PING.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)