Skip to content
SHC Docs

node

Generated file. Do not edit by hand. Regenerate from the repo root with make docs/generate.

This page is generated from the ent schema and the migration head. The running unit is a deployment and the catalog thing is an app.

erDiagram
node {
string id PK
string name
string hostname
string os_hostname
json capabilities
string runtime
string data_dir
string internal_address
string underlay_address
string public_address
string cluster_state
string mesh_address UK
string availability
string location
string cloud
int cpu_cores
int64 memory_bytes
string architecture
string build
int voter_slot
string suffrage_change
string suffrage_change_id
time suffrage_change_at
time created_at
time updated_at
time expected_back_at
string pressure_level
time pressure_changed_at
string pressure_reason
int64 routing_revision
bool routing_frozen
int outbound_event_lag_count
time outbound_event_lag_started_at
}
node ||--o{ store_node : store_nodes
node ||--o{ deployment_node : occupied_by
node ||--o{ store_attestation : store_attestations
node ||--o{ fence_member : fence_members
columntypenullkey
idstringnoPK
namestringyes
hostnamestringyes
os_hostnamestringyes
capabilitiesjsonyes
runtimestringno
data_dirstringyes
internal_addressstringyes
underlay_addressstringyes
public_addressstringyes
cluster_statestringyes
mesh_addressstringyesUK
availabilitystringno
locationstringyes
cloudstringyes
cpu_coresintyes
memory_bytesint64yes
architecturestringyes
buildstringyes
voter_slotintyes
suffrage_changestringyes
suffrage_change_idstringyes
suffrage_change_attimeyes
created_attimeno
updated_attimeno
expected_back_attimeyes
pressure_levelstringno
pressure_changed_attimeyes
pressure_reasonstringyes
routing_revisionint64no
routing_frozenboolno
outbound_event_lag_countintno
outbound_event_lag_started_attimeyes

no command writes this table (modules/node/admission.go, modules/node/repository.go, modules/node/suffrage_change.go, modules/node/voter_slots.go, modules/nodelease/report.go, modules/scheduler/routing.go)