Skip to content

Commit 293d1e2

Browse files
authored
Merge pull request #144 from apecloud/support/add-blog-release-101
add blog release 101
2 parents f093927 + 1684cde commit 293d1e2

File tree

10 files changed

+686
-9
lines changed

10 files changed

+686
-9
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
slug: announcing-kubeblocks-v1-0-1
3+
title: Announcing KubeBlocks v1.0.1
4+
description: This blog introduces major changes in KubeBlocks v1.0.1.
5+
date: 2025-09-12
6+
tags: [Announcing]
7+
image: /img/blogs/thumbnails/blog-release-1.0.1.png
8+
---
9+
10+
# Announcing KubeBlocks v1.0.1
11+
12+
We are delighted to announce the release of KubeBlocks v1.0.1. This release includes several new features, bug fixes, and various improvements. Here are the detailed update contents.
13+
14+
## KubeBlocks
15+
16+
### Features
17+
18+
- **Improve the settings of the manager** - Improves performance, stability, and configurability of KubeBlocks Operator. ([#9587](https://github.com/apecloud/kubeblocks/pull/9587))
19+
- **Support user-defined environment variables in lifecycle actions** - Allows customization of environment variables for lifecycle actions. ([#9514](https://github.com/apecloud/kubeblocks/pull/9514))
20+
- **OpsDefinition supports image mapping for multi service version** - Enables image mapping for different service versions in operations definitions. ([#9605](https://github.com/apecloud/kubeblocks/pull/9605))
21+
- **Specify allowed symbols in password generation** - Allows customization of symbols used in generated passwords. [#9480](https://github.com/apecloud/kubeblocks/pull/9480)
22+
- **Support HTTP and gRPC actions** - Supports HTTP and gRPC in lifecycle actions. ([#9656](https://github.com/apecloud/kubeblocks/pull/9656))
23+
- **Scale out replicas from backup** - Supports to scale out replicas from backup in OpsRequest. ([#9623](https://github.com/apecloud/kubeblocks/pull/9623))
24+
- **Improves resource resizing handling** - Support resize subresource in InPlacePodVerticalScaling when supported. ([#9532](https://github.com/apecloud/kubeblocks/pull/9532),[#9545](https://github.com/apecloud/kubeblocks/pull/9545))
25+
- **Add azureblob storage provider** - Adds Azure Blob storage provider support.([#9492](https://github.com/apecloud/kubeblocks/pull/9492))
26+
27+
28+
## KubeBlocks Addons
29+
30+
### PostgreSQL
31+
- Improve PostgreSQL dcs mode ([#1874](https://github.com/apecloud/kubeblocks-addons/pull/1874))
32+
- Support synchronous mode ([#1941](https://github.com/apecloud/kubeblocks-addons/pull/1941))
33+
- Update patroni scope value and dcs scope ([#2005](https://github.com/apecloud/kubeblocks-addons/pull/2005),[#1997](https://github.com/apecloud/kubeblocks-addons/pull/1997))
34+
35+
### Redis
36+
- Support new Redis verions 8.2,8.0.3, 7.2.10 and 7.4.5/([#1968](https://github.com/apecloud/kubeblocks-addons/pull/1968), [#1785](https://github.com/apecloud/kubeblocks-addons/pull/1785), [#1710](https://github.com/apecloud/kubeblocks-addons/pull/1710))
37+
- Fixed Redis memory leak when loading redisgears module ([#1855](https://github.com/apecloud/kubeblocks-addons/pull/1855))
38+
- Support reconfiguration of `client-output-buffer-limit` ([#1973](https://github.com/apecloud/kubeblocks-addons/pull/1973))
39+
40+
### Clickhouse
41+
- Support Horizontal Scale for keeper ([#1713](https://github.com/apecloud/kubeblocks-addons/pull/1713))
42+
43+
### Elasticsearch
44+
- Support new ES version 8.15.5 ([#1923](https://github.com/apecloud/kubeblocks-addons/pull/1923))
45+
- Split master and data component to be more flexible ([#1971](https://github.com/apecloud/kubeblocks-addons/pull/1971))
46+
47+
### Etcd
48+
- Support new Etcd version 3.6.1 ([#1709](https://github.com/apecloud/kubeblocks-addons/pull/1709))
49+
50+
### MinIO
51+
- Add dashboard for MinIO ([#1833](https://github.com/apecloud/kubeblocks-addons/pull/1833))
52+
- Improve MinIO for metrics collection ([#1836](https://github.com/apecloud/kubeblocks-addons/pull/1836))
53+
54+
### RocketMQ
55+
- Support RocketMQ Addon, for RocketMQ 4.9.6 ([#1883](https://github.com/apecloud/kubeblocks-addons/pull/1883))
56+
57+
### Neo4j
58+
- Support Neo4j Addon, for Neo4j 4.4.42/5.26.5 ([#1649](https://github.com/apecloud/kubeblocks-addons/pull/1649))
59+
60+
61+
## Full Changelog
62+
You can check the [full changelog](https://github.com/apecloud/kubeblocks/compare/v1.0.0...v1.0.1) for additional changes.

docs/en/preview/user_docs/references/install-addons.mdx

Lines changed: 107 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
---
2-
title: Install Addons
2+
title: Addons Management
33
description: Install KubeBlocks addons with Helm
44
keywords: [addon, helm, KubeBlocks, kubernetes, operator, database]
55
sidebar_position: 3
6-
sidebar_label: Install Addons
6+
sidebar_label: Addons Management
77
---
88

99
import Tabs from '@theme/Tabs';
1010
import TabItem from '@theme/TabItem';
1111

12-
# Install Addons
12+
# Addons Management
1313

1414
With the release of KubeBlocks v0.8.0, Addons are decoupled from KubeBlocks and some Addons are not installed by default. If you want to use these Addons, install Addons first by index. Or if you uninstalled some Addons, you can follow the steps in this tutorial to install them again.
1515

1616
This tutorial takes elasticsearch as an example. You can replace elasticsearch with the Addon you need.
1717

1818
The official index repo is [KubeBlocks index](https://github.com/apecloud/block-index). Addons are maintained in the [KubeBlocks Addon repo](https://github.com/apecloud/kubeblocks-addons).
1919

20+
## Install Addons
21+
2022
:::note
2123

2224
Make sure the major version of Addons and KubeBlocks are the same.
@@ -202,6 +204,108 @@ What is the difference between using `kbcli` and `helm` to install an Addon?
202204

203205
</Tabs>
204206

207+
## Upgrade Addons
208+
209+
Follow these steps to upgrade Addons individually.
210+
211+
:::note
212+
Upgrading Addons may lead to restarting existing database clusters and affect availability. Only proceed during maintenance windows, and test the upgrade in a non-production environment first.
213+
:::
214+
215+
<Tabs>
216+
217+
<TabItem value="Helm" label="Helm" default>
218+
219+
**Step 1: Configure Addon Repository**
220+
221+
```bash
222+
# Add the primary Addon repository
223+
helm repo add kubeblocks-addons https://apecloud.github.io/helm-charts
224+
225+
# Alternative repository for users in regions with limited GitHub access
226+
# helm repo add kubeblocks-addons https://jihulab.com/api/v4/projects/150246/packages/helm/stable
227+
228+
# Update repository information
229+
helm repo update
230+
```
231+
232+
**Step 2: Find Available Versions**
233+
234+
```bash
235+
# Search for available versions of a specific Addon
236+
helm search repo kubeblocks-addons/{addon-name} --versions --devel
237+
# Example: helm search repo kubeblocks-addons/mysql --versions --devel
238+
```
239+
240+
**Step 3: Upgrade the Addon**
241+
242+
Select a version that is compatible (same major version) with your KubeBlocks release and upgrade:
243+
244+
```bash
245+
# Upgrade to a specific version
246+
helm upgrade -i {addon-release-name} kubeblocks-addons/{addon-name} --version x.y.z -n kb-system
247+
```
248+
249+
:::note
250+
**Parameter Reference:**
251+
- `{addon-name}`: Replace with the actual Addon name (e.g., `mysql`, `postgresql`)
252+
- `{addon-release-name}`: The release name of the installed Addon (e.g., `kb-addon-mysql`, `kb-addon-postgresql`)
253+
- `x.y.z`: The target version number, compatible with your KubeBlocks release
254+
:::
255+
256+
</TabItem>
257+
258+
<TabItem value="kbcli" label="kbcli">
259+
260+
**Step 1: Update Addon Index**
261+
262+
```bash
263+
# List available Addon indexes (the default index is `kubeblocks`)
264+
kbcli addon index list
265+
266+
# Update the default KubeBlocks index
267+
kbcli addon index update kubeblocks
268+
```
269+
270+
**Step 2: Search for Available Addon Versions**
271+
272+
```bash
273+
# Search for available versions of a specific Addon
274+
kbcli addon search {addon-name}
275+
276+
# View currently installed Addons and their versions
277+
kbcli addon list | grep {addon-name}
278+
```
279+
280+
**Step 3: Upgrade the Addon**
281+
282+
Select a version that is compatible (same major version) with your KubeBlocks release and upgrade:
283+
284+
```bash
285+
kbcli addon upgrade {addon-name} --version x.y.z
286+
```
287+
288+
**Force upgrade (use with caution):**
289+
```bash
290+
kbcli addon upgrade {addon-name} --version x.y.z --force
291+
```
292+
293+
**Fresh installation (if not previously installed):**
294+
```bash
295+
kbcli addon install {addon-name} --version x.y.z
296+
```
297+
298+
:::note
299+
**When to use `--force`:**
300+
- You need to downgrade to a previous version
301+
- Use with caution as it bypasses compatibility checks
302+
:::
303+
304+
</TabItem>
305+
306+
</Tabs>
307+
308+
205309
## Advanced Configuration
206310

207311
### Set Addon Values

docs/en/preview/user_docs/release_notes/release-10/101.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ We are delighted to announce the release of KubeBlocks v1.0.1. This release incl
5454
### Neo4j
5555
- Support Neo4j Addon, for Neo4j 4.4.42/5.26.5 ([#1649](https://github.com/apecloud/kubeblocks-addons/pull/1649))
5656

57+
## Upgrade to v1.0.1
58+
59+
Refer to [Upgrade to KubeBlocks v1.0.x](../../upgrade/upgrade-to-v10x).
5760

5861
## Full Changelog
5962
You can check the [full changelog](https://github.com/apecloud/kubeblocks/compare/v1.0.0...v1.0.1) for additional changes.
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
---
2+
title: Upgrade to v1.0.x
3+
description: Upgrade to KubeBlocks v1.0.x, operation, tips and notes
4+
keywords: [upgrade, kubeblocks]
5+
sidebar_position: 1
6+
sidebar_label: Upgrade to v1.0.x
7+
---
8+
9+
import Tabs from '@theme/Tabs';
10+
import TabItem from '@theme/TabItem';
11+
12+
export const LATEST_VERSION = "v1.0.1";
13+
14+
{/* Custom component to render code blocks with variable substitution */}
15+
export const VersionedCodeBlock = ({ children, language = "bash" }) => (
16+
<pre>
17+
<code className={`language-${language}`}>
18+
{children.replace(/{LATEST_VERSION}/g, LATEST_VERSION)}
19+
</code>
20+
</pre>
21+
);
22+
23+
# Upgrade to KubeBlocks v1.0.x
24+
25+
This guide walks you through upgrading KubeBlocks to version 1.0.x.
26+
27+
## Before You Begin
28+
29+
### Verify Your Current Version
30+
31+
First, check which version of KubeBlocks you're currently running:
32+
33+
```bash
34+
# Using helm
35+
helm -n kb-system list | grep kubeblocks
36+
37+
# Using kbcli
38+
kbcli version
39+
```
40+
41+
### Choose Your Upgrade Path
42+
43+
Select the appropriate upgrade path based on your current version:
44+
45+
| Current Version | Target: v1.0.x | Upgrade Path |
46+
|-----------------|----------------|---------------|
47+
| v1.0.x | ✅ Direct upgrade | Follow [Upgrade from KubeBlocks v1.0.x](#upgrade-from-kubeblocks-v10x) |
48+
| v0.9.x | ❌ Not supported | N/A |
49+
50+
51+
## Upgrade from KubeBlocks v1.0.x
52+
53+
This section covers upgrading between v1.0.x versions (for example, from v1.0.0 to v1.0.1). Since these are patch releases within the same major version, the upgrade process is straightforward.
54+
55+
:::note
56+
**Version Placeholder:**
57+
58+
Throughout this section, replace {LATEST_VERSION} with your target version number (e.g., `v1.0.1`).
59+
:::
60+
61+
<Tabs>
62+
63+
<TabItem value="Helm" label="Helm" default>
64+
65+
**Step 1: Update Custom Resource Definitions (CRDs)**
66+
67+
KubeBlocks separates CRDs from the Helm chart to reduce chart size. Start by updating the CRDs:
68+
69+
<VersionedCodeBlock>
70+
{`kubectl replace -f https://github.com/apecloud/kubeblocks/releases/download/{LATEST_VERSION}/kubeblocks_crds.yaml`}
71+
</VersionedCodeBlock>
72+
73+
**Step 2: Upgrade KubeBlocks Core**
74+
75+
First, update your Helm repository to get the latest chart information:
76+
```bash
77+
helm repo add kubeblocks https://apecloud.github.io/helm-charts
78+
helm repo update kubeblocks
79+
```
80+
81+
Then upgrade KubeBlocks to the target version:
82+
<VersionedCodeBlock>
83+
{`helm -n kb-system upgrade kubeblocks kubeblocks/kubeblocks --version {LATEST_VERSION}`}
84+
</VersionedCodeBlock>
85+
86+
**Step 3: (Optional) Upgrade Addons**
87+
88+
:::note
89+
We are glad to announce that since KubeBlocks 1.0.0, each `ComponentDefinition` CR has its own version (usually the same as its Addon version), existing Clusters will not be affected by the Addon upgrade.
90+
91+
But it is still recommended to test upgrade Addons in a non-production environment first.
92+
:::
93+
94+
To upgrade Addons to the versions bundled with the new KubeBlocks version:
95+
96+
<VersionedCodeBlock>
97+
{`helm -n kb-system upgrade kubeblocks kubeblocks/kubeblocks --version {LATEST_VERSION} --set upgradeAddons=true`}
98+
</VersionedCodeBlock>
99+
100+
Or you want to upgrade specific Addons follow the steps in [Upgrade Addons](../references/install-addons#upgrade-addons)
101+
102+
</TabItem>
103+
104+
<TabItem value="kbcli" label="kbcli">
105+
106+
**Step 1: Update kbcli**
107+
108+
Download and install the matching version of kbcli:
109+
110+
<VersionedCodeBlock>
111+
{`curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s {LATEST_VERSION}`}
112+
</VersionedCodeBlock>
113+
114+
**Step 2: Upgrade KubeBlocks Core**
115+
116+
Perform the core upgrade without updating Addons:
117+
118+
<VersionedCodeBlock>
119+
{`kbcli kb upgrade --version {LATEST_VERSION}`}
120+
</VersionedCodeBlock>
121+
122+
**Step 3: (Optional) Upgrade Addons**
123+
124+
:::note
125+
We are glad to announce that since KubeBlocks 1.0.0, each `ComponentDefinition` CR has its own version (usually the same as its Addon version), existing Clusters will not be affected by the Addon upgrade.
126+
127+
But it is still recommended to test upgrade Addons in a non-production environment first.
128+
:::
129+
130+
To upgrade Addons to the versions bundled with the new KubeBlocks version:
131+
132+
<VersionedCodeBlock>
133+
{`kbcli kb upgrade --version {LATEST_VERSION} --set upgradeAddons=true`}
134+
</VersionedCodeBlock>
135+
136+
Or you want to upgrade specific Addons follow the steps in [Upgrade Addons](../references/install-addons#upgrade-addons)
137+
138+
</TabItem>
139+
140+
</Tabs>
141+
142+
## Getting Help
143+
144+
If you encounter issues during the upgrade process:
145+
146+
- **Check the logs**: Review upgrade logs using `kubectl -n kb-system logs deployment/kubeblocks`
147+
- **Community Support**: Visit the [KubeBlocks GitHub Issues](https://github.com/apecloud/kubeblocks/issues) for known issues and community help

0 commit comments

Comments
 (0)