Skip to content

Commit 486cc85

Browse files
authored
bump TiDB Operator to 1.6.0 and TiDB to 8.1.0 (#5641)
1 parent e2d06e6 commit 486cc85

File tree

88 files changed

+124
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+124
-143
lines changed

charts/br-federation/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rbac:
1010
# timezone is the default system timzone
1111
timezone: UTC
1212

13-
image: pingcap/br-federation-manager:v1.6.0-beta.1
13+
image: pingcap/br-federation-manager:v1.6.0
1414
imagePullPolicy: IfNotPresent
1515
# imagePullSecrets: []
1616

charts/tidb-drainer/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ timezone: UTC
1212

1313
# clusterName is the TiDB cluster name that should backup from or restore to.
1414
clusterName: demo
15-
clusterVersion: v7.5.1
15+
clusterVersion: v8.1.0
1616

1717
baseImage: pingcap/tidb-binlog
1818
imagePullPolicy: IfNotPresent

charts/tidb-lightning/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# timezone is the default system timzone
66
timezone: UTC
77

8-
image: pingcap/tidb-lightning:v7.5.1
8+
image: pingcap/tidb-lightning:v8.1.0
99
imagePullPolicy: IfNotPresent
1010
# imagePullSecrets: []
1111

charts/tidb-operator/values.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,39 @@ rbac:
1212
timezone: UTC
1313

1414
# operatorImage is TiDB Operator image
15-
operatorImage: pingcap/tidb-operator:v1.6.0-beta.1
15+
operatorImage: pingcap/tidb-operator:v1.6.0
1616
imagePullPolicy: IfNotPresent
1717
# imagePullSecrets: []
1818

1919
# tidbBackupManagerImage is tidb backup manager image
20-
tidbBackupManagerImage: pingcap/tidb-backup-manager:v1.6.0-beta.1
20+
tidbBackupManagerImage: pingcap/tidb-backup-manager:v1.6.0
2121

2222
#
2323
# Enable or disable tidb-operator features:
2424
#
25-
# StableScheduling (default: true)
26-
# Enable stable scheduling of tidb servers.
27-
#
2825
# AdvancedStatefulSet (default: false)
2926
# If enabled, tidb-operator will use AdvancedStatefulSet to manage pods
3027
# instead of Kubernetes StatefulSet.
3128
# It's ok to turn it on if this feature is not enabled. However it's not ok
3229
# to turn it off when the tidb-operator already uses AdvancedStatefulSet to
33-
# manage pods. This is in alpha phase.
30+
# manage pods. This is in GA phase.
31+
# Ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/advanced-statefulset
3432
#
3533
# VolumeModifying (default false)
3634
# If enabled, tidb-operator support to increase the size or performance of volumes
37-
# for specific volume provisioner.
35+
# for specific volume provisioner. This is in GA phase for AWS EBS.
3836
#
3937
# VolumeReplacing (default false)
4038
# If enabled, tidb-operator support generic volume changes (size, storageclass & number of volumes)
4139
# by deleting old pod + pvc completely and replacing with new pods/PVCs.
4240
# pd, tikv, tidb supported. If enabled, takes precedence over volume resizing & modifying.
4341
# This works by deleting pod+volumes one at a time (similar to scale-in), and recreating it.
4442
# For PD & TiKV this will first create one new spare replica to take the load before deleting existing ones
45-
# Safely deleting a volume and replacing them can take a long time (Especially TiKV to move regions)
43+
# Safely deleting a volume and replacing them can take a long time (Especially TiKV to move regions).
44+
# This is in Alpha phase.
4645
#
4746
features: []
4847
# - AdvancedStatefulSet=false
49-
# - StableScheduling=true
50-
# - AutoScaling=false
5148
# - VolumeModifying=false
5249
# - VolumeReplacing=false
5350

cmd/http-service/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ require (
66
github.com/gin-gonic/gin v1.9.1
77
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0
88
github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22
9-
github.com/pingcap/tidb-operator/pkg/apis v1.6.0-beta.1
10-
github.com/pingcap/tidb-operator/pkg/client v0.0.0-00010101000000-000000000000
9+
github.com/pingcap/tidb-operator/pkg/apis v1.6.0
10+
github.com/pingcap/tidb-operator/pkg/client v1.6.0
1111
go.uber.org/zap v1.23.0
1212
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4
1313
google.golang.org/grpc v1.59.0

deploy/aliyun/manifests/db-monitor.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
# requests:
4747
# cpu: 50m
4848
# memory: 64Mi
49-
version: v7.5.1
49+
version: v8.1.0
5050
kubePrometheusURL: ""
5151
nodeSelector: {}
5252
persistent: true

deploy/aliyun/manifests/db.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ spec:
109109
timezone: UTC
110110
tlsCluster:
111111
enabled: false
112-
version: v7.5.1
112+
version: v8.1.0

deploy/aliyun/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ variable "bastion_cpu_core_count" {
1010

1111
variable "operator_version" {
1212
type = string
13-
default = "v1.6.0-beta.1"
13+
default = "v1.6.0"
1414
}
1515

1616
variable "operator_helm_values" {
@@ -36,7 +36,7 @@ variable "cluster_name" {
3636

3737
variable "tidb_version" {
3838
description = "TiDB cluster version"
39-
default = "v7.5.1"
39+
default = "v8.1.0"
4040
}
4141
variable "tidb_cluster_chart_version" {
4242
description = "tidb-cluster chart version"

deploy/aws/manifests/db-monitor.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
# requests:
4545
# cpu: 50m
4646
# memory: 64Mi
47-
version: v7.5.1
47+
version: v8.1.0
4848
kubePrometheusURL: ""
4949
nodeSelector: {}
5050
persistent: true

deploy/aws/manifests/db.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ spec:
109109
timezone: UTC
110110
tlsCluster:
111111
enabled: false
112-
version: v7.5.1
112+
version: v8.1.0

deploy/aws/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variable "eks_version" {
1919

2020
variable "operator_version" {
2121
description = "TiDB operator version"
22-
default = "v1.6.0-beta.1"
22+
default = "v1.6.0"
2323
}
2424

2525
variable "operator_values" {
@@ -80,7 +80,7 @@ variable "bastion_instance_type" {
8080

8181
# For aws tutorials compatiablity
8282
variable "default_cluster_version" {
83-
default = "v7.5.1"
83+
default = "v8.1.0"
8484
}
8585

8686
variable "default_cluster_pd_count" {

deploy/gcp/manifests/db-monitor.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
# requests:
4545
# cpu: 50m
4646
# memory: 64Mi
47-
version: v7.5.1
47+
version: v8.1.0
4848
kubePrometheusURL: ""
4949
nodeSelector: {}
5050
persistent: true

deploy/gcp/manifests/db.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
helper:
77
image: busybox:1.34.1
8-
version: v7.5.1
8+
version: v8.1.0
99
timezone: UTC
1010
pvReclaimPolicy: Retain
1111
schedulerName: tidb-scheduler

deploy/gcp/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ variable "node_locations" {
2424

2525
variable "tidb_version" {
2626
description = "TiDB version"
27-
default = "v7.5.1"
27+
default = "v8.1.0"
2828
}
2929

3030
variable "tidb_operator_version" {
31-
default = "v1.6.0-beta.1"
31+
default = "v1.6.0"
3232
}
3333

3434
variable "tidb_operator_chart_version" {

deploy/modules/aliyun/tidb-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ variable "image_id" {
1212

1313
variable "tidb_version" {
1414
description = "TiDB cluster version"
15-
default = "v7.5.1"
15+
default = "v8.1.0"
1616
}
1717

1818
variable "tidb_cluster_chart_version" {

deploy/modules/aws/tidb-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variable "cluster_name" {
1919

2020
variable "cluster_version" {
2121
type = string
22-
default = "v7.5.1"
22+
default = "v8.1.0"
2323
}
2424

2525
variable "ssh_key_name" {

deploy/modules/gcp/tidb-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variable "tidb_operator_id" {
99
variable "cluster_name" {}
1010
variable "cluster_version" {
1111
description = "The TiDB cluster version"
12-
default = "v7.5.1"
12+
default = "v8.1.0"
1313
}
1414
variable "tidb_cluster_chart_version" {
1515
description = "The TiDB cluster chart version"

deploy/modules/share/tidb-cluster-release/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variable "cluster_name" {
2020

2121
variable "cluster_version" {
2222
type = string
23-
default = "v7.5.1"
23+
default = "v8.1.0"
2424
}
2525

2626
variable "pd_count" {

examples/advanced-statefulset/tidb-cluster-scaled.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
tikv.tidb.pingcap.com/delete-slots: '[1]'
66
name: asts
77
spec:
8-
version: v7.5.1
8+
version: v8.1.0
99
timezone: UTC
1010
pvReclaimPolicy: Retain
1111
enableDynamicConfiguration: true

examples/advanced-statefulset/tidb-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: TidbCluster
33
metadata:
44
name: asts
55
spec:
6-
version: v7.5.1
6+
version: v8.1.0
77
timezone: UTC
88
pvReclaimPolicy: Retain
99
enableDynamicConfiguration: true

examples/advanced/tidb-cluster.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
#######################
1111

1212
## TiDB cluster version
13-
version: "v7.5.1"
13+
version: "v8.1.0"
1414

1515
## Time zone of TiDB cluster Pods
1616
timezone: UTC
@@ -218,7 +218,7 @@ spec:
218218
#############################
219219

220220
## The following block overwrites TiDB cluster-level configurations in `spec`
221-
# version: "v7.5.1"
221+
# version: "v8.1.0"
222222
# imagePullPolicy: IfNotPresent
223223
# imagePullSecrets:
224224
# - name: secretName
@@ -408,7 +408,7 @@ spec:
408408
###############################
409409

410410
## The following block overwrites TiDB cluster-level configurations in `spec`
411-
# version: "v7.5.1"
411+
# version: "v8.1.0"
412412
# imagePullPolicy: IfNotPresent
413413
# imagePullSecrets:
414414
# - name: secretName
@@ -619,7 +619,7 @@ spec:
619619
###############################
620620

621621
## The following block overwrites TiDB cluster-level configurations in `spec`
622-
# version: "v7.5.1"
622+
# version: "v8.1.0"
623623
# imagePullPolicy: IfNotPresent
624624
# imagePullSecrets:
625625
# - name: secretName
@@ -803,7 +803,7 @@ spec:
803803
## Ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/deploy-tidb-binlog/#deploy-pump
804804
# pump:
805805
# baseImage: pingcap/tidb-binlog
806-
# version: "v7.5.1"
806+
# version: "v8.1.0"
807807
# replicas: 1
808808
# storageClassName: local-storage
809809
# requests:
@@ -848,7 +848,7 @@ spec:
848848
## Ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/deploy-ticdc/
849849
# ticdc:
850850
# baseImage: pingcap/ticdc
851-
# version: "v7.5.1"
851+
# version: "v8.1.0"
852852
# replicas: 3
853853
# storageClassName: local-storage
854854
# requests:
@@ -897,7 +897,7 @@ spec:
897897
# # Basic TiFlash Configuration #
898898
# ###############################
899899
# baseImage: pingcap/tiflash
900-
# version: "v7.5.1"
900+
# version: "v8.1.0"
901901
# replicas: 1
902902
# # limits:
903903
# # cpu: 2000m

examples/advanced/tidb-monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ spec:
377377
## ImagePullPolicy of initializer.
378378
# imagePullPolicy: IfNotPresent
379379
## Initializer version.
380-
version: v7.5.1
380+
version: v8.1.0
381381

382382
## Describes the compute resource requirements and limits of initializer.
383383
## Ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

examples/aks/tidb-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: TidbCluster
33
metadata:
44
name: basic
55
spec:
6-
version: v7.5.1
6+
version: v8.1.0
77
timezone: UTC
88
configUpdateStrategy: RollingUpdate
99
pvReclaimPolicy: Retain

examples/aks/tidb-monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
initializer:
3030
baseImage: pingcap/tidb-monitor-initializer
3131
imagePullPolicy: IfNotPresent
32-
version: v7.5.1
32+
version: v8.1.0
3333
kubePrometheusURL: ""
3434
persistent: true
3535
prometheus:

examples/auto-scale/tidb-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: TidbCluster
33
metadata:
44
name: auto-scaling-demo
55
spec:
6-
version: v7.5.1
6+
version: v8.1.0
77
timezone: UTC
88
pvReclaimPolicy: Retain
99
enableDynamicConfiguration: true

examples/auto-scale/tidb-monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
version: 7.5.11
1414
initializer:
1515
baseImage: pingcap/tidb-monitor-initializer
16-
version: v7.5.1
16+
version: v8.1.0
1717
reloader:
1818
baseImage: pingcap/tidb-monitor-reloader
1919
version: v1.0.1

examples/aws/tidb-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: TidbCluster
33
metadata:
44
name: basic
55
spec:
6-
version: v7.5.1
6+
version: v8.1.0
77
timezone: UTC
88
configUpdateStrategy: RollingUpdate
99
pvReclaimPolicy: Retain

examples/aws/tidb-monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
initializer:
3333
baseImage: pingcap/tidb-monitor-initializer
3434
imagePullPolicy: IfNotPresent
35-
version: v7.5.1
35+
version: v8.1.0
3636
kubePrometheusURL: ""
3737
persistent: true
3838
prometheus:

examples/basic-cn/tidb-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: TidbCluster
66
metadata:
77
name: basic
88
spec:
9-
version: v7.5.1
9+
version: v8.1.0
1010
timezone: UTC
1111
pvReclaimPolicy: Retain
1212
enableDynamicConfiguration: true

examples/basic-cn/tidb-monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
version: 7.5.11
1414
initializer:
1515
baseImage: uhub.service.ucloud.cn/pingcap/tidb-monitor-initializer
16-
version: v7.5.1
16+
version: v8.1.0
1717
reloader:
1818
baseImage: uhub.service.ucloud.cn/pingcap/tidb-monitor-reloader
1919
version: v1.0.1

examples/basic-random-password/tidb-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: TidbCluster
66
metadata:
77
name: basic
88
spec:
9-
version: v7.5.1
9+
version: v8.1.0
1010
timezone: UTC
1111
pvReclaimPolicy: Retain
1212
enableDynamicConfiguration: true

0 commit comments

Comments
 (0)