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 :core, email_from: System.get_env("EMAIL_FROM")
|
||||||
|
|
||||||
config :libcluster,
|
config :libcluster,
|
||||||
|
debug: true,
|
||||||
topologies: [
|
topologies: [
|
||||||
kubernetes: [
|
kubernetes: [
|
||||||
strategy: Elixir.Cluster.Strategy.Kubernetes,
|
strategy: Elixir.Cluster.Strategy.Kubernetes,
|
||||||
|
@ -93,6 +94,8 @@ config :libcluster,
|
||||||
kubernetes_namespace: System.get_env("NAMESPACE", "legendary"),
|
kubernetes_namespace: System.get_env("NAMESPACE", "legendary"),
|
||||||
polling_interval: 10_000]]]
|
polling_interval: 10_000]]]
|
||||||
|
|
||||||
|
IO.puts Kernel.node
|
||||||
|
|
||||||
# ## Using releases (Elixir v1.9+)
|
# ## Using releases (Elixir v1.9+)
|
||||||
#
|
#
|
||||||
# If you are doing OTP releases, you need to instruct Phoenix
|
# If you are doing OTP releases, you need to instruct Phoenix
|
||||||
|
|
|
@ -21,6 +21,13 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: registry.gitlab.com/mythic-insight/legendary-doc-site:2.8.9
|
image: registry.gitlab.com/mythic-insight/legendary-doc-site:2.8.9
|
||||||
|
command: ["elixir"]
|
||||||
|
args:
|
||||||
|
- "--name"
|
||||||
|
- "$(NAME)@$(POD_IP)"
|
||||||
|
- "-S"
|
||||||
|
- "mix"
|
||||||
|
- "phx.server"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 4000
|
- containerPort: 4000
|
||||||
- containerPort: 4369
|
- containerPort: 4369
|
||||||
|
|
|
@ -21,6 +21,13 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: registry.gitlab.com/mythic-insight/legendary-doc-site:{{=it.version}}
|
image: registry.gitlab.com/mythic-insight/legendary-doc-site:{{=it.version}}
|
||||||
|
command: ["elixir"]
|
||||||
|
args:
|
||||||
|
- "--name"
|
||||||
|
- "$(NAME)@$(POD_IP)"
|
||||||
|
- "-S"
|
||||||
|
- "mix"
|
||||||
|
- "phx.server"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 4000
|
- containerPort: 4000
|
||||||
- containerPort: 4369
|
- containerPort: 4369
|
||||||
|
|
Loading…
Reference in a new issue