From 63792a4167244b7eac31e6e64d90faf31d35c3ed Mon Sep 17 00:00:00 2001 From: epalchenko Date: Fri, 5 Jun 2026 18:17:06 +0300 Subject: [PATCH 1/2] add Minikube section to CE-to-PE upgrade guide and fix license key instructions --- .../installation/minikube-cluster-setup.mdx | 4 +- .../docs/pe/installation/upgrade-from-ce.mdx | 61 ++++++++++++++++++- 2 files changed, 62 insertions(+), 3 deletions(-) diff --git a/src/content/docs/docs/pe/installation/minikube-cluster-setup.mdx b/src/content/docs/docs/pe/installation/minikube-cluster-setup.mdx index 12d16210b4..ff5f07e854 100644 --- a/src/content/docs/docs/pe/installation/minikube-cluster-setup.mdx +++ b/src/content/docs/docs/pe/installation/minikube-cluster-setup.mdx @@ -65,11 +65,11 @@ Edit the ThingsBoard node configuration: nano tb-node.yml ``` -Find the `TB_LICENSE_SECRET` environment variable and replace `PUT_YOUR_LICENSE_SECRET_HERE` with your actual license secret: +Find the `TB_LICENSE_SECRET` environment variable and set its `value:` to your actual license secret: ```yaml - name: TB_LICENSE_SECRET - value: "PUT_YOUR_LICENSE_SECRET_HERE" + value: "YOUR_LICENSE_SECRET" ``` ## Step 3. Configure database diff --git a/src/content/docs/docs/pe/installation/upgrade-from-ce.mdx b/src/content/docs/docs/pe/installation/upgrade-from-ce.mdx index 49e734ca23..59cc52d7e5 100644 --- a/src/content/docs/docs/pe/installation/upgrade-from-ce.mdx +++ b/src/content/docs/docs/pe/installation/upgrade-from-ce.mdx @@ -8,7 +8,7 @@ import DocLink from '@components/DocLink.astro'; import { Aside } from '@astrojs/starlight/components'; import { Code } from '@astrojs/starlight/components'; import { Products } from '~/models/site.models'; -import { PE_FULL_VER, PE_PKG_VER } from '~/data/versions'; +import { PE_FULL_VER, PE_PKG_VER, CE_FULL_VER } from '~/data/versions'; export const ubuntuDownloadCmd = `wget https://dist.thingsboard.io/thingsboard-${PE_PKG_VER}.deb`; export const ubuntuInstallCmd = `sudo dpkg -i thingsboard-${PE_PKG_VER}.deb`; @@ -19,6 +19,9 @@ export const windowsDownloadUrl = `https://dist.thingsboard.io/thingsboard-windo export const dockerPullCmd = `docker pull thingsboard/tb-pe-node:${PE_FULL_VER} docker pull thingsboard/tb-pe-web-report:${PE_FULL_VER}`; +export const k8sLicenseCmd = `- name: TB_LICENSE_SECRET\n value: "YOUR_LICENSE_SECRET"`; +export const k8sCloneCmd = `git clone -b release-${CE_FULL_VER} https://github.com/thingsboard/thingsboard-pe-k8s.git --depth 1\ncd thingsboard-pe-k8s/minikube`; + ## Ubuntu