fix: Debug data for libcluster
This commit is contained in:
parent
be3f9ade0b
commit
b530b0eaa8
3 changed files with 17 additions and 0 deletions
|
@ -82,6 +82,7 @@ config :core, Legendary.CoreMailer,
|
|||
config :core, email_from: System.get_env("EMAIL_FROM")
|
||||
|
||||
config :libcluster,
|
||||
debug: true,
|
||||
topologies: [
|
||||
kubernetes: [
|
||||
strategy: Elixir.Cluster.Strategy.Kubernetes,
|
||||
|
@ -93,6 +94,8 @@ config :libcluster,
|
|||
kubernetes_namespace: System.get_env("NAMESPACE", "legendary"),
|
||||
polling_interval: 10_000]]]
|
||||
|
||||
IO.puts Kernel.node
|
||||
|
||||
# ## Using releases (Elixir v1.9+)
|
||||
#
|
||||
# If you are doing OTP releases, you need to instruct Phoenix
|
||||
|
|
|
@ -21,6 +21,13 @@ spec:
|
|||
containers:
|
||||
- name: app
|
||||
image: registry.gitlab.com/mythic-insight/legendary-doc-site:2.8.9
|
||||
command: ["elixir"]
|
||||
args:
|
||||
- "--name"
|
||||
- "$(NAME)@$(POD_IP)"
|
||||
- "-S"
|
||||
- "mix"
|
||||
- "phx.server"
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
- containerPort: 4369
|
||||
|
|
|
@ -21,6 +21,13 @@ spec:
|
|||
containers:
|
||||
- name: app
|
||||
image: registry.gitlab.com/mythic-insight/legendary-doc-site:{{=it.version}}
|
||||
command: ["elixir"]
|
||||
args:
|
||||
- "--name"
|
||||
- "$(NAME)@$(POD_IP)"
|
||||
- "-S"
|
||||
- "mix"
|
||||
- "phx.server"
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
- containerPort: 4369
|
||||
|
|
Loading…
Reference in a new issue