Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump tidb cluster version to v4.0.6 (#3266) #3274

Merged
merged 1 commit into from Sep 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions charts/tidb-cluster/values.yaml
Expand Up @@ -108,7 +108,7 @@ pd:
# annotations: {} "<the default name will be used>"
# portName: "client"
replicas: 3
image: pingcap/pd:v4.0.4
image: pingcap/pd:v4.0.6
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
# different classes might map to quality-of-service levels, or to backup policies,
# or to arbitrary policies determined by the cluster administrators.
Expand Down Expand Up @@ -255,7 +255,7 @@ tikv:
# we can only set capacity in tikv.resources.limits.storage.

replicas: 3
image: pingcap/tikv:v4.0.4
image: pingcap/tikv:v4.0.6
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
# different classes might map to quality-of-service levels, or to backup policies,
# or to arbitrary policies determined by the cluster administrators.
Expand Down Expand Up @@ -352,7 +352,7 @@ tidb:
# initSqlConfigMapName: tidb-initsql
# initSql: |-
# create database app;
image: pingcap/tidb:v4.0.4
image: pingcap/tidb:v4.0.6
# Image pull policy.
imagePullPolicy: IfNotPresent

Expand Down Expand Up @@ -506,7 +506,7 @@ monitor:
storageClassName: local-storage
storage: 10Gi
initializer:
image: pingcap/tidb-monitor-initializer:v4.0.4
image: pingcap/tidb-monitor-initializer:v4.0.6
imagePullPolicy: IfNotPresent
config:
K8S_PROMETHEUS_URL: http://prometheus-k8s.monitoring.svc:9090
Expand Down Expand Up @@ -592,7 +592,7 @@ binlog:
pump:
create: false
replicas: 1
image: pingcap/tidb-binlog:v4.0.4
image: pingcap/tidb-binlog:v4.0.6
imagePullPolicy: IfNotPresent
logLevel: info
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
Expand Down Expand Up @@ -661,7 +661,7 @@ binlog:

drainer:
create: false
image: pingcap/tidb-binlog:v4.0.4
image: pingcap/tidb-binlog:v4.0.6
imagePullPolicy: IfNotPresent
logLevel: info
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
Expand Down Expand Up @@ -826,7 +826,7 @@ scheduledBackup:

importer:
create: false
image: pingcap/tidb-lightning:v4.0.4
image: pingcap/tidb-lightning:v4.0.6
imagePullPolicy: IfNotPresent
storageClassName: local-storage
storage: 200Gi
Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-drainer/values.yaml
Expand Up @@ -12,7 +12,7 @@ timezone: UTC

# clusterName is the TiDB cluster name that should backup from or restore to.
clusterName: demo
clusterVersion: v4.0.4
clusterVersion: v4.0.6

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

image: pingcap/tidb-lightning:v4.0.4
image: pingcap/tidb-lightning:v4.0.6
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

Expand Down
2 changes: 1 addition & 1 deletion charts/tikv-importer/values.yaml
Expand Up @@ -8,7 +8,7 @@ timezone: UTC
# clusterName is the TiDB cluster name, if not specified, the chart release name will be used
clusterName: demo

image: pingcap/tidb-lightning:v4.0.4
image: pingcap/tidb-lightning:v4.0.6
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/manifests/db-monitor.yaml.example
Expand Up @@ -46,7 +46,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v4.0.4
version: v4.0.6
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/manifests/db.yaml.example
Expand Up @@ -109,4 +109,4 @@ spec:
timezone: UTC
tlsCluster:
enabled: false
version: v4.0.4
version: v4.0.6
2 changes: 1 addition & 1 deletion deploy/aliyun/variables.tf
Expand Up @@ -36,7 +36,7 @@ variable "cluster_name" {

variable "tidb_version" {
description = "TiDB cluster version"
default = "v4.0.4"
default = "v4.0.6"
}
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
Expand Up @@ -44,7 +44,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v4.0.4
version: v4.0.6
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/manifests/db.yaml.example
Expand Up @@ -109,4 +109,4 @@ spec:
timezone: UTC
tlsCluster:
enabled: false
version: v4.0.4
version: v4.0.6
2 changes: 1 addition & 1 deletion deploy/aws/variables.tf
Expand Up @@ -80,7 +80,7 @@ variable "bastion_instance_type" {

# For aws tutorials compatiablity
variable "default_cluster_version" {
default = "v4.0.4"
default = "v4.0.6"
}

variable "default_cluster_pd_count" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/manifests/db-monitor.yaml.example
Expand Up @@ -44,7 +44,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v4.0.4
version: v4.0.6
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/manifests/db.yaml.example
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: CLUSTER_NAME
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Retain
schedulerName: tidb-scheduler
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/variables.tf
Expand Up @@ -24,7 +24,7 @@ variable "node_locations" {

variable "tidb_version" {
description = "TiDB version"
default = "v4.0.4"
default = "v4.0.6"
}

variable "tidb_operator_version" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aliyun/tidb-cluster/variables.tf
Expand Up @@ -12,7 +12,7 @@ variable "image_id" {

variable "tidb_version" {
description = "TiDB cluster version"
default = "v4.0.4"
default = "v4.0.6"
}

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

variable "cluster_version" {
type = string
default = "v4.0.4"
default = "v4.0.6"
}

variable "ssh_key_name" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/gcp/tidb-cluster/variables.tf
Expand Up @@ -9,7 +9,7 @@ variable "tidb_operator_id" {
variable "cluster_name" {}
variable "cluster_version" {
description = "The TiDB cluster version"
default = "v4.0.4"
default = "v4.0.6"
}
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
Expand Up @@ -20,7 +20,7 @@ variable "cluster_name" {

variable "cluster_version" {
type = string
default = "v4.0.4"
default = "v4.0.6"
}

variable "pd_count" {
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-statefulset/tidb-cluster-scaled.yaml
Expand Up @@ -5,7 +5,7 @@ metadata:
tikv.tidb.pingcap.com/delete-slots: '[1]'
name: asts
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
pd:
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-statefulset/tidb-cluster.yaml
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: asts
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
pd:
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/tidb-cluster.yaml
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
# ** Basic Configuration **
# TiDB cluster version
version: "v4.0.4"
version: "v4.0.6"

# Time zone of TiDB cluster Pods
timezone: UTC
Expand Down
2 changes: 1 addition & 1 deletion examples/auto-scale/tidb-cluster.yaml
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: auto-scaling-demo
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
pd:
Expand Down
2 changes: 1 addition & 1 deletion examples/auto-scale/tidb-monitor.yaml
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.4
version: v4.0.6
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/tidb-cluster.yaml
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
configUpdateStrategy: RollingUpdate
pvReclaimPolicy: Retain
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/tidb-monitor.yaml
Expand Up @@ -30,7 +30,7 @@ spec:
initializer:
baseImage: pingcap/tidb-monitor-initializer
imagePullPolicy: IfNotPresent
version: v4.0.4
version: v4.0.6
kubePrometheusURL: ""
persistent: true
prometheus:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-cn/tidb-cluster.yaml
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
discovery: {}
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-cn/tidb-monitor.yaml
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-initializer
version: v4.0.4
version: v4.0.6
reloader:
baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/tidb-cluster.yaml
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
discovery: {}
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/tidb-monitor.yaml
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.4
version: v4.0.6
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp/tidb-cluster.yaml
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
configUpdateStrategy: RollingUpdate
pvReclaimPolicy: Retain
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp/tidb-monitor.yaml
Expand Up @@ -30,7 +30,7 @@ spec:
initializer:
baseImage: pingcap/tidb-monitor-initializer
imagePullPolicy: IfNotPresent
version: v4.0.4
version: v4.0.6
kubePrometheusURL: ""
persistent: true
prometheus:
Expand Down
2 changes: 1 addition & 1 deletion examples/heterogeneous/heterogeneous-cluster.yaml
Expand Up @@ -7,7 +7,7 @@ metadata:
name: heterogeneous
spec:
configUpdateStrategy: RollingUpdate
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
discovery: {}
Expand Down
2 changes: 1 addition & 1 deletion examples/heterogeneous/tidb-cluster.yaml
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
imagePullPolicy: IfNotPresent
Expand Down
21 changes: 21 additions & 0 deletions examples/heterogeneous/tidb-monitor.yaml
@@ -0,0 +1,21 @@
apiVersion: pingcap.com/v1alpha1
kind: TidbMonitor
metadata:
name: heterogeneous
spec:
clusters:
- name: basic
- name: heterogeneous
prometheus:
baseImage: prom/prometheus
version: v2.11.1
grafana:
baseImage: grafana/grafana
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.6
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
imagePullPolicy: IfNotPresent
2 changes: 1 addition & 1 deletion examples/initialize/tidb-cluster.yaml
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: initialize-demo
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
pd:
Expand Down
2 changes: 1 addition & 1 deletion examples/monitor-with-externalConfigMap/tidb-monitor.yaml
Expand Up @@ -23,7 +23,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.4
version: v4.0.6
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/selfsigned-tls/tidb-cluster.yaml
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: tls
spec:
version: v4.0.4
version: v4.0.6
timezone: UTC
pvReclaimPolicy: Delete
pd:
Expand Down
2 changes: 1 addition & 1 deletion examples/tiflash/tidb-cluster.yaml
Expand Up @@ -70,4 +70,4 @@ spec:
storage: 10Gi
storageClassName: local-storage
timezone: UTC
version: v4.0.4
version: v4.0.6
2 changes: 1 addition & 1 deletion examples/tiflash/tidb-monitor.yaml
Expand Up @@ -15,7 +15,7 @@ spec:
type: NodePort
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.4
version: v4.0.6
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down