Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/_tutorials/k8s/vpa-autoscaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The support cost for this solution includes:
kind: Deployment
name: nginx
updatePolicy:
updateMode: "Auto"
updateMode: "Recreate"
minReplicas: 1
```

Expand Down
4 changes: 3 additions & 1 deletion en/managed-kubernetes/concepts/autoscale.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ You can learn more about {{ k8s-hpa }} in the [{{ k8s }} documentation](https://
If required, {{ k8s-vpa }} allocates additional vCPU and RAM resources to pods.

When [creating a {{ k8s-vpa }}](../operations/autoscale.md#vpa), set the autoscaling option in the specification:
* `updateMode: "Auto"` for {{ k8s-vpa }} to manage pod resources automatically.
* `updateMode: "Off"` for {{ k8s-vpa }} to [provide recommendations](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#quick-start) on managing pod resources without modifying them.
* `updateMode: "Initial"`, for {{ k8s-vpa }} only sets resource requests when Pods are first created. It does not update resources for already running Pods, even if recommendations change over time.
* `updateMode: "Recreate"`, for {{ k8s-vpa }} actively manages Pod resources by evicting Pods when their current resource requests differ significantly from recommendations.
* `updateMode: "InPlaceOrRecreate"`, for {{ k8s-vpa }} attempts to update resource requests and limits without restarting the Pod when possible. If in-place updates are not supported, the Pod is recreated in the same way as in `Recreate` mode.

You can learn more about {{ k8s-vpa }} in the [{{ k8s }} documentation](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler).

Expand Down
2 changes: 1 addition & 1 deletion ru/_tutorials/k8s/vpa-autoscaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
kind: Deployment
name: nginx
updatePolicy:
updateMode: "Auto"
updateMode: "Recreate"
minReplicas: 1
```

Expand Down
6 changes: 4 additions & 2 deletions ru/managed-kubernetes/concepts/autoscale.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@

{{ k8s-vpa }} при необходимости выделяет дополнительные ресурсы vCPU и RAM для подов.

При [создании {{ k8s-vpa }}](../operations/autoscale.md#vpa) укажите в спецификации опцию автоматического масштабирования:
* `updateMode: "Auto"`, чтобы {{ k8s-vpa }} автоматически управлял ресурсами подов.
При [создании {{ k8s-vpa }}](../operations/autoscale.md#vpa) укажите в спецификации режим автоматического масштабирования:
* `updateMode: "Off"`, чтобы {{ k8s-vpa }} [предоставлял рекомендации](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#quick-start) по управлению ресурсами подов, но не изменял их.
* `updateMode: "Initial"`, чтобы {{ k8s-vpa }} применял рекомендации только при создании подов.
* `updateMode: "Recreate"`, чтобы {{ k8s-vpa }} пересоздавал поды с обновленными значениями ресурсов при значительном расхождении между текущими запросами и рекомендациями.
* `updateMode: "InPlaceOrRecreate"`, чтобы {{ k8s-vpa }} сперва пытался обновить запросы и лимиты ресурсов без перезапуска пода. Если такое обновление недоступно, под будет пересоздан аналогично режиму `Recreate`. Подробнее см. на странице [Resize CPU and Memory Resources assigned to Containers](https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/).

Подробнее о {{ k8s-vpa }} см. в [документации {{ k8s }}](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler).

Expand Down