Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
855e435
Update docsite/static/index.yaml (#809)
github-actions[bot] Jun 12, 2025
e3f6cfa
Merge pull request #811 from oceanbase/2.3.2_release
chris-sun-star Jun 19, 2025
32fadc6
delete task to create service for monitoring (#806)
chris-sun-star Jun 19, 2025
a9ad7f8
feat: Added UI and interface connection related functions related to …
TianWuwt Jul 18, 2025
abfa40c
Support obcluster inspection (#815)
chris-sun-star Jul 18, 2025
6b9e785
run specific tasks by scenario (#816)
chris-sun-star Jul 18, 2025
b927486
change parameter type
chris-sun-star Jul 21, 2025
2db67e4
add init container
chris-sun-star Jul 21, 2025
4b79d09
support to pass GOPROXY
chris-sun-star Jul 21, 2025
3fa34ca
fix pvc config
chris-sun-star Jul 21, 2025
69466dc
fix service account config
chris-sun-star Jul 21, 2025
aaf7ed9
fix job path
chris-sun-star Jul 21, 2025
5c58d65
fix pull policy
chris-sun-star Jul 21, 2025
63c5b0d
clean files using a cronjob
chris-sun-star Jul 21, 2025
68b86e2
optimize cronjob
chris-sun-star Jul 21, 2025
b413dc7
fix sa
chris-sun-star Jul 21, 2025
bbf72bc
fix:修复列表排序功能和性能巡检高颜色 (#817)
TianWuwt Jul 22, 2025
f20949c
gather info for alarm
chris-sun-star Jul 22, 2025
a14b3e6
fix pvc name
chris-sun-star Jul 22, 2025
dcfce8c
change image pull policy
chris-sun-star Jul 22, 2025
0f4b0d9
refactor gather command
chris-sun-star Jul 23, 2025
45245cf
refactor download function
chris-sun-star Jul 23, 2025
8991709
refactor download function
chris-sun-star Jul 23, 2025
0d24f15
remove config files after obdiag command
chris-sun-star Jul 23, 2025
cc9d626
add tenant overview
chris-sun-star Jul 23, 2025
1d3a22b
add tenant overview metrics
chris-sun-star Jul 23, 2025
89c4d28
add tenant overview scope
chris-sun-star Jul 23, 2025
4bf54a2
fix:修复巡检调度表单验证信息及报告文案改动 (#818)
TianWuwt Jul 23, 2025
c5ed89d
add parameter addressing_model for s3_compatible backup (#820)
chris-sun-star Jul 24, 2025
9eb50e6
feat:下载日志和监控优化 || feat: Download logs and monitoring optimization (#819)
TianWuwt Jul 24, 2025
0cdc687
Merge pull request #821 from chris-sun-star/download-log
LINxiansheng Jul 24, 2025
445f081
Merge pull request #822 from oceanbase/2.3.2_release
LINxiansheng Jul 24, 2025
118209d
fix:修复自测问题 || fix: Fix the self-test problem (#823)
TianWuwt Jul 28, 2025
a02eda5
add attachment related header
chris-sun-star Jul 28, 2025
1a72b57
rename filename
chris-sun-star Jul 28, 2025
f5eafe7
optimize download
chris-sun-star Jul 28, 2025
d356218
add header to bypass compress middleware
chris-sun-star Jul 28, 2025
607a5c5
content-length header
chris-sun-star Jul 28, 2025
727eae4
fix download header
chris-sun-star Jul 28, 2025
023c899
Merge pull request #825 from chris-sun-star/download-type
LINxiansheng Jul 28, 2025
c09fe27
fix: 新增集群日志下载文案 (#824)
TianWuwt Jul 28, 2025
b81fc3b
Configurations for inspection and jobs (#826)
chris-sun-star Jul 29, 2025
88e1b56
set owner references for triggered cronjob (#827)
chris-sun-star Jul 29, 2025
ecc0e39
return successful inspection result as well (#828)
chris-sun-star Jul 29, 2025
204ac30
filter alert keyword with summary and description (#829)
chris-sun-star Jul 30, 2025
7f0b6ac
Multi cluster job (#831)
chris-sun-star Jul 31, 2025
0958f87
Delete inspection (#832)
chris-sun-star Jul 31, 2025
df93dd2
delete job with proper delete options (#833)
chris-sun-star Jul 31, 2025
989e5f6
fix: 修复迭代缺陷问题 (#830)
TianWuwt Jul 31, 2025
f833ba1
Set backofflimit to 0 (#834)
chris-sun-star Jul 31, 2025
802fbc0
Support setting time zone of inspection job (#835)
chris-sun-star Jul 31, 2025
7dfd72d
improve: 新增获取时区组件,巡检调度新增时区参数 (#836)
TianWuwt Jul 31, 2025
0a5b31f
fix:修复巡检列表名展示及下载日志轮询错误处理 (#837)
TianWuwt Aug 1, 2025
8e6937a
return only successful report in policy (#838)
chris-sun-star Aug 1, 2025
2e3ffc7
fix:修复部分缺陷问题 || fix: Fix some defects (#839)
TianWuwt Aug 4, 2025
1f4926d
fix:修复下载日志,出现非预期信息弹窗 (#840)
TianWuwt Aug 4, 2025
c7437a2
fix remote terminal connection (#841)
chris-sun-star Aug 4, 2025
6fba832
Update docsite/static/index.yaml (#844)
github-actions[bot] Aug 4, 2025
6057e83
bump dashboard version to 0.5.0 (#842)
chris-sun-star Aug 4, 2025
8875824
create tenant with variable
chris-sun-star Aug 20, 2025
b7439f6
delete debug logs
chris-sun-star Aug 20, 2025
f078f0e
skip readonly and unsupported variables
chris-sun-star Sep 2, 2025
1bc0f03
check variables in spec
chris-sun-star Sep 2, 2025
83aa507
update chart version and monitor image and resource
chris-sun-star Sep 4, 2025
229a41d
Update docsite/static/index.yaml
chris-sun-star Sep 4, 2025
ad432e1
bump version to 2.3.3
chris-sun-star Sep 8, 2025
1c36aea
Update docsite/static/index.yaml
chris-sun-star Sep 8, 2025
7f38e7c
add tenant variables description
chris-sun-star Sep 8, 2025
e99d633
add descriptions for backup
chris-sun-star Sep 8, 2025
c8741ca
add description for version limit
chris-sun-star Sep 8, 2025
1a88b33
Merge pull request #856 from chris-sun-star/2.3.3-doc
cheer-chen Sep 8, 2025
beae1a9
Merge branch 'stable' into fix-conflict-2.3.3
chris-sun-star Sep 8, 2025
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 Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif

include make/*

VERSION ?= 2.3.2
VERSION ?= 2.3.3
# Image URL to use all building/pushing image targets
IMG ?= quay.io/oceanbase/ob-operator:${VERSION}
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
Expand Down
4 changes: 2 additions & 2 deletions charts/ob-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: 2.3.2
appVersion: 2.3.3
description: A Helm chart for OB-Operator
name: ob-operator
type: application
version: 2.3.2
version: 2.3.3
2 changes: 1 addition & 1 deletion charts/ob-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21851,7 +21851,7 @@ spec:
env:
- name: TELEMETRY_REPORTER
value: {{ .Values.reporter }}
image: quay.io/oceanbase/ob-operator:2.3.2
image: quay.io/oceanbase/ob-operator:2.3.3
livenessProbe:
httpGet:
path: /healthz
Expand Down
4 changes: 2 additions & 2 deletions charts/oceanbase-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.2.3-sp.1-101000032024061316
version: 4.3.5-sp.3-103000092025080818

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 4.2.3.1-101000032024061316
appVersion: 4.3.5.3-103000092025080818
4 changes: 2 additions & 2 deletions charts/oceanbase-cluster/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: obcluster
clusterId: 1

obAgentVersion: 4.2.1-100000092023101717
obAgentVersion: 4.2.2-100000042024011120

annotations:
# "oceanbase.oceanbase.com/independent-pvc-lifecycle": "true"
Expand All @@ -22,7 +22,7 @@ observerConfig:
monitorEnabled: true
monitorResource:
cpu: 500m
memory: 2Gi
memory: 1Gi

parameters:
- name: system_memory
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/oceanbase/ob-operator
newTag: 2.3.2
newTag: 2.3.3
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21864,7 +21864,7 @@ spec:
env:
- name: TELEMETRY_REPORTER
value: ob-operator
image: quay.io/oceanbase/ob-operator:2.3.2
image: quay.io/oceanbase/ob-operator:2.3.3
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
credentials: # optional
root: t1-ro # optional, empty root password if not given
standbyRo: t1-ro # optional, generate automatically if not given
variables:
- name: "lower_case_table_names"
value: "1"
pools:
- zone: zone1
type:
Expand Down Expand Up @@ -103,6 +106,7 @@ The following table describes the parameters.
| connectWhiteList | Optional. The IP addresses of the clients that are allowed to connect to the tenant. `%` indicates that all client IP addresses are allowed to connect to the tenant. The default value is `%`. When you modify this parameter, the value must include the CIDR block of ob-operator; otherwise, ob-operator cannot connect to the tenant. |
| forceDelete | Optional. Specifies whether to forcibly delete the tenant. The default value is `false`. |
| credentials | Optional. The secret resources referenced for creating the user and changing the password when you create the tenant. You can specify the passwords of the root account and the standbyro account. If you do not specify this parameter, the password is not changed. |
| variables | Optional. A list of tenant-level variables to set. Each item in the list should have a `name` and a `value`. (supported from version 2.3.3) |
| pools | The topology of the tenant, which defines the replica and resource distribution of the tenant in each zone. |
| type.name | Required. The type of replicas in the zone. The valid values are `full` and `readonly`. This parameter is case insensitive. |
| type.replica | Optional. The number of replicas in the zone. This parameter is set to `1` by default. |
Expand Down Expand Up @@ -147,6 +151,9 @@ Spec:
Credentials:
Root: t1-ro
Standby Ro: t1-ro
variables:
- name: "lower_case_table_names"
value: "1"
Force Delete: true
Obcluster: obcluster
Pools:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,14 @@ The parameters are described as follows:

destination:

* type: the type of the destination. Valid values are `NFS` and `OSS`.
* path: the path of the backup destination. If you use an OSS backup destination, the path must start with `oss://`. If you use an NFS backup destination, you must specify a relative path, which must not start with `/`.
* ossAccessSecret: the name of the secret resource that stores the OSS access credential. If you use an OSS backup destination, you must specify this parameter.
* type: The type of the destination. Valid values are `NFS`, `OSS`, `S3`, `COS`, and `S3_COMPATIBLE`. │
* path: The path of the backup destination. │
* For `NFS`, you must specify a relative path, which must not start with `/`. │
* For `OSS`, the path must start with `oss://` and include the `host` parameter. Example: `oss://bucket/backup?host=oss-cn-hangzhou.aliyuncs.com` │
* For `S3`, the path must start with `s3://` and include the `host` parameter. Example: `s3://bucket/backup?host=s3.us-west-1.amazonaws.com` │
* For `COS`, the path must start with `cos://` and include the `host` parameter. Example: `cos://bucket/backup?host=cos.ap-nanjing.myqcloud.com` │
* For `S3_COMPATIBLE`, the path must start with `s3://` and include the `host` parameter for the S3-compatible endpoint. Example: `s3://bucket/backup?host=minio.example.com` │
* ossAccessSecret: The name of the secret resource that stores the access credential. This is required for `OSS`, `S3`, `COS`, and `S3_COMPATIBLE`.

Here is the configuration of a sample tenantSecret resource:

Expand Down Expand Up @@ -120,6 +125,9 @@ data:
# base64 encoded
accessId: ******
accessKey: ******
appId: ****** # this config is for COS
s3Region: ****** # this config is for S3
addressingModel: ****** # this config is for S3_COMPATIBLE, (supported from version 2.3.3)
```

## Common operations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
credentials: # 可选
root: t1-ro # 可选,如不传则 root 用户密码为空
standbyRo: t1-ro # 可选,如不传则自动创建
variables:
- name: "lower_case_table_names"
value: "1"
pools:
- zone: zone1
type:
Expand Down Expand Up @@ -103,6 +106,7 @@ spec:
| connectWhiteList | 指定允许连接该租户的客户端 IP,`%` 表示任何客户端 IP 都可以连接该租户;非必填,默认设置为 `%`。如果用户需要修改改配置,则需要将 ob-operator 所处的网段包含在配置内,否则 ob-operator 会连接不上该租户。 |
| forceDelete | 删除时是否强制删除,非必填,默认为 false。 |
| credentials | 创建租户时创建用户和修改密码的 Secret 资源引用。目前支持配置 root 账号和 standbyRo 两个用户的密码,非必填,不填则不修改密码。 |
| variables | 可选。要设置的租户级变量列表。列表中的每个项目都应包含 `name` 和 `value`。 (从 2.3.3 版本开始支持) |
| pools | 租户的拓扑结构,用于定义租户在每个 zone 上的副本、资源分布等情况。 |
| type.name | 指定租户在该 zone 的副本类型,支持 full 和 readonly, 需要写出完整类型, 大小写不敏感;必填。|
| type.replica | 指定租户在该 zone 的副本数;非必填,默认为 1。 |
Expand Down Expand Up @@ -144,6 +148,9 @@ Metadata:
Spec:
Charset: utf8mb4
Connect White List: %
variables:
- name: "lower_case_table_names"
value: "1"
Credentials:
Root: t1-ro
Standby Ro: t1-ro
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,14 @@ spec:

destination:

* type:目的地类型,支持 NFS 和 OSS 两种。
* path:目的地的备份路径,如果是 OSS 类型,则需要以 `oss://` 开头;如果是 NFS 类型,则是非 `/` 开头的相对路径。
* ossAccessSecret: 存放访问 OSS 凭证的 Secret 资源名,如果备份目的地类型为 OSS,该字段必须提供。
* type:目的地类型,支持 `NFS`、`OSS`、`S3`、`COS` 和 `S3_COMPATIBLE`。 │
* path:目的地的备份路径。 │
* `NFS` 类型:非 `/` 开头的相对路径。 │
* `OSS` 类型:以 `oss://` 开头,并包含 `host` 参数。示例:`oss://bucket/backup?host=oss-cn-hangzhou.aliyuncs.com` │
* `S3` 类型:以 `s3://` 开头,并包含 `host` 参数。示例:`s3://bucket/backup?host=s3.us-west-1.amazonaws.com` │
* `COS` 类型:以 `cos://` 开头,并包含 `host` 参数。示例:`cos://bucket/backup?host=cos.ap-nanjing.myqcloud.com` │
* `S3_COMPATIBLE` 类型:以 `s3://` 开头,并包含 S3 兼容存储的 `host` 参数。示例:`s3://bucket/backup?host=minio.example.com` │
* ossAccessSecret:存放访问凭证的 Secret 资源名。如果备份目的地类型为 `OSS`、`S3`、`COS` 或 `S3_COMPATIBLE`,该字段必须提供。

tenantSecret 示例:

Expand Down Expand Up @@ -120,6 +125,9 @@ data:
# base64 encoded
accessId: ******
accessKey: ******
appId: ****** # this config is for COS
s3Region: ****** # this config is for S3
addressingModel: ****** # this config is for S3_COMPATIBLE, (supported from version 2.3.3)
```

## 常用操作
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# 变更日志

## 2.3.3 (发布于 2025.09.08)

### 新增特性
1. 支持 S3_COMPATIBLE 类型备份存储配置 addressingModel
2. 支持创建租户时设置变量,用于设置一些无法在创建后修改的变量

## 2.3.2 (发布于 2025.06.12)

### 新增特性
Expand Down
5 changes: 5 additions & 0 deletions docsite/src/pages/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.3.2 (Release on 2025.06.12)
### New Feature
1. Support setting addressingModel for S3_COMPATIBLE storage.
2. Support setting variables while creating tenant, for setting variables which are not able to be modifed after tenant creation.

## 2.3.2 (Release on 2025.06.12)
### New Feature
1. Support to keep static IP address when using kube-ovn as network plugin
Expand Down
22 changes: 21 additions & 1 deletion docsite/static/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
apiVersion: v1
entries:
ob-operator:
- apiVersion: v2
appVersion: 2.3.3
created: "2025-09-08T05:18:13.780482723Z"
description: A Helm chart for OB-Operator
digest: 003389716c9c57d1f01919761968f3c0f4bb721e4bf42348adddd1dcae233a0d
name: ob-operator
type: application
urls:
- https://github.com/oceanbase/ob-operator/releases/download/ob-operator-2.3.3/ob-operator-2.3.3.tgz
version: 2.3.3
- apiVersion: v2
appVersion: 2.3.2
created: "2025-06-12T09:45:27.6251493Z"
Expand Down Expand Up @@ -113,6 +123,16 @@ entries:
- https://github.com/oceanbase/ob-operator/releases/download/obproxy-ce-0.1.0/obproxy-ce-0.1.0.tgz
version: 0.1.0
oceanbase-cluster:
- apiVersion: v2
appVersion: 4.3.5.3-103000092025080818
created: "2025-09-04T09:28:25.359076304Z"
description: A Helm chart for Kubernetes to deploy OceanBase cluster
digest: 5b3e50bc0f54f31e6189e11d8e2c5a901b0291c123ee991abdf9b8cc006e8b17
name: oceanbase-cluster
type: application
urls:
- https://github.com/oceanbase/ob-operator/releases/download/oceanbase-cluster-4.3.5-sp.3-103000092025080818/oceanbase-cluster-4.3.5-sp.3-103000092025080818.tgz
version: 4.3.5-sp.3-103000092025080818
- apiVersion: v2
appVersion: 4.3.1.0-100000032024051615
created: "2024-05-22T11:22:39.758486099Z"
Expand Down Expand Up @@ -284,4 +304,4 @@ entries:
urls:
- https://github.com/oceanbase/ob-operator/releases/download/oceanbase-dashboard-0.1.0/oceanbase-dashboard-0.1.0.tgz
version: 0.1.0
generated: "2025-08-04T12:29:27.159591039Z"
generated: "2025-09-08T05:18:13.780568393Z"
62 changes: 31 additions & 31 deletions internal/resource/obcluster/obcluster_taskname_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading