-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Increase the probe timeout * Allow setting the CPU and Memory resources Co-authored-by: Dominika Vagnerova <[email protected]>
- Loading branch information
1 parent
b354682
commit 5f676d4
Showing
12 changed files
with
183 additions
and
19 deletions.
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
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
24 changes: 24 additions & 0 deletions
24
documentation/asciidoc/topics/proc_allocating_cpu_memory_cross_site.adoc
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,24 @@ | ||
[id='allocating-cpu-and-memory-cross-site_{context}'] | ||
= Allocating CPU and memory for Gossip router pod | ||
|
||
[role="_abstract"] | ||
Allocate CPU and memory resources to {brandname} Gossip router. | ||
|
||
.Prerequisite | ||
* Have Gossip router enabled. The `service.sites.local.discovery.launchGossipRouter` property must be set to `true`, which is the default value. | ||
|
||
.Procedure | ||
|
||
. Allocate the number of CPU units using the `service.sites.local.discovery.cpu` field. | ||
. Allocate the amount of memory, in bytes, using the `service.sites.local.discovery.memory` field. | ||
+ | ||
The `cpu` and `memory` fields have values in the format of `<limit>:<requests>`. | ||
For example, `cpu: "2000m:1000m"` limits pods to a maximum of `2000m` of CPU and requests `1000m` of CPU for each pod at startup. | ||
Specifying a single value sets both the limit and request. | ||
+ | ||
. Apply your `Infinispan` CR. | ||
|
||
[source,options="nowrap",subs=attributes+] | ||
---- | ||
include::yaml/xsite_gossip_router_resources.yaml[] | ||
---- |
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
10 changes: 10 additions & 0 deletions
10
documentation/asciidoc/topics/yaml/xsite_gossip_router_resources.yaml
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,10 @@ | ||
spec: | ||
service: | ||
type: DataGrid | ||
sites: | ||
local: | ||
name: LON | ||
discovery: | ||
launchGossipRouter: true | ||
memory: "2Gi:1Gi" | ||
cpu: "2000m:1000m" |
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