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| column | type | null | key |
|---|---|---|---|
| id | int | no | PK |
| deployment_id | int | no | UK, FK |
| name | string | no | UK |
| desired_replicas | int | no | |
| restart_policy | string | no | |
| cpu_quota_millicores | int | no | |
| cpu_quota_source | string | no | |
| cpu_request_millicores | int | no | |
| cpu_limit_millicores | int | no | |
| memory_quota_bytes | int64 | no | |
| memory_quota_source | string | no | |
| memory_request_bytes | int64 | no | |
| memory_limit_bytes | int64 | no | |
| created_at | time | no | |
| updated_at | time | no |
Commands that write this table
Section titled “Commands that write this table”no command writes this table (modules/app/container_repo.go)
shc@docs:~$