Skip to content

edevil/elixir_kubernetes_cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElixirKubernetesCluster

Elixir module that uses the Kubernetes API to find the IP of other nodes of the cluster to connect to.

Installation

If available in Hex, the package can be installed as:

  1. Add elixir_kubernetes_cluster to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:elixir_kubernetes_cluster, "~> 0.1.0"}]
end
```
  1. Ensure elixir_kubernetes_cluster is started before your application:
```elixir
def application do
  [applications: [:elixir_kubernetes_cluster]]
end
```

TODO

  1. Periodically compare list of pods from Kubernetes to our list of connected nodes
  2. Reconcile with Kubernetes if lists differ

About

Module to query the Kubernetes API at startup and connect to other elixir nodes in pods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages