elixir_kubernetes_cluster v0.1.2 ElixirKubernetesCluster.Worker

Contacts Kubernetes to check the list of node IPs

Summary

Functions

Given a list of pod_ips, it tries to connect to all of them

Contacts the Kubernetes API to obtain a list of pods of the desired namespace. Next it filters the pods and maps them to their IP address

Functions

connect_to_pods(pod_ips, app_namespace)

Given a list of pod_ips, it tries to connect to all of them.

obtain_pod_info(api_endpoint, app_namespace, pod_name)

Contacts the Kubernetes API to obtain a list of pods of the desired namespace. Next it filters the pods and maps them to their IP address.

start_link()