Central Configurations #53
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute!53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_central_config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue: #40
Description:
Central Configurationsto WIP: Central ConfigurationsWIP: Central Configurationsto Central Configurations@ -44,2 +45,4 @@# MYCELIUM_IP=# Environment name — determines which config to fetch from the central config repo.# Options: development, qa, testing, productionI would say that we should follow the same env-related names in the config etc, so we have central env also
will remove qa (not in central config) and add canary
@ -48,2 +52,2 @@# Edit to add/remove peers as needed.MY_HYPERVISOR_MYCELIUM_PEERS=tcp://188.40.132.242:9651,tcp://136.243.47.186:9651,tcp://185.69.166.7:9651,tcp://185.69.166.8:9651,tcp://65.21.231.58:9651,tcp://65.109.18.113:9651,tcp://209.159.146.190:9651,tcp://5.78.122.16:9651,tcp://5.223.43.251:9651,tcp://142.93.217.194:9651# Sourced from central config. Uncomment to override locally.# CHVM_MYCELIUM_PEERS=tcp://188.40.132.242:9651,tcp://136.243.47.186:9651Same here no CHVM and please make sure it is all updated
@ -0,0 +7,4 @@use std::time::Duration;const CONFIG_BASE_URL: &str ="https://git.ourworld.tf/lhumina_code/hero_compute_config/raw/branch/main";This one should be auto-generated in the auto-generated env file, so we have to make changes in only one place in the future. also make sure it is documented
@ -0,0 +9,4 @@const CONFIG_BASE_URL: &str ="https://git.ourworld.tf/lhumina_code/hero_compute_config/raw/branch/main";const REGISTRY_URL_DEFAULT: &str =Here also, and make sure this applied in all places and also documented as well
@ -34,3 +41,2 @@| `MYCELIUM_IP` | This node's Mycelium IP, sent in heartbeats (server only) | *(empty)* || `MY_HYPERVISOR_MYCELIUM_PEERS` | Comma-separated mycelium peer addresses for VM networking. If not set, uses 10 built-in public peers from [threefoldtech/mycelium](https://github.com/threefoldtech/mycelium) | *(built-in defaults)* || `HERO_COMPUTE_REGISTRY_URL` | URL to `images.toml` in the image registry repo. Images are loaded from this URL at deploy time | `https://forge.ourworld.tf/lhumina_code/hero_compute_registry/raw/branch/main/images.toml` || `CHVM_MYCELIUM_PEERS` | Comma-separated mycelium peer addresses for VM networking. Sourced from central config; override in `.env` if needed | *(from central config)* |Here also
@ -71,3 +79,3 @@# NetworkEXPLORER_ADDRESSES=unix:///root/hero/var/sockets/hero_compute_explorer.sockMY_HYPERVISOR_MYCELIUM_PEERS=tcp://188.40.132.242:9651,tcp://136.243.47.186:9651CHVM_MYCELIUM_PEERS=tcp://188.40.132.242:9651,tcp://136.243.47.186:9651This should not be renamed, there is no thing called CHVM
@ -137,3 +137,3 @@| `HERO_COMPUTE_ADVERTISE_ADDRESS` | Worker's TCP address for explorer proxy | `--mode worker` (auto-detected) || `HERO_PROC_SOCKET` | Override hero_proc socket path | Auto-detected || `MY_HYPERVISOR_MYCELIUM_PEERS` | Mycelium peer addresses for VM IPv6 networking | Built-in defaults (10 public peers) || `CHVM_MYCELIUM_PEERS` | Mycelium peer addresses for VM IPv6 networking | From central config |No more CHVM please
LGTM