ztunnel icon indicating copy to clipboard operation
ztunnel copied to clipboard

Question: any consideration for HA(high availability) of ztunnel?

Open KfreeZ opened this issue 2 years ago • 6 comments

since ztunnel is running in standalone mode per node, any plan to support HA for it?

KfreeZ avatar Oct 31 '22 06:10 KfreeZ

In theory we have the ability to do this (or plan to) since upgrades will probably involve surging. I hadn't expected demand for this long term though. Are there other examples of HA daemonsets?

howardjohn avatar Oct 31 '22 14:10 howardjohn

In theory we have the ability to do this (or plan to) since upgrades will probably involve surging. I hadn't expected demand for this long term though. Are there other examples of HA daemonsets?

I have two options in my mind:

  1. the hot standby mode like the telco routers, two instance share the same IP and mac address.
  2. two active instances running at the same time, dynamically load balancing the traffic to two instances.

KfreeZ avatar Nov 01 '22 01:11 KfreeZ

hello @howardjohn have any update about ztunnel HA ? such as hot restart. thanks.

wangfakang avatar Jul 03 '23 13:07 wangfakang

This is not considered ATM, because ztunnel is now very simplified and only process L4, we are confident it can not crash.

In the long run, we may need to consider upgrade. During this procedure, we should guarantee at least one ztunnel is serving

hzxuzhonghu avatar Jul 04 '23 02:07 hzxuzhonghu

This is not considered ATM, because ztunnel is now very simplified and only process L4, we are confident it can not crash.

In the long run, we may need to consider upgrade. During this procedure, we should guarantee at least one ztunnel is serving

Thank you for your reply. In the upgrade scenario, how can the existing L4 connections on the old ztunnel exit gracefully?

wangfakang avatar Jul 05 '23 07:07 wangfakang

It doesnot, and i have read somewhere that in mosn you implemented connection unaffected during upgrade. Not sure that mechanism can be applied here?

hzxuzhonghu avatar Jul 05 '23 07:07 hzxuzhonghu