Resources / StoreStat
StoreStat
How big a store of the platform is, as an object a CapacityPolicy can measure (spec 0047 section 8). The numbers come from the store itself, never any of its content; the capacity controller refreshes them about once an hour or when the size moved by five percent.
Overview
| API | platform.etorm.com/v1alpha1 |
| Resource | storestats (cluster-scoped inside its cluster) |
| Short names | sstat |
| Available in | the platform only |
| Status | written by a controller through /status |
Minimal example
apiVersion: platform.etorm.com/v1alpha1
kind: StoreStat
metadata:
name: example
spec:
store: api
Spec
| Field | Type | Required | Default | Allowed | Description |
store | string (one of) | yes | | api | Which store: api is the API's own. |
Status
| Field | Type | Required | Default | Allowed | Description |
observedGeneration | integer | | | | The generation of the spec this status describes. |
observedAt | integer | | | | Unix time of the last refresh. |
revision | integer | | | | The store's revision. |
keys | integer | | | | Number of keys. |
plainBytes | integer | | | | Bytes of keys and values held in memory, before sealing. |
conditions | list of object | | | | Ready and Degraded. |
conditions[].type | string | | | | Ready or Degraded. |
conditions[].status | string | | | | True, False or Unknown. |
Columns in listings
| Column | From |
|---|
| Store | .spec.store |
| Bytes | .status.plainBytes |
| Keys | .status.keys |
| Revision | .status.revision |
All resources