JGroups Kube_Ping Configuration
KUBE_PING is a discovery protocol for JGroups cluster nodes managed by Kubernetes. See how to configure it.
SAP Commerce can discover cluster nodes using KUBE_PING. To enable such JGroups configuration set this property:
cluster.broadcast.method.jgroups.configuration=jgroups-tcp-kubeping.xml
Now, SAP Commerce can discover its cluster nodes by querying the Kubernetes API directly.
The JGroups configuration file is a template located in /bin/platform/ext/core/resources/jgroups/jgroups-tcp-kubeping.xml. It contains placeholder variables, such as <hybris.jgroups.portRange>, that you can set through SAP Commerce properties mechanism. Properties that match the cluster.conf.jgroups-tcp-kubeping.[property] pattern are used as a value for the <hybris.jgroups.[property]> template placeholders.
cluster.conf.jgroups-tcp-kubeping.portRange=0
Default properties are configured in /bin/platform/project.properties, under the KUBE_PING JGroups options section.
