Skip to content

Commit

Permalink
*: update the default tag of xenon (#659)
Browse files Browse the repository at this point in the history
chore: update the default tag of xenon
  • Loading branch information
runkecheng authored Aug 22, 2022
1 parent 8f5bdaa commit 8ad0ac3
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/mysqlcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type MysqlClusterSpec struct {

// XenonOpts is the options of xenon container.
// +optional
// +kubebuilder:default:={image: "radondb/xenon:1.1.5-alpha", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
// +kubebuilder:default:={image: "radondb/xenon:v2.2.1", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
XenonOpts XenonOpts `json:"xenonOpts,omitempty"`

// MetricsOpts is the options of metrics container.
Expand Down Expand Up @@ -159,7 +159,7 @@ type MysqlOpts struct {
type XenonOpts struct {
// To specify the image that will be used for xenon container.
// +optional
// +kubebuilder:default:="radondb/xenon:1.1.5-alpha"
// +kubebuilder:default:="radondb/xenon:v2.2.1"
Image string `json:"image,omitempty"`

// High available component admit defeat heartbeat count.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ spec:
default:
admitDefeatHearbeatCount: 5
electionTimeout: 10000
image: radondb/xenon:1.1.5-alpha
image: radondb/xenon:v2.2.1
resources:
limits:
cpu: 100m
Expand All @@ -1303,7 +1303,7 @@ spec:
automatically rebuild the invalid node.
type: boolean
image:
default: radondb/xenon:1.1.5-alpha
default: radondb/xenon:v2.2.1
description: To specify the image that will be used for xenon
container.
type: string
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/mysql.radondb.com_mysqlclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ spec:
default:
admitDefeatHearbeatCount: 5
electionTimeout: 10000
image: radondb/xenon:1.1.5-alpha
image: radondb/xenon:v2.2.1
resources:
limits:
cpu: 100m
Expand All @@ -1303,7 +1303,7 @@ spec:
automatically rebuild the invalid node.
type: boolean
image:
default: radondb/xenon:1.1.5-alpha
default: radondb/xenon:v2.2.1
description: To specify the image that will be used for xenon
container.
type: string
Expand Down
2 changes: 1 addition & 1 deletion config/samples/mysql_v1alpha1_mysqlcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
memory: 1Gi

xenonOpts:
image: radondb/xenon:1.1.5-alpha
image: radondb/xenon:v2.2.1
admitDefeatHearbeatCount: 5
electionTimeout: 10000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
memory: 1Gi

xenonOpts:
image: radondb/xenon:1.1.5-alpha
image: radondb/xenon:v2.2.1
admitDefeatHearbeatCount: 5
electionTimeout: 10000

Expand Down
2 changes: 1 addition & 1 deletion config/samples/mysql_v1alpha1_mysqlcluster_mysql8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
memory: 1Gi

xenonOpts:
image: radondb/xenon:1.1.5-alpha
image: radondb/xenon:v2.2.1
admitDefeatHearbeatCount: 5
electionTimeout: 10000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
memory: 1Gi

xenonOpts:
image: radondb/xenon:1.1.5-alpha
image: radondb/xenon:v2.2.1
admitDefeatHearbeatCount: 5
electionTimeout: 10000

Expand Down
2 changes: 1 addition & 1 deletion docs/en-us/config_para.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Contents
| MysqlOpts.InitTokuDB | TokuDB enabled | true |
| MysqlOpts.MysqlConf | MySQL configuration | - |
| MysqlOpts.Resources | MySQL container resources | Reserve: CPU 100M, memory 256Mi; </br> limit: CPU 500M, memory 1Gi |
| XenonOpts.Image | Xenon (HA MySQL) image | radondb/xenon:1.1.5-alpha |
| XenonOpts.Image | Xenon (HA MySQL) image | radondb/xenon:v2.2.1 |
| XenonOpts.AdmitDefeatHearbeatCount | Maximum heartbeat failures allowed | 5 |
| XenonOpts.ElectionTimeout | Election timeout period (milliseconds) | 10000 ms |
| XenonOpts.Resources | Xenon container resources | Reserve: CPU 50M, memory 128Mi; </br> limit: CPU 100M, memory 256Mi |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/config_para.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
| MysqlOpts.InitTokuDB | 是否启用 TokuDB | true |
| MysqlOpts.MysqlConf | MySQL 配置 | - |
| MysqlOpts.Resources | MySQL 容器配额 | 预留:CPU 100M,内存 256Mi;</br> 限制:CPU 500M,内存 1Gi |
| XenonOpts.Image | Xenon (高可用组件)镜像 | radondb/xenon:1.1.5-alpha |
| XenonOpts.Image | Xenon (高可用组件)镜像 | radondb/xenon:v2.2.1 |
| XenonOpts.AdmitDefeatHearbeatCount | 允许的最大心跳检测失败次数 | 5 |
| XenonOpts.ElectionTimeout | 选举超时时间(单位为毫秒) | 10000ms |
| XenonOpts.Resources | Xenon 容器配额 | 预留:CPU 50M,内存 128Mi;</br> 限制:CPU 100M,内存 256Mi |
Expand Down

0 comments on commit 8ad0ac3

Please sign in to comment.