TiDB Operator 1.1 RC.1 Release Notes
TiDB Operator version: 1.1.0-rc.1
- will be configured for
tidb-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, ) - Add the
tlsClient.tlsSecret
field in the backup and restore spec, which supports specifying a secret name that includes the cert (#2003, ) - Remove
spec.br.pd
,spec.br.ca
,spec.br.cert
,spec.br.key
and addspec.br.cluster
,spec.br.clusterNamespace
for theBackup
,Restore
and custom resources, which makes the BR configuration more reasonable (#1836, )
Other Notable Changes
- Use
tidb-lightning
inRestore
instead ofloader
(, @Yisaer) - Add
cert-allowed-cn
support to TiDB components (, @weekface) - Fix the PD
location-labels
configuration (, @aylei) - Able to pause and unpause TiDB cluster deployment via
spec.paused
(, @cofyc) - Default the
max-backups
for TiDB server configuration to3
if the TiDB cluster is deployed by CR (, @Yisaer) - Able to configure custom environments for components (, @cofyc)
- Fix the error that
kubectl get tc
cannot show correct images (, @Yisaer)- Default the
spec.tikv.maxFailoverCount
andspec.tidb.maxFailoverCount
to3
when they are not defined - Disable auto-failover when
maxFailoverCount
is set to0
(, @Yisaer)
- Default the
- Support deploying TiDB clusters with TidbCluster and TidbMonitor CRs via Terraform on ACK (, @DanielZhangQD)
- Update PDConfig for TidbCluster to PD v3.1.0 (, @Yisaer)
- Update TidbConfig for TidbCluster to TiDB v3.1.0 (, @Yisaer)
- Allow users to define resources for initContainers in TiDB initializer job (, @tfulcrand)
- Add TLS support for Pump and Drainer (, @weekface)
- Add documents and examples for auto-scaler and initializer (, @Yisaer)
- Add check to guarantee the NodePort won’t be changed if the serviceType of TidbMonitor is NodePort
- Add EnvVar sort to avoid the monitor rendering different results from the same TidbMonitor spec
- Fix the problem that the TidbMonitor LoadBalancer IP is not used (, @Yisaer)
- Make tidb-initializer support TLS (, @weekface)
- Fix the problem that Advanced StatefulSet cannot work with webhook
- Change the Reaction for the Down State TiKV pod during deleting request in webhook from admit to reject (, @Yisaer)
- Fix the drainer installation error when is set (, @DanielZhangQD)
- Fix some TiKV configuration keys in toml (, @aylei)
- Support using a remote directory as data source for tidb-lightning (, @aylei)
- Add the API document and a script that generates documentation (, @Yisaer)
- Add the tikv-importer chart (, @shonge)
- Fix the Prometheus scrape config issue while TLS is enabled (, @weekface)
- Fix the timeout error when
.Values.admission.validation.pods
istrue
during the TiKV upgrade (, @Yisaer) - Enable TLS for MySQL clients (, @weekface)
- Fix the bug which would cause broken TiDB image property (, @Yisaer)
- TidbMonitor would use its namespace for the targetRef if it is not defined (, @Yisaer)
- Support starting tidb-server with
--advertise-address
parameter (, @LinuxGit) - Backup/Restore: support configuring TiKV GC life time (, @LinuxGit)
- Support no secret for S3/Ceph when the OIDC authentication is used (, @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 the (, @Yisaer)
- Change the setting from the previous
- Enable TidbCluster defaulting mutation by default which is recommended when admission webhook is used (, @Yisaer)
- Fix a bug that TiKV fails to start while creating the cluster using CR with cluster TLS enabled (, @weekface)
- Support using prefix in remote storage during backup/restore (, @DanielZhangQD)