Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1202

Closed
Created Jun 30, 2022 by Łukasz Nowak@lukeMaintainer0 of 3 tasks completed0/3 tasks
  • Report abuse
Report abuse

WIP: [TENTATIVE] Feature/caddy frontend root direct configuration

  • Overview 1
  • Commits 12
  • Pipelines 14
  • Changes 128

WARNING This MR is very tentative, as it's not proven yet that such change would improve the situation.

Outcome is to provide shared instance list configuration to the nodes (kedifa, exposed, etc) directly via HTTP protocol instead with SlapOS Master.

Generally request shall have only information required to setup the node and make it functioning. All other information, like details about slaves, shall be exposed on the root partition. Some kind of checksum/timestamp can be added to request of the nodes, so that they'll reconfigure themselves. It's important, that download of the information by the node can happen asynchronously, but processing shall happen after being initiated due to root node information change.

It's still open question if the exposed and kedifa nodes shall use publish to provide all information, or also use HTTP to avoid data duplication. Note: This generally has to be rethinked, maybe the exposed/kedifa nodes does not have a lot to publish, as a lot could be calculated by the root node.

Keys to be moved away:

  • kedifa node:
    • slave-list
  • exposed node:
    • extra_slave_instance_list
    • slave-kedifa-information

Requirements:

  • transfer massive information to the nodes w/o using SlapOS Master
  • cleanup the data
  • bonus: improve speed a lot
  • bonus: provide slave connection information ASAP instead of relying on all exposed and kedifa nodes to process

Depends on:

  • !1210 (merged)
Edited Aug 01, 2022 by Łukasz Nowak
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature/caddy-frontend-root-direct-configuration
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7