ansible_role_microk8s icon indicating copy to clipboard operation
ansible_role_microk8s copied to clipboard

Inventory example

Open metabsd opened this issue 4 years ago • 6 comments

Hi, can you share an example of your inventory please to better understand the HA section. Good job👍

metabsd avatar Feb 12 '21 14:02 metabsd

Hi,

@eshikhov Do you think you could add an example section to the README how you set up your own HA?

btw: Thanks for adding that feature!

istvano avatar Feb 12 '21 14:02 istvano

enable the parameter

microk8s_enable_HA: true

add a group with hosts to the inventory file

[microk8s_HA] node1 node2 node3

if you don't like the name of the group microk8s_HA, you can redefine it in the variable microk8s_group_HA for example microk8s_group_HA: "k8s_HA" [k8s_HA] node1 node2 node3

eshikhov avatar Feb 12 '21 20:02 eshikhov

Would be great to support pod code, service cidr custom. Using an external load balancer. Etc...

metabsd avatar Feb 12 '21 22:02 metabsd

Thanks for adding your example

istvano avatar Feb 22 '21 16:02 istvano

@metabsd Do you think you could add something like that?

istvano avatar Feb 22 '21 16:02 istvano