-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
102 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
|
||
|
||
## `drives` | ||
|
||
host_configs in template and host_configs in config.yaml have different structure | ||
|
||
`host_configs` in `config.yaml` has a very defined structure and can be written to config.yaml type-safely | ||
because it's specified by proto | ||
|
||
`host_configs` in `template` seems to be untyped and somehow parsed without validation by ydb_configure | ||
|
||
why not move to parsing the host_configs with proto? because this merge will never succeed with the right team | ||
|
||
|
||
|
||
## we need to know the set of options that gets dumped into `config.yaml` direcly | ||
|
||
|
||
|
||
## Experiments | ||
|
||
|
||
--- | ||
|
||
# Data | ||
|
||
## We only run ydb_configure after we receive nodes from ik8s marked with labels | ||
|
||
- it means we only prepare `config_cluster_template.yaml`, not the `config.yaml`, when we deploy a new region | ||
- effectively it slows us down because we postpone steps that we COULD do earlier (such as copying `immediate_control_board` into config.yaml) | ||
|
||
## `host-configs` is the only known option that is not required in runtime | ||
|
||
|
||
## Do we allow copying of arbitrary fields (such as immediate_control_board)? | ||
|
||
No. Copying is bad because typos can render config: | ||
- either unusable (kikimr does not boot) | ||
- or even more inconvenient, ignored by ydbd entirely |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
|
||
|
||
|
||
|
||
## we need to know the set of options that gets dumped into `config.yaml` direcly | ||
|
||
|
||
|
||
|
||
|
||
## Experiments | ||
|
||
- run my build and expect `host_configs` to be generated | ||
|
||
--- | ||
|
||
# Data | ||
|
||
## We only run ydb_configure after we receive nodes from ik8s marked with labels | ||
|
||
- it means we only prepare `config_cluster_template.yaml`, not the `config.yaml`, when we deploy a new region | ||
- effectively it slows us down because we postpone steps that we COULD do earlier (such as copying `immediate_control_board` into config.yaml) | ||
|
||
## `host-configs` is the only known option that is not required in runtime | ||
|
||
|
||
## Do we allow copying of arbitrary fields (such as immediate_control_board)? | ||
|
||
No. Copying is bad because typos can render config: | ||
- either unusable (kikimr does not boot) | ||
- or even more inconvenient, ignored by ydbd entirely |
This file contains 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
This file contains 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