forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k8s: fix cassandra-tool env key conflict with k8s (cadence-workflow#3505
) * k8s: fix cassandra-tool env key conflict with k8s 1. The default CASSANDRA_PORT key is used by k8s when you have an service pod named cassandra(k8s will gen a env key which is name_port). And the CASSANDRA_PORT has valid value which is an url, cannot be parsed to an int value. Finally, the cadence-cassandra-tool can not be executed. Candence cannot work well when need cadence-canssandra. 2. Replace the CASSANDRA_PORT to CASSANDRA_DB_PORT, to avoid use the same key with k8s. * tools: terminated with a non-zero exit code 1. When cannot run 2. These tools depend on some environment vars, which are not really reliable. In that case, tools start and stop without any stdout.
- Loading branch information
Showing
5 changed files
with
14 additions
and
5 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