TiDB Operator 1.1 Beta.1 Release Notes
TiDB Operator version: 1.1.0-beta.1
-
For the
tidb-cluster
chart, we already have thetimezone
option (UTC
by default). If the user does not change it to a different value (for example:Aisa/Shanghai
), all Pods will not be recreated.Regarding other charts, we don’t have a
timezone
option in theirvalues.yaml
. We add thetimezone
option in this PR. No matter whether the user uses the oldvalues.yaml
or the newvalues.yaml
, all the related Pods (add aTZ
env) will not be recreated (rolling update).All images’ time zone maintained by
tidb-operator
isUTC
. If you use your own images, you need to make sure that the time zone inside your images isUTC
.
Other Notable Changes
- Support backup to S3 with (#1280, )
- Add basic defaulting and validating for
TidbCluster
(#1429, ) - Support scaling in/out with deleted slots feature of advanced StatefulSets (#1361, )
- Support initializing the TiDB cluster with TidbInitializer Custom Resource (#1403, )
- Refine the configuration schema of PD/TiKV/TiDB (#1411, )
- Set the default name of the instance label key for
tidbcluster
-owned resources to the cluster name (#1419, ) - Extend the custom resource
TidbCluster
to support managing the Pump cluster (#1269, ) - Fix the default TiKV-importer configuration (#1415, )
- Expose ephemeral-storage in resource configuration (#1398, )
- Add e2e case of operating tidb-cluster without helm (#1396, )
- Expose terraform Aliyun ACK version and specify the default version to ‘1.14.8-aliyun.1’ (#1284, )
- Refine error messages for the scheduler (#1373, )
- Bind the cluster-role
system:kube-scheduler
to the service accounttidb-scheduler
(#1355, ) - Add a new CRD TidbInitializer (#1391, )
- Upgrade the default backup image to pingcap/tidb-cloud-backup:20191217 and facilitate the
-r
option (#1360, ) - Fix Docker ulimit configuring for the latest EKS AMI (#1349, )
- Support sync pump status to tidb-cluster (#1292, )
- Support automatically creating and reconciling the tidb-discovery-service for
tidb-controller-manager
(#1322, ) - Make backup and restore more universal and secure (#1276, )
- Manage PD and TiKV configurations in the
TidbCluster
resource (#1330, ) - Support managing the configuration of tidb-server in the
TidbCluster
resource (#1291, ) - Add schema for configuration of TiKV (#1306, )
- Wait for the TiDB
host:port
to be opened before processing to initialize TiDB to speed up TiDB initialization (#1296, ) - Remove DinD related scripts (#1283, )
- Allow retrieving credentials from metadata on AWS and GCP (#1248, )
- Add the privilege to operate configmap for tidb-controller-manager (#1275, )
- Manage TiDB service in tidb-controller-manager (#1242, )
- Support the cluster-level setting for components (#1193, )
- Get the time string from the current time instead of the Pod name (#1229, )
- Fix the Google terraform module
use_ip_aliases
error (#1206, ) - Upgrade the default TiDB version to v3.0.5 (#1179, )
- Upgrade the base system of Docker images to the latest stable (#1178, )
tkctl get TiKV
now can show store state for each TiKV Pod (#916, )- Add an option to monitor across namespaces (#907, )
- Add the
STOREID
column to show the store ID for each TiKV Pod intkctl get TiKV
(#842, ) - Users can designate permitting host in chart values.tidb.permitHost (#779, )
- Add the zone label and reserved resources arguments to kubelet (#871, )
- Fix an issue that kubeconfig may be destroyed in the apply phrase (#861, )
- Support canary release for the TiKV component (#869, )
- Make the latest charts compatible with the old controller manager (#856, )
- Add the basic support of TLS encrypted connections in the TiDB cluster (#750, )
- Support tidb-operator to spec nodeSelector, affinity and tolerations (#855, )
- Support configuring resources requests and limits for all containers of the TiDB cluster (#853, )
- Support using Kind (Kubernetes IN Docker) to set up a testing environment (#791, )
- Support ad-hoc data source to be restored with the tidb-lightning chart (#827, )
- Add the
tikvGCLifeTime
option (#835, ) - Update the default backup image to pingcap/tidb-cloud-backup:20190828 (#846, )
- Fix the Pump/Drainer data directory to avoid potential data loss (#826, )
- Fix the issue that ouputs nothing with the
-oyaml
or-ojson
flag and support viewing details of a specific Pod or PV, also improve the output of thetkctl get
command (#822, ) - Add recommendations options to mydumper:
-t 16 -F 64 --skip-tz-utc
(#828, ) - Support zonal and multi-zonal clusters in deploy/gcp (#809, )
- Fix ad-hoc backup when the default backup name is used (#836, )
- Add the support for tidb-lightning (#817, )
- Support restoring the TiDB cluster from a specified scheduled backup directory (#804, )
- Fix an exception in the log of
tkctl
(#797, ) - Add the
hostNetwork
field in PD/TiKV/TiDB spec to make it possible to run TiDB components in host network (#774, ) - Use mdadm and RAID rather than LVM when it is available on GKE (#789, )
- Users can now expand cloud storage PV dynamically by increasing the PVC storage size (#772, )
- Support configuring node image types for PD/TiDB/TiKV node pools (#776, )
- Add a script to delete unused disk for GKE (#771, )
- Support
binlog.pump.config
andbinlog.drainer.config
configurations for Pump and Drainer (#693, ) - Introduce a new helm chart, tidb-drainer, to facilitate multiple Drainers management (#744, )
- Add the backup-manager tool to support backing up, restoring, and cleaning backup data (#694, )
- Add
affinity
to Pump/Drainer configration (#741, ) - Fix the TiKV scaling failure in some cases after TiKV failover (#726, )
- Fix error handling for UpdateService (#718, )
- Reduce e2e run time from 60 m to 20 m (#713, )
- Add the
AdvancedStatefulset
feature to use advanced StatefulSet instead of Kubernetes builtin StatefulSet (#1108, ) - Enable auto generate certificates for the TiDB cluster (#782, )
- Support backup to gcs (#1127, )
- Support configuring
net.ipv4.tcp_keepalive_time
andnet.core.somaxconn
for TiDB and configuringnet.core.somaxconn
for TiKV (#1107, ) - Add basic e2e tests for aggregated apiserver (#1109, )
- Add the
enablePVReclaim
option to reclaim PV when tidb-operator scales in TiKV or PD (#1037, ) - Unify all S3 compliant storage to support backup and restore (#1088, )
- Set podSecuriyContext to nil by default (#1079, )
- Add tidb-apiserver in the tidb-operator chart (#1083, )
- Add new component TiDB aggregated apiserver (#1048, )
- Fix the issue that the tkctl version does not work when the release name is un-wanted (#1065, )
- Support pause for backup schedule (#1047, )
- Fix the issue that TiDB Loadbalancer is empty in terraform output (#1045, )
- Fix that the
create_tidb_cluster_release
variable in AWS terraform script does not work (#1062, ) - Enable
ConfigMapRollout
by default in the stability test (#1036, ) - Migrate to use app/v1 and do not support Kubernetes before 1.9 anymore (#1012, )
- Suspend the ReplaceUnhealthy process for AWS TiKV auto-scaling-group (#1014, )
- Change the tidb-monitor-reloader image to pingcap/tidb-monitor-reloader:v1.0.1 (#898, )
- Add some sysctl kernel parameter settings for tuning (#1016, )
- Support maximum retention time backups for backup schedule (#979, )
- Upgrade the default TiDB version to v3.0.4 (#837, )
- Fix values file customization for tidb-operator on Aliyun (#971, )
- Add the
maxFailoverCount
limit to TiKV (#965, ) - Support setting custom tidb-operator values in terraform script for AWS (#946, )
- Convert the TiKV capacity into MiB when it is not a multiple of GiB (#942, )
- Fix Drainer misconfiguration (#939, )
- Support specifying SecurityContext for PD, TiKV and TiDB Pods and enable tcp keepalive for AWS (#915, )