mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
The resources keys stay empty so requests and limits are opt-in, and the comment records the measured idle usage next to them, so a limit that does get set is not placed below what the component needs at idle. Signed-off-by: Nikita Aboltin <aboltin.nikita@rwb.ru>
17 lines
931 B
YAML
17 lines
931 B
YAML
lineageControllerWebhook:
|
|
image: ghcr.io/cozystack/cozystack/lineage-controller-webhook:v1.6.0@sha256:3a5b4951a78d507eb847f4f3311052810dc658fd7c85c49eeb32ac5469cb39a2
|
|
debug: false
|
|
replicas: 2
|
|
# DEPRECATED. Injects KUBERNETES_SERVICE_HOST=status.hostIP and
|
|
# KUBERNETES_SERVICE_PORT=6443 so the webhook talks to the apiserver on its
|
|
# own node — only valid when the pod is actually scheduled on an apiserver-
|
|
# bearing node. Now that the chart's nodeAffinity to control-plane is soft
|
|
# (preferred, not required), the pod can land off-control-plane and crash-
|
|
# loop dialing a non-apiserver hostIP. Slated for removal once webhook
|
|
# performance work obviates the locality motivation. Leave disabled.
|
|
localK8sAPIEndpoint:
|
|
enabled: false
|
|
# Empty by default: no resources block is rendered, so requests and limits are
|
|
# opt-in. Idle usage (measured) is ~35Mi — keep a limit above that.
|
|
resources: {}
|