Created
August 13, 2020 15:25
-
-
Save jschmid1/f0f12192ce403ba0a4d8c00d329e784f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| specs: | |
| - spec: | |
| # service_name, service_type | |
| key1: val | |
| key3: val | |
| # random k-v pairs on a spec level (created_at) would be a candidate | |
| key1: val | |
| # versioning | |
| version: 1 | |
| # The current implementation saves the spec with `type.name` in the mon_store. | |
| # This has the advantage that you can retrieve specific specs without iterating | |
| # through all specs in order to find the requested spec of `type` foo. | |
| # Computationally speaking this shouldn't really matter as there are never more | |
| # than 10~ specs stored. Also, we pre-load all specs on ceph-mgr startup. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment