Skip to content
SHC Docs

service

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
service {
int id PK
int deployment_id UK, FK
string name UK
int desired_replicas
string restart_policy
int cpu_quota_millicores
string cpu_quota_source
int cpu_request_millicores
int cpu_limit_millicores
int64 memory_quota_bytes
string memory_quota_source
int64 memory_request_bytes
int64 memory_limit_bytes
time created_at
time updated_at
}
service }o--|| deployment : deployment
service ||--o{ container : containers
columntypenullkey
idintnoPK
deployment_idintnoUK, FK
namestringnoUK
desired_replicasintno
restart_policystringno
cpu_quota_millicoresintno
cpu_quota_sourcestringno
cpu_request_millicoresintno
cpu_limit_millicoresintno
memory_quota_bytesint64no
memory_quota_sourcestringno
memory_request_bytesint64no
memory_limit_bytesint64no
created_attimeno
updated_attimeno

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