Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory limit #431

Merged
merged 3 commits into from
Dec 20, 2024
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
16 changes: 16 additions & 0 deletions public-site/docs/docs/topic-releases/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ title: What's new

## 2024

### 2024-12-20 Relaxed Memory limit rules

You can now have a higher memory limit than your requested limits.
Beware that the memory abouve your requested amount might not be available and can lead to a Out Of Memory Exception that will terminate and restart your component.

### 2024-12-19 Advanced Health Checks

A new `healthChecks` field is introduced to the `components` and `environmentConfig` section of your `radixconfig.yaml` file. This allows for more fine grained rules that will tell Radix when your application is ready for smoother upgrades and rollouts of new versions, or when we upgrade or replace a node.

See more in the in the [reference](/radix-config#healthchecks)

### 2024-12-17 Controlling batch job failures using exit codes

We have added a new (optional) configuration option [failurePolicy](/radix-config#failurepolicy) for jobs in radixconfig.
This allows you to control how job failures should be counted towards the backofflimit for different exit codes, for example by using FailJob to prevent retries in case of a software bug or configuration error, or not incrementing the counter toward backoffLimit in case of transient errors like connection issues by using Ignore.

### 2024-11-12 Radix CLI and gitHub action updates
[Radix CLI 1.24](https://github.com/equinor/radix-cli/releases/tag/v1.24.0) and Radix github action v1 now support announced earlier :arrow_up: :
- "apply-config" pipeline job with an option ``--deploy-external-dns-alias`` true|false (by default ``false`` )
Expand Down
8 changes: 6 additions & 2 deletions public-site/docs/radix-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,13 @@ spec:
cpu: "1000m"
```

The `resources` section specifies how much CPU and memory each component needs, that are shared among all Radix environments in a component. These common resources are overridden by environment-specific resources.
The `resources` section specifies how much CPU and memory each component needs, that are shared among all Radix environments in a component.
These common resources are overridden by environment-specific resources. The requested quota of memory and cpu must be below the limit.

The property `limits.memory` cannot be explicitly set, it is set automatically with the same value as `requests.memory` to reduce potential risk of not sufficient memory on a node. [Read more](https://kubernetes.io/blog/2021/11/26/qos-memory-resources/) about memory resources and QoS.
If no memory limit is set, but a memory request is set, we will set the limit equal to the requested value.
The opposite is also true, if a memory limit is set, but no requests, we will sett the requested memory equal to the memory limit.

[Read more](https://kubernetes.io/blog/2021/11/26/qos-memory-resources/) about memory resources and QoS.
[More details](/guides/resource-request/index.md) about `resources` and about [default resources](/guides/resource-request/index.md#default-resources).

### `variables` (common)
Expand Down
Loading