Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISPN-6847 Kubernetes PING integration
- Loading branch information
Showing
20 changed files
with
344 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
as-modules/embedded/src/main/resources/org/jgroups/kubernetes/main/module.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<module xmlns="urn:jboss:module:1.3" name="org.jgroups.kubernetes.kubernetes"> | ||
<properties> | ||
<property name="jboss.api" value="private"/> | ||
</properties> | ||
|
||
<resources> | ||
<artifact name="${org.jgroups.kubernetes:kubernetes}"/> | ||
<artifact name="${org.jgroups.kubernetes:common}"/> | ||
<artifact name="${org.jgroups.kubernetes:dns}"/> | ||
<artifact name="${net.oauth.core:oauth}"/> | ||
</resources> | ||
|
||
<dependencies> | ||
<module name="javax.api"/> | ||
<module name="io.undertow.core"/> | ||
<module name="org.jboss.dmr"/> | ||
<module name="org.jgroups"/> | ||
</dependencies> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.infinispan</groupId> | ||
<artifactId>infinispan-parent</artifactId> | ||
<version>9.0.0-SNAPSHOT</version> | ||
<relativePath>../parent/pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>infinispan-cloud</artifactId> | ||
<name>Infinispan Cloud</name> | ||
<description>Infinispan cloud integration module</description> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.infinispan</groupId> | ||
<artifactId>infinispan-core</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jgroups.kubernetes</groupId> | ||
<artifactId>kubernetes</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
File renamed without changes.
File renamed without changes.
66 changes: 66 additions & 0 deletions
66
cloud/src/main/resources/default-configs/default-jgroups-kubernetes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<config xmlns="urn:org:jgroups" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.6.xsd"> | ||
|
||
<TCP bind_addr="${jgroups.tcp.address:match-interface:eth.*}" | ||
bind_port="${jgroups.tcp.port:7800}" | ||
enable_diagnostics="false" | ||
thread_naming_pattern="pl" | ||
send_buf_size="640k" | ||
sock_conn_timeout="300" | ||
bundler_type="transfer-queue" | ||
|
||
thread_pool.min_threads="${jgroups.thread_pool.min_threads:2}" | ||
thread_pool.max_threads="${jgroups.thread_pool.max_threads:30}" | ||
thread_pool.keep_alive_time="60000" | ||
thread_pool.queue_enabled="false" | ||
|
||
internal_thread_pool.min_threads="${jgroups.internal_thread_pool.min_threads:5}" | ||
internal_thread_pool.max_threads="${jgroups.internal_thread_pool.max_threads:20}" | ||
internal_thread_pool.keep_alive_time="60000" | ||
internal_thread_pool.queue_enabled="true" | ||
internal_thread_pool.queue_max_size="500" | ||
|
||
oob_thread_pool.min_threads="${jgroups.oob_thread_pool.min_threads:20}" | ||
oob_thread_pool.max_threads="${jgroups.oob_thread_pool.max_threads:200}" | ||
oob_thread_pool.keep_alive_time="60000" | ||
oob_thread_pool.queue_enabled="false" | ||
/> | ||
<kubernetes.KUBE_PING | ||
/> | ||
<MERGE3 min_interval="10000" | ||
max_interval="30000" | ||
/> | ||
<FD_SOCK /> | ||
<FD_ALL timeout="60000" | ||
interval="15000" | ||
timeout_check_interval="5000" | ||
/> | ||
<VERIFY_SUSPECT timeout="5000" /> | ||
<pbcast.NAKACK2 use_mcast_xmit="false" | ||
xmit_interval="1000" | ||
xmit_table_num_rows="50" | ||
xmit_table_msgs_per_row="1024" | ||
xmit_table_max_compaction_time="30000" | ||
max_msg_batch_size="100" | ||
resend_last_seqno="true" | ||
/> | ||
<UNICAST3 xmit_interval="500" | ||
xmit_table_num_rows="50" | ||
xmit_table_msgs_per_row="1024" | ||
xmit_table_max_compaction_time="30000" | ||
max_msg_batch_size="100" | ||
conn_expiry_timeout="0" | ||
/> | ||
<pbcast.STABLE stability_delay="500" | ||
desired_avg_gossip="5000" | ||
max_bytes="1M" | ||
/> | ||
<pbcast.GMS print_local_addr="false" | ||
join_timeout="${jgroups.join_timeout:5000}" | ||
/> | ||
<MFC max_credits="2m" | ||
min_threshold="0.40" | ||
/> | ||
<FRAG2 /> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.