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

APIplatform.etorm.com/v1alpha1
Resourcestorestats (cluster-scoped inside its cluster)
Short namessstat
Available inthe platform only
Statuswritten by a controller through /status

Minimal example

apiVersion: platform.etorm.com/v1alpha1
kind: StoreStat
metadata:
  name: example
spec:
  store: api

Spec

FieldTypeRequiredDefaultAllowedDescription
storestring (one of)yesapiWhich store: api is the API's own.

Status

FieldTypeRequiredDefaultAllowedDescription
observedGenerationintegerThe generation of the spec this status describes.
observedAtintegerUnix time of the last refresh.
revisionintegerThe store's revision.
keysintegerNumber of keys.
plainBytesintegerBytes of keys and values held in memory, before sealing.
conditionslist of objectReady and Degraded.
conditions[].typestringReady or Degraded.
conditions[].statusstringTrue, False or Unknown.

Columns in listings

ColumnFrom
Store.spec.store
Bytes.status.plainBytes
Keys.status.keys
Revision.status.revision

All resources