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

Cluster profile resource usage computation #2802

Merged
merged 4 commits into from
May 15, 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
2 changes: 1 addition & 1 deletion docs/docs-content/tenant-settings/add-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Add Tenant-Level Registry"
description: "Learn how to add a tenant-level registry in Palette."
icon: ""
hide_table_of_contents: false
sidebar_position: 60
sidebar_position: 10
tags: ["enterprise", "management", "registry"]
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs-content/tenant-settings/api-key-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "API Key Management"
description: "Learn how to set a login banner for your Palette tenant."
icon: ""
hide_table_of_contents: false
sidebar_position: 0
sidebar_position: 20
tags: ["tenant-administration", "authentication", "api-key"]
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs-content/tenant-settings/login-banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Login Banner"
description: "Learn how to set a login banner for your Palette tenant."
icon: ""
hide_table_of_contents: false
sidebar_position: 0
sidebar_position: 30
tags: ["tenant-administration"]
---

Expand Down
62 changes: 62 additions & 0 deletions docs/docs-content/tenant-settings/palette-resource-limits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
sidebar_label: "Default Resource Limits"
title: "Default Resource Limits"
description:
"Understand the default resource limits for Palette and learn how to set resource limits for your Palette tenant."
icon: ""
hide_table_of_contents: false
sidebar_position: 25
tags: ["tenant-administration"]
---

Tenant administrators can set and update resource limits for Palette. The resource limits determine the maximum number
of resources that can be created in Palette. The resource limits are set at the tenant level and apply to all projects
in the tenant.

The following table lists the default resource limits for Palette:
karl-cardenas-coding marked this conversation as resolved.
Show resolved Hide resolved

| **Resources** | **Max Limit** | **Scope** |
| --------------------------------------------------- | ------------- | --------- |
| Users | 300 | Tenant |
| Teams | 100 | Tenant |
| Projects | 50 | Tenant |
| Workspaces | 50 | Tenant |
| Roles | 100 | Tenant |
| Cloud Accounts | 200 | Tenant |
karl-cardenas-coding marked this conversation as resolved.
Show resolved Hide resolved
| Cluster Profiles including Cluster Profile versions | 200 | Tenant |
| Registries | 50 | Tenant |
| Private Gateway | 50 | Tenant |
| API Keys | 20 | User |
| Backup Locations | 100 | Tenant |
| Certificates | 20 | Tenant |
| Macros | 200 | Project |
| SSH Keys | 300 | Tenant |
| Alerts or Webhook | 100 | Project |
| Clusters | 10,000 | Tenant |
| Edge Hosts | 200 | Tenant |

## Set Resource Limit

Use the following steps to set or update resource limits for your Palette tenant.

## Prerequisites

- You must have access to the _tenant admin_ role.

## Update Limits

1. Log in to [Palette](https://console.spectrocloud.com) as a tenant admin.

2. Navigate to the left **Main Menu** and select **Tenant Settings**.

3. Select **Resource Limits** from the **Tenant Settings Menu**.

4. Set the values for the different Palette resources.

5. Save your changes.

## Validate

You can validate the updated resource limits by creating a resource of the same type you updated. For example, you can
create five API keys if you updated the **API Key** to five. If you attempt to create a sixth API key, you will receive
an error message.
2 changes: 2 additions & 0 deletions docs/docs-content/tenant-settings/tenant-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Use the following resources to become familiar with the available tenant setting

- [API Key Management](api-key-management.md)

- [Default Resource Limits](./palette-resource-limits.md)

- [Login Banner](login-banner.md)

- [Projects](./projects/projects.md)
64 changes: 0 additions & 64 deletions docs/docs-content/user-management/palette-resource-limits.md

This file was deleted.

4 changes: 4 additions & 0 deletions redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@ const redirects = [
from: "/palette-cli/commands/validator/",
to: "/automation/palette-cli/commands/validator/",
},
{
from: "/user-management/palette-resource-limits/",
to: "/tenant-settings/palette-resource-limits/",
},
];

module.exports = redirects;