Closed fititnt closed 4 years ago
I think we will need to implement some way to allow 2 (3 if we consider both mdes) types of restricted modes when using the AP-ALB role:
The reason for this is some tasks (like changing the HAProxy rules, changing default OpenResty default pages, etc) after good initial setup tent to be not frequent. But Apps only rules
could be very, very active.
With this mode, maybe the changes to break things (or at least give extra speed bost) could be huge improved. This also could allows usage of AP-ALB for less skilled people on daily usage
Life is much, much much more easier when is available private network at cloud provider level and not via software defined networks
With #22 it implicitly means that or I should setup some way to synchronize files with Consul watching for changes or literally lean a new scripting language, Lua, and write extension to https://github.com/GUI/lua-resty-auto-ssl, just to not use the Redis.
Not that I would not like to eventually lean Lua, but it will be sooner than I expected
I think eventually will create a new storage driver for lua-resty-autossl just to support Etcd as extra alternative to Consul if I manange to have time.
Kubernetes uses Etcd (and is not likely to support different pluggable storages soon, see Pluggable storage backends (was Support for Consul K/V storage) https://github.com/kubernetes/kubernetes/issues/1957). Even if Etcd lack of some features of Consul, one old benchmark here https://coreos.com/blog/performance-of-etcd.html is not that bad. So is more a case of how easy would be to create one storage driver. And this is mostly likely related if someone else already created one lua abstraction for this (so I would not need to create a library from scratch)
I think I will rewrite the ap-application-load-balancer already on the v0.8.x to run not only on the Debian/Ubuntu family, but also on RHEL/CentOS. This actually may require less efort on very short term than if I have to rewrite or create from scratch one Ansible Role to run Galera Cluster.
The demo repository fititnt/ap-alb-cluster-demo
already was renamed to fititnt/ansible-linux-ha-cluster
and considering the already implemented options with the #22 and $29, having at least one database on full automated installation with roles that actually could be used on non-stop on production worth the effort.
And of course I have to implement these features on some real clients, and maybe deliver one already fully HA (with exception to shared storage, that is slow via software), would be better than I expect initially.
But oh god, what I was thinking the v0.8 would be like one week (already is 2) is likely to go maybe even more one week. But if #31 also works, this would make the apps from different clusters relatively easy to import/export, even without using Docker/Kubernets.
The ALB v0.7.4-beta was just relased and I will give a try to dedicate the ALB v0.8.x to implement clustering related options with the following limitations:
To avoid too much overthink, these are allowed:
Maybe I will not be able to even make an MVP of this in a way that could be automated and released on ALB working out of the box, but this issue is about give a try.