Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cluster backup single node cluster flag #770

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Conversation

DavidePrincipi
Copy link
Member

@DavidePrincipi DavidePrincipi commented Dec 13, 2024

  • Save the number of cluster nodes in the cluster backup
  • retrieve-cluster-backup returns to UI if the backup refers to a single node cluster or not with a new boolean attribute single_node_cluster.

The new attribute is used by the UI to enable the restore of cluster modules in the scenario of single node cluster disaster recovery.

Refs NethServer/dev#7201

Return a boolean that states if the cluster backup refers to a single
node cluster or not.

The implementation counts the nodes with the number Traefik instances
for backward compatibility.
@DavidePrincipi DavidePrincipi self-assigned this Dec 13, 2024
Add "node_count", the number of cluster nodes, in the cluster backup.
@DavidePrincipi DavidePrincipi marked this pull request as ready for review December 16, 2024 08:59
Define the "single_node_cluster" attribute.
github-actions bot pushed a commit that referenced this pull request Dec 16, 2024
@DavidePrincipi DavidePrincipi merged commit 509dee0 into main Dec 17, 2024
3 checks passed
@DavidePrincipi DavidePrincipi deleted the feat-7201 branch December 17, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants