Skip to content

Commit

Permalink
bump TiDB Operator to 1.6.0 and TiDB to 8.1.0 (#5641)
Browse files Browse the repository at this point in the history
  • Loading branch information
csuzhangxc authored May 24, 2024
1 parent e2d06e6 commit 486cc85
Show file tree
Hide file tree
Showing 88 changed files with 124 additions and 143 deletions.
2 changes: 1 addition & 1 deletion charts/br-federation/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rbac:
# timezone is the default system timzone
timezone: UTC

image: pingcap/br-federation-manager:v1.6.0-beta.1
image: pingcap/br-federation-manager:v1.6.0
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-drainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ timezone: UTC

# clusterName is the TiDB cluster name that should backup from or restore to.
clusterName: demo
clusterVersion: v7.5.1
clusterVersion: v8.1.0

baseImage: pingcap/tidb-binlog
imagePullPolicy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-lightning/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# timezone is the default system timzone
timezone: UTC

image: pingcap/tidb-lightning:v7.5.1
image: pingcap/tidb-lightning:v8.1.0
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

Expand Down
17 changes: 7 additions & 10 deletions charts/tidb-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,39 @@ rbac:
timezone: UTC

# operatorImage is TiDB Operator image
operatorImage: pingcap/tidb-operator:v1.6.0-beta.1
operatorImage: pingcap/tidb-operator:v1.6.0
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

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

#
# Enable or disable tidb-operator features:
#
# StableScheduling (default: true)
# Enable stable scheduling of tidb servers.
#
# AdvancedStatefulSet (default: false)
# If enabled, tidb-operator will use AdvancedStatefulSet to manage pods
# instead of Kubernetes StatefulSet.
# It's ok to turn it on if this feature is not enabled. However it's not ok
# to turn it off when the tidb-operator already uses AdvancedStatefulSet to
# manage pods. This is in alpha phase.
# manage pods. This is in GA phase.
# Ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/advanced-statefulset
#
# VolumeModifying (default false)
# If enabled, tidb-operator support to increase the size or performance of volumes
# for specific volume provisioner.
# for specific volume provisioner. This is in GA phase for AWS EBS.
#
# VolumeReplacing (default false)
# If enabled, tidb-operator support generic volume changes (size, storageclass & number of volumes)
# by deleting old pod + pvc completely and replacing with new pods/PVCs.
# pd, tikv, tidb supported. If enabled, takes precedence over volume resizing & modifying.
# This works by deleting pod+volumes one at a time (similar to scale-in), and recreating it.
# For PD & TiKV this will first create one new spare replica to take the load before deleting existing ones
# Safely deleting a volume and replacing them can take a long time (Especially TiKV to move regions)
# Safely deleting a volume and replacing them can take a long time (Especially TiKV to move regions).
# This is in Alpha phase.
#
features: []
# - AdvancedStatefulSet=false
# - StableScheduling=true
# - AutoScaling=false
# - VolumeModifying=false
# - VolumeReplacing=false

Expand Down
4 changes: 2 additions & 2 deletions cmd/http-service/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require (
github.com/gin-gonic/gin v1.9.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0
github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22
github.com/pingcap/tidb-operator/pkg/apis v1.6.0-beta.1
github.com/pingcap/tidb-operator/pkg/client v0.0.0-00010101000000-000000000000
github.com/pingcap/tidb-operator/pkg/apis v1.6.0
github.com/pingcap/tidb-operator/pkg/client v1.6.0
go.uber.org/zap v1.23.0
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4
google.golang.org/grpc v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/manifests/db-monitor.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v7.5.1
version: v8.1.0
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/manifests/db.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ spec:
timezone: UTC
tlsCluster:
enabled: false
version: v7.5.1
version: v8.1.0
4 changes: 2 additions & 2 deletions deploy/aliyun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ variable "bastion_cpu_core_count" {

variable "operator_version" {
type = string
default = "v1.6.0-beta.1"
default = "v1.6.0"
}

variable "operator_helm_values" {
Expand All @@ -36,7 +36,7 @@ variable "cluster_name" {

variable "tidb_version" {
description = "TiDB cluster version"
default = "v7.5.1"
default = "v8.1.0"
}
variable "tidb_cluster_chart_version" {
description = "tidb-cluster chart version"
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/manifests/db-monitor.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v7.5.1
version: v8.1.0
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/manifests/db.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ spec:
timezone: UTC
tlsCluster:
enabled: false
version: v7.5.1
version: v8.1.0
4 changes: 2 additions & 2 deletions deploy/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "eks_version" {

variable "operator_version" {
description = "TiDB operator version"
default = "v1.6.0-beta.1"
default = "v1.6.0"
}

variable "operator_values" {
Expand Down Expand Up @@ -80,7 +80,7 @@ variable "bastion_instance_type" {

# For aws tutorials compatiablity
variable "default_cluster_version" {
default = "v7.5.1"
default = "v8.1.0"
}

variable "default_cluster_pd_count" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/manifests/db-monitor.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v7.5.1
version: v8.1.0
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/manifests/db.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
helper:
image: busybox:1.34.1
version: v7.5.1
version: v8.1.0
timezone: UTC
pvReclaimPolicy: Retain
schedulerName: tidb-scheduler
Expand Down
4 changes: 2 additions & 2 deletions deploy/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ variable "node_locations" {

variable "tidb_version" {
description = "TiDB version"
default = "v7.5.1"
default = "v8.1.0"
}

variable "tidb_operator_version" {
default = "v1.6.0-beta.1"
default = "v1.6.0"
}

variable "tidb_operator_chart_version" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aliyun/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "image_id" {

variable "tidb_version" {
description = "TiDB cluster version"
default = "v7.5.1"
default = "v8.1.0"
}

variable "tidb_cluster_chart_version" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aws/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "cluster_name" {

variable "cluster_version" {
type = string
default = "v7.5.1"
default = "v8.1.0"
}

variable "ssh_key_name" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/gcp/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variable "tidb_operator_id" {
variable "cluster_name" {}
variable "cluster_version" {
description = "The TiDB cluster version"
default = "v7.5.1"
default = "v8.1.0"
}
variable "tidb_cluster_chart_version" {
description = "The TiDB cluster chart version"
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/share/tidb-cluster-release/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "cluster_name" {

variable "cluster_version" {
type = string
default = "v7.5.1"
default = "v8.1.0"
}

variable "pd_count" {
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-statefulset/tidb-cluster-scaled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
tikv.tidb.pingcap.com/delete-slots: '[1]'
name: asts
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-statefulset/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: asts
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
14 changes: 7 additions & 7 deletions examples/advanced/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
#######################

## TiDB cluster version
version: "v7.5.1"
version: "v8.1.0"

## Time zone of TiDB cluster Pods
timezone: UTC
Expand Down Expand Up @@ -218,7 +218,7 @@ spec:
#############################

## The following block overwrites TiDB cluster-level configurations in `spec`
# version: "v7.5.1"
# version: "v8.1.0"
# imagePullPolicy: IfNotPresent
# imagePullSecrets:
# - name: secretName
Expand Down Expand Up @@ -408,7 +408,7 @@ spec:
###############################

## The following block overwrites TiDB cluster-level configurations in `spec`
# version: "v7.5.1"
# version: "v8.1.0"
# imagePullPolicy: IfNotPresent
# imagePullSecrets:
# - name: secretName
Expand Down Expand Up @@ -619,7 +619,7 @@ spec:
###############################

## The following block overwrites TiDB cluster-level configurations in `spec`
# version: "v7.5.1"
# version: "v8.1.0"
# imagePullPolicy: IfNotPresent
# imagePullSecrets:
# - name: secretName
Expand Down Expand Up @@ -803,7 +803,7 @@ spec:
## Ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/deploy-tidb-binlog/#deploy-pump
# pump:
# baseImage: pingcap/tidb-binlog
# version: "v7.5.1"
# version: "v8.1.0"
# replicas: 1
# storageClassName: local-storage
# requests:
Expand Down Expand Up @@ -848,7 +848,7 @@ spec:
## Ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/deploy-ticdc/
# ticdc:
# baseImage: pingcap/ticdc
# version: "v7.5.1"
# version: "v8.1.0"
# replicas: 3
# storageClassName: local-storage
# requests:
Expand Down Expand Up @@ -897,7 +897,7 @@ spec:
# # Basic TiFlash Configuration #
# ###############################
# baseImage: pingcap/tiflash
# version: "v7.5.1"
# version: "v8.1.0"
# replicas: 1
# # limits:
# # cpu: 2000m
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec:
## ImagePullPolicy of initializer.
# imagePullPolicy: IfNotPresent
## Initializer version.
version: v7.5.1
version: v8.1.0

## Describes the compute resource requirements and limits of initializer.
## Ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
Expand Down
2 changes: 1 addition & 1 deletion examples/aks/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
configUpdateStrategy: RollingUpdate
pvReclaimPolicy: Retain
Expand Down
2 changes: 1 addition & 1 deletion examples/aks/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
initializer:
baseImage: pingcap/tidb-monitor-initializer
imagePullPolicy: IfNotPresent
version: v7.5.1
version: v8.1.0
kubePrometheusURL: ""
persistent: true
prometheus:
Expand Down
2 changes: 1 addition & 1 deletion examples/auto-scale/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: auto-scaling-demo
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/auto-scale/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 7.5.11
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v7.5.1
version: v8.1.0
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
configUpdateStrategy: RollingUpdate
pvReclaimPolicy: Retain
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
initializer:
baseImage: pingcap/tidb-monitor-initializer
imagePullPolicy: IfNotPresent
version: v7.5.1
version: v8.1.0
kubePrometheusURL: ""
persistent: true
prometheus:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-cn/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-cn/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 7.5.11
initializer:
baseImage: uhub.service.ucloud.cn/pingcap/tidb-monitor-initializer
version: v7.5.1
version: v8.1.0
reloader:
baseImage: uhub.service.ucloud.cn/pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-random-password/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v7.5.1
version: v8.1.0
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
Loading

0 comments on commit 486cc85

Please sign in to comment.