-1

We have below YAML structure which consists of multiple key / values pair . these are basically dictionary kind of structure used in kubernetes . Instead of keeping these configuration items in YAML file , we thought to use the key/value store database to maintain these config values.

after analysis , we laned into etcd . however, from the docs , it appears that , single key / value can be easily stored in etcd , but what about dictionary/array kind of structures where single key might have multiple values .

is etcd is right database for our requirement ? please suggest

YAML structure

region:
    us-east-1:
        physicalclusters:
        -    abc:
                - lc1:
                    - tenant1
                    - tenant2
                - lc2:
                    - tenant3
                    - tenant4
        -    xyz:
                - lc3:
                    - tenant5
                    - tenant6
                - lc4:
                    - tenant7
                    - tenant8
    us-east-2:
       physicalclusters:
       -    test1:
                - testtenant1
       -    test2:
                - testtenant2
                
              
user2315104
  • 2,378
  • 7
  • 35
  • 54

0 Answers0