QePolicy¶
QePolicy with its Kubernetes resources collapsed to an opaque
passthrough object.
resources restates Kubernetes ResourceRequirements -- claims, limits
and requests -- which we don't validate and don't own. Kubernetes will
reject a malformed value at apply time with a better error than ours would,
so we accept it as an opaque object and link out to the upstream API
reference instead of re-declaring its schema.
Contexts¶
| Context | Relationship | Object Path | Package File Path |
|---|---|---|---|
Database.Shard.Dap.Instances |
Package -> Database -> Shard -> Dap -> Instances -> QePolicy |
$.databases[*].shards[*].daps.instances.*.qePolicy |
{package-root}/databases/{db-name}/shards/{shard-name}.yaml |
Router.Agg |
Package -> Router -> Agg -> QePolicy |
$.router.agg.qePolicy |
{package-root}/router/{router-name}.yaml |
Router.Rc |
Package -> Router -> Rc -> QePolicy |
$.router.rc.qePolicy |
{package-root}/router/{router-name}.yaml |
Fields¶
| Field | Type | Required | Description | Constraints | Default |
|---|---|---|---|---|---|
enabled |
boolean | null |
no | Enable Query Environments for this instance. | - | true |
resources |
object | null |
no | Kubernetes compute resource requests and limits. Passed through to the pod spec as-is and not validated here -- see the Kubernetes API reference. | - | null |
Links To¶
No linked schemas.