Skip to content

Commit

Permalink
Fix #653 - Incorrect usage of COHERENCE_CACHE_CONFIG in example yaml …
Browse files Browse the repository at this point in the history
…files
  • Loading branch information
rlubke committed May 30, 2024
1 parent 425cc0b commit 100504f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/025_extend_client/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ include::manifests/minimal-job.yaml[]
To be able to run the client we need to set in three pieces of information.
* The name of the cache configuration file. We set this using the `COHERENCE_CACHE_CONFIG` environment variable, and set the value to `minimal-client-cache-config.xml`, which is the configuration file we're using in this example.
* The name of the cache configuration file. We set this using the `COHERENCE_CACHECONFIG` environment variable, and set the value to `minimal-client-cache-config.xml`, which is the configuration file we're using in this example.
* The client needs to be able to discover the storage Pods to connect to. Just like the server cluster uses well known addresses to discover a cluster, the client can do the same. We set the `COHERENCE_WKA` environment variable to the name of the WKA service created for the server when we deployed it above, in this case it is `storage-wka`.
* Finally, we set the name of the Coherence cluster the client will connect to. When we deployed the server we did not specify a name, so the default cluster name will be the same as the `Coherence` resource name, in this case `storage`. So we set the `COHERENCE_CLUSTER` environment variable to `storage`.
Expand Down
2 changes: 1 addition & 1 deletion examples/025_extend_client/manifests/minimal-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
- name: client
image: simple-extend-client:1.0.0
env:
- name: COHERENCE_CACHE_CONFIG
- name: COHERENCE_CACHECONFIG
value: minimal-client-cache-config.xml
- name: COHERENCE_WKA
value: storage-wka
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
- name: client
image: simple-extend-client:1.0.0
env:
- name: COHERENCE_CACHE_CONFIG
- name: COHERENCE_CACHECONFIG
value: minimal-client-cache-config.xml
- name: COHERENCE_WKA
value: storage-wka.default.svc
Expand Down

0 comments on commit 100504f

Please sign in to comment.