TiDB Operator 1.1 RC.1 Release Notes
Release date: April 1, 2020
TiDB Operator version: 1.1.0-rc.1
Action Required
--advertise-address
will be configured fortidb-server
, which would trigger rolling-upgrade for thetidb-server
component. You can setspec.paused
totrue
before upgrading tidb-operator to avoid the rolling upgrade, and set it back tofalse
when you are ready to upgrade your TiDB server (#2076, @cofyc)- Add the
tlsClient.tlsSecret
field in the backup and restore spec, which supports specifying a secret name that includes the cert (#2003, @shuijing198799) - Remove
spec.br.pd
,spec.br.ca
,spec.br.cert
,spec.br.key
and addspec.br.cluster
,spec.br.clusterNamespace
for theBackup
,Restore
andBackupSchedule
custom resources, which makes the BR configuration more reasonable (#1836, @shuijing198799)
Other Notable Changes
- Use
tidb-lightning
inRestore
instead ofloader
(#2068, @Yisaer) - Add
cert-allowed-cn
support to TiDB components (#2061, @weekface) - Fix the PD
location-labels
configuration (#1941, @aylei) - Able to pause and unpause TiDB cluster deployment via
spec.paused
(#2013, @cofyc) - Default the
max-backups
for TiDB server configuration to3
if the TiDB cluster is deployed by CR (#2045, @Yisaer) - Able to configure custom environments for components (#2052, @cofyc)
- Fix the error that
kubectl get tc
cannot show correct images (#2031, @Yisaer) - Support deploying TiDB clusters with TidbCluster and TidbMonitor CRs via Terraform on ACK (#2012, @DanielZhangQD)
- Update PDConfig for TidbCluster to PD v3.1.0 (#1928, @Yisaer)
- Support deploying TiDB clusters with TidbCluster and TidbMonitor CRs via Terraform on AWS (#2004, @DanielZhangQD)
- Update TidbConfig for TidbCluster to TiDB v3.1.0 (#1906, @Yisaer)
- Allow users to define resources for initContainers in TiDB initializer job (#1938, @tfulcrand)
- Add TLS support for Pump and Drainer (#1979, @weekface)
- Add documents and examples for auto-scaler and initializer (#1772, @Yisaer)
- Make tidb-initializer support TLS (#1931, @weekface)
- Fix the drainer installation error when
drainerName
is set (#1961, @DanielZhangQD) - Fix some TiKV configuration keys in toml (#1887, @aylei)
- Support using a remote directory as data source for tidb-lightning (#1629, @aylei)
- Add the API document and a script that generates documentation (#1945, @Yisaer)
- Add the tikv-importer chart (#1910, @shonge)
- Fix the Prometheus scrape config issue while TLS is enabled (#1919, @weekface)
- Enable TLS between TiDB components (#1870, @weekface)
- Fix the timeout error when
.Values.admission.validation.pods
istrue
during the TiKV upgrade (#1875, @Yisaer) - Enable TLS for MySQL clients (#1878, @weekface)
- Fix the bug which would cause broken TiDB image property (#1860, @Yisaer)
- TidbMonitor would use its namespace for the targetRef if it is not defined (#1834, @Yisaer)
- Support starting tidb-server with
--advertise-address
parameter (#1859, @LinuxGit) - Backup/Restore: support configuring TiKV GC life time (#1835, @LinuxGit)
- Support no secret for S3/Ceph when the OIDC authentication is used (#1817, @tirsen)
- Change the setting from the previous
admission.hookEnabled.pods
to theadmission.validation.pods
- Change the setting from the previous
admission.hookEnabled.statefulSets
to theadmission.validation.statefulSets
- Change the setting from the previous
admission.hookEnabled.validating
to theadmission.validation.pingcapResources
- Change the setting from the previous
admission.hookEnabled.defaulting
to theadmission.mutation.pingcapResources
- Change the setting from the previous
admission.failurePolicy.defaulting
to theadmission.failurePolicy.mutation
- Change the setting from the previous
admission.failurePolicy.*
to theadmission.failurePolicy.validation
(#1832, @Yisaer)
- Change the setting from the previous
- Enable TidbCluster defaulting mutation by default which is recommended when admission webhook is used (#1816, @Yisaer)
- Fix a bug that TiKV fails to start while creating the cluster using CR with cluster TLS enabled (#1808, @weekface)
- Support using prefix in remote storage during backup/restore (#1790, @DanielZhangQD)