Skip to content
SHC Docs

container

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
container {
int id PK
int service_id FK
string container_id UK
string name
string node_id
int ordinal
int incarnation
string status
string health
int exit_code
string exit_cause
int oom_kill_count
time last_oom_at
int64 oom_memory_limit_bytes
string health_output
int liveness_restarts
time created_at
time updated_at
}
container }o--|| service : service
columntypenullkey
idintnoPK
service_idintnoFK
container_idstringnoUK
namestringno
node_idstringyes
ordinalintyes
incarnationintyes
statusstringno
healthstringyes
exit_codeintyes
exit_causestringyes
oom_kill_countintno
last_oom_attimeyes
oom_memory_limit_bytesint64yes
health_outputstringyes
liveness_restartsintno
created_attimeno
updated_attimeno

no command writes this table (modules/app/container_repo.go, modules/app/observed_nodes.go)