Deploy Talos on AWS multiregions #8457
Replies: 2 comments 5 replies
-
There's no beautiful way to do that, but your question is mostly about your (client-side) access to the cluster. Talos KubePrism feature will automatically provide access to the controlplane of your cluster even if one region is down. So you can create another LB in another region (or simply use public IP of the working node) in your local Also keep in mind that tl;dr: you can add some availability to your cluster, but usually two clusters in two regions is a better approach. |
Beta Was this translation helpful? Give feedback.
-
Hi Smira, if I create another LB after I can't configure it, because it's different tls to access the existing nodes. is it correct my conf? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm starting to learn Talos and I'm trying to deploy it ok AWS multi-regions.
My scope is to have two control plane instance in one region (for example UK) and one in another region (IE).
I created two ELB, one in UK and one in IE.
I created 2 control plane ec2 in UK (set as target for UK ELB) and one in IE (set as target for IE ELB), and I configured ran the commands below:
`
talosctl gen secrets
talosctl gen config talos-cluster-test https://elb_dns_name --with-examples=false --with-docs=false --with-kubespan --kubernetes-version "v1.28.0" --talos-version "v1.6.6" --with-secrets secrets.yaml
talosctl apply-config --insecure --nodes uk_ip1 --file controlplane.yaml
talosctl apply-config --insecure --nodes uk_ip2 --file controlplane.yaml
talosctl apply-config --insecure --nodes ie_ip1 --file controlplane.yaml
talosctl --talosconfig talosconfig config endpoint uk_ip1
talosctl --talosconfig talosconfig config node uk_ip1
talosctl --talosconfig talosconfig bootstrap
talosctl --talosconfig talosconfig kubeconfig
talosctl --talosconfig talosconfig health
`
Now my problem is, if the UK region is down, all cluster is down, how can add the second ELB to the conf generated to have the other region works?
Beta Was this translation helpful? Give feedback.
All reactions