Alejandro Mery
14e1c447c9
cluster: assign valid rings.RegionID to each primary region
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
5 months ago
Alejandro Mery
0158dc3a3c
cluster: add recursive RegionIterator to Zone
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
9226cf2dfd
cluster: introduce RegionIterator
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
173dba0c3b
cluster: decouple getRegion() from finishRegion()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
019143820f
cluster: remove k8s_token files from zones on write if found
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
d3bbe6d270
cluster: introduce Region.Cluster and m/{region}/k8s_token
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
7125e28b74
cluster: extend usage of the ZoneRegionsFileName constant
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
00cf3959a2
cluster: load regions when scanning a directory
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
0db3e18227
cluster: introduce SyncRegions() to write regions file
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
0094450ca8
cluster: fix regions/zones mapping when the region exists
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
892d849740
cluster: introduce Machine.Inactive flag
...
if a Machine is Inactive, it won't be included on the DNS
aliases for the zone or it's regions.
v2:
- Machine.Active() renamed to Machine.IsActive()
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
884b11d1f9
cluster: sort regions, for `jpictl dump`' sake
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c397ca29ac
cluster: introduce Region interators
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c702d649e0
cluster: introduce Regions to group zones
...
only available via config-file
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago