mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
f0b49db06a
This PR adds the first version of the resource limit documentation. It also corrects the link in the `Limit` component. In addition to the new limits from the soft limits project, I've also added the limits from the signals project. ## Discussion points I've set the Pro resource limits to projects and envs to the same value as on the [plans & pricing](https://www.getunleash.io/pricing) page instead of the actual hard soft limit. I think that makes messaging easier and more consistent. However, this does present us with a bit of a problem. Because we've been pretty consistent at saying "no, you can't have more projects" for Pro. But we're saying it's easy to change (when in actuality the limit isn't enforced 💁🏼 ) ## Screenie It looks a little bit like this (but check the files or preview for the actual text content) ![image](https://github.com/Unleash/unleash/assets/17786332/56cadc00-5a8e-4820-8b11-d059112934da)
46 lines
4.1 KiB
Plaintext
46 lines
4.1 KiB
Plaintext
---
|
|
title: Resource Limits
|
|
---
|
|
import Figure from '@site/src/components/Figure/Figure.tsx'
|
|
|
|
:::info Availability
|
|
Resource limits are currently in beta for hosted customers.
|
|
:::
|
|
|
|
<Figure caption="When you're close to reaching the limit for a resource, you'll see a warning in the Unleash UI. The warning will tell you what the limit is, how close you are to reaching it, and how you can increase the limit." img="/img/project-limit-warning.png" />
|
|
|
|
To ensure that Unleash operates smoothly, it includes resource limits for some of the key resources that you can create. The limit for each resource can vary between the different Unleash plans.
|
|
|
|
The resources and their respective limits and environment variables are:
|
|
|
|
| Resource | OSS limit | Pro limit | Enterprise limit | Environment variable |
|
|
|-----------------------------------------------------------------|----------:|----------:|-----------------:|------------------------------------------------|
|
|
| [Feature flags](feature-toggles.mdx) | 5,000 | 5,000 | 50,000 | `UNLEASH_FEATURE_FLAGS_LIMIT` |
|
|
| [Strategies](activation-strategies.md) per flag per environment | 30 | 30 | 30 | `UNLEASH_FEATURE_ENVIRONMENT_STRATEGIES_LIMIT` |
|
|
| [Constraints](strategy-constraints.md) per strategy | 30 | 30 | 30 | `UNLEASH_CONSTRAINTS_LIMIT` |
|
|
| Values per [constraint](strategy-constraints.md) | 250 | 250 | 1,000 | `UNLEASH_CONSTRAINT_VALUES_LIMIT` |
|
|
| [Segments](segments.mdx) | 300 | 300 | 300 | `UNLEASH_SEGMENTS_LIMIT` |
|
|
| [API tokens](api-tokens-and-client-keys.mdx) | 2,000 | 2,000 | 2,000 | `UNLEASH_API_TOKENS_LIMIT` |
|
|
| [Projects](projects.md) | 1 | 3 | 500 | `UNLEASH_PROJECTS_LIMIT` |
|
|
| [Environments](environments.md) | 2 | 2 | 50 | `UNLEASH_ENVIRONMENTS_LIMIT` |
|
|
| [Signal](signals.md) endpoints | N/A | N/A | 5 | `UNLEASH_SIGNAL_ENDPOINTS_LIMIT` |
|
|
| [Signal](signals.md) tokens per endpoint | N/A | N/A | 5 | `UNLEASH_SIGNAL_TOKENS_PER_ENDPOINT_LIMIT` |
|
|
| [Action](actions.md) set actions | N/A | N/A | 10 | `UNLEASH_ACTION_SET_ACTIONS_LIMIT` |
|
|
| [Action](actions.md) sets per project | N/A | N/A | 5 | `UNLEASH_ACTION_SETS_PER_PROJECT_LIMIT` |
|
|
| [Action](actions.md) set filters | N/A | N/A | 5 | `UNLEASH_ACTION_SET_FILTERS_LIMIT` |
|
|
| [Action](actions.md) set filter values | N/A | N/A | 25 | `UNLEASH_ACTION_SET_FILTER_VALUES_LIMIT` |
|
|
|
|
## Overriding the limits
|
|
|
|
:::info Existing customers above the limits
|
|
Existing hosted customers who are already above the limits will have their limits adjusted to 110% of their maximum values when the limits were introduced.
|
|
:::
|
|
|
|
With a few exceptions, all the limits can be overridden through the use of their respective environment variables. However, while it is possible to override these limits, we advise against it in most cases. If you feel that you're unable to do what you need to do because of the limits, we'd love to hear from you.
|
|
|
|
If you operate a self-hosted Unleash instance, you can adjust the limit yourself. For hosted users of Unleash, you'll need to reach out and talk to your Unleash contact.
|
|
|
|
The only limits that can't be changed, are
|
|
- the limits for projects and environments for OSS instances
|
|
- the limits for projects and environments for Pro instances
|