-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC-502 License enforcement updates (#813)
Co-authored-by: Paulo Borges <[email protected]> Co-authored-by: Gellért Peresztegi-Nagy <[email protected]> Co-authored-by: Angela Simms <[email protected]>
- Loading branch information
1 parent
2245566
commit 5df220f
Showing
26 changed files
with
989 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
= Add a License Key to Redpanda Console | ||
:description: Learn how to apply or update a license key to Redpanda Console. | ||
|
||
To enable xref:get-started:licensing/overview.adoc#console[enterprise features for Redpanda Console], you must have an Enterprise Edition license to load at startup. This guide explains how to configure Redpanda Console to load the license key from its local configuration. | ||
|
||
TIP: Redpanda Console can also load the license key from a connected Redpanda cluster. To add a license key to Redpanda, see xref:get-started:licensing/add-license-redpanda/index.adoc[]. | ||
|
||
== Prerequisites | ||
|
||
You must have an Enterprise Edition license. If you don't have a license yet, https://www.redpanda.com/contact[request one^]. | ||
|
||
If Redpanda Console has enterprise features enabled and cannot find a valid license locally or in the connected Redpanda cluster, it shuts down. See xref:get-started:licensing/overview.adoc[]. | ||
|
||
== Add a new license to Redpanda Console | ||
|
||
To add a new license to Redpanda Console, you have two options: | ||
|
||
- <<file, Provide the path to the license file>>. | ||
- <<inline, Provide the license key contents directly>>. | ||
|
||
[[file]] | ||
=== Use a license file | ||
|
||
Specify the path to the license file in one of the following ways: | ||
|
||
- Set the `licenseFilepath` property in the `/etc/redpanda/redpanda-console-config.yaml` configuration file: | ||
+ | ||
```yaml | ||
licenseFilepath: <path-to-license-file> | ||
``` | ||
- Set the `REDPANDA_LICENSE_FILEPATH` environment variable: | ||
+ | ||
```bash | ||
export REDPANDA_LICENSE_FILEPATH=<path-to-license-file> | ||
``` | ||
|
||
[[inline]] | ||
=== Use the license key contents directly | ||
|
||
If you don't want to provide a path to the license file, you can use the contents of the license key directly in one of the following ways: | ||
|
||
- Set the `license` property in the `/etc/redpanda/redpanda-console-config.yaml` configuration file: | ||
+ | ||
```yaml | ||
license: <license-key-contents> | ||
``` | ||
|
||
- Set the `REDPANDA_LICENSE` environment variable: | ||
+ | ||
```yaml | ||
export REDPANDA_LICENSE=<license-key-contents> | ||
``` | ||
|
||
== Update an existing license | ||
|
||
To update an existing license: | ||
|
||
. Update your configuration file or environment variables with one of the following: | ||
|
||
- <<file, The path to your new license file>> | ||
- <<inline, The contents of your new license key>> | ||
|
||
. Restart Redpanda Console to make the changes take effect. | ||
|
||
== Next steps | ||
|
||
xref:get-started:licensing/monitor-license-status.adoc[]. | ||
|
||
== Suggested reading | ||
|
||
- xref:get-started:licensing/index.adoc[] | ||
- xref:console:ui/add-license.adoc[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
= Manage Enterprise Edition Licenses through Redpanda Console | ||
:description: Learn how to manage Enterprise Edition licenses in Redpanda Console. | ||
|
||
You can add, update and check your xref:get-started:licensing/overview.adoc#console[Enterprise Edition license] for both Redpanda and Redpanda Console directly through the Redpanda Console UI. | ||
|
||
== Prerequisites | ||
|
||
- You must have an Enterprise Edition license. https://www.redpanda.com/contact[Request a license^] if you don't have one already. | ||
+ | ||
If Redpanda Console has enterprise features enabled and it cannot find a valid license either locally or in the connected Redpanda cluster, it shuts down. | ||
- Redpanda Console must be xref:console:config/connect-to-redpanda.adoc[connected to a Redpanda cluster]. | ||
- Redpanda Console must be xref:console:config/connect-to-redpanda.adoc#admin[configured to connect to the Redpanda Admin API]. | ||
|
||
TIP: You can also xref:console:config/enterprise-license.adoc[configure Redpanda Console to load the license key from its local configuration]. | ||
|
||
== Check the license status in Redpanda Console | ||
|
||
You can check the expiration date of a license on the **Cluster Overview** page in Redpanda Console, under the **Licensing** section. | ||
|
||
If the license is due to expire within 30 days, a warning banner is displayed on all pages of Redpanda Console. | ||
|
||
See also: xref:get-started:licensing/monitor-license-status.adoc[]. | ||
|
||
== Upload a new license | ||
|
||
When a new license is uploaded through Redpanda Console, it is replicated across the cluster and stored persistently in Redpanda's internal metadata, ensuring it is retained across restarts. | ||
|
||
[CAUTION] | ||
==== | ||
include::console:partial$licensing/kubernetes-note.adoc[] | ||
==== | ||
|
||
To upload a new license directly through the Console UI: | ||
|
||
. Open the *Upload License* page, using one of the following methods: | ||
+ | ||
- *Cluster Overview* page: | ||
+ | ||
Navigate to the *Cluster Overview* page in Redpanda Console. | ||
Under the *Licensing* section, click on the *Upload new license* link to upload a new license key. | ||
|
||
- Expiration warning banner: | ||
+ | ||
If the existing license expires soon, you can click the *Upload license* button in the expiration warning banner. | ||
|
||
. Upload your license. You can drag and drop a license file into the box or copy and paste the license string into the text input. | ||
+ | ||
image::console:license.png[] | ||
+ | ||
When a new license is uploaded, enterprise features in Redpanda Self-Managed are unlocked immediately without requiring a cluster restart. However, to unlock enterprise features in Redpanda Console, you must restart the Redpanda Console instance. | ||
|
||
After restarting Redpanda Console, enterprise features such as RBAC are unlocked. However, to enable and use these features, you must configure them. See xref:console:config/index.adoc[]. | ||
|
||
== Next steps | ||
|
||
xref:get-started:licensing/monitor-license-status.adoc[]. | ||
|
||
== Suggested reading | ||
|
||
- xref:get-started:licensing/index.adoc[] | ||
- xref:get-started:licensing/overview.adoc[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ifndef::env-kubernetes[If you use Kubernetes to deploy Redpanda, do] | ||
ifdef::env-kubernetes[Do] | ||
not use Redpanda Console to update the license if it's already set in your Kubernetes resources. During upgrades or redeployments, license values in your Kubernetes resources will override the license set using Redpanda Console. For consistent license management, set the license using either Redpanda Console or Kubernetes resources, but not both. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.