TiDB Operator 1.0 Beta.2 Release Notes

    TiDB Operator version: 1.0.0-beta.2

    • Refactored e2e test
    • Added stability test, 7x24 running
    • One-command deployment for AWS, Aliyun
    • Minikube deployment for testing
    • Tkctl cli tool
    • Refactor backup chart for ease use
    • Refine initializer job
    • Grafana monitor dashboard improved, support multi-version
    • Improved user guide
    • Contributing documentation
    • Fix PD start script, add join file when startup
    • Fix TiKV failover take too long
    • Fix PD ha when replcias is less than 3
    • Fix a tidb-scheduler acquireLock bug and emit event when scheduled failed
    • Fix scheduler ha bug with defer deleting pods
    • Fix a bug when using shareinformer without deepcopy
    • Remove pushgateway from TiKV pod
    • Add GitHub templates for issue reporting and PR
    • Automatically set the scheduler K8s version
    • Switch to go module
    • Support slow log of TiDB

    Detailed Bug Fixes and Changes

    • Don’t initialize when there is no tidb.password ()
    • Fix join script (#285)
    • Document tool setup and e2e test detail in ()
    • Update setup.md (#281)
    • Support slow log tailing sidcar for TiDB instance ()
    • Flexible tidb initializer job with secret set outside of helm (#286)
    • Ensure SLOW_LOG_FILE env variable is always set ()
    • Fix setup document description (#300)
    • Refactor backup ()
    • Abandon vendor and refresh go.sum (#311)
    • Set the SLOW_LOG_FILE in the startup script ()
    • Automatically set the scheduler K8s version (#313)
    • TiDB stability test main function ()
    • Add fault-trigger server (#312)
    • Add ad-hoc backup and restore function ()
    • Add scale & upgrade case functions (#309)
    • Log dump when test failed ()
    • Add fault-trigger client (#326)
    • Monitor checker ()
    • Add blockWriter case for inserting data (#321)
    • Add scheduled-backup test case ()
    • Port ddl test as a workload (#328)
    • Use fault-trigger at e2e tests and add some log ()
    • Add binlog deploy and check process (#329)
    • Fix e2e can not make ()
    • Multi TiDB cluster testing (#334)
    • Fix backup test bugs ()
    • Delete blockWrite.go and use instead (#333)
    • Remove vendor ()
    • Add more checks for scale & upgrade (#327)
    • Support more fault injection ()
    • Rewrite e2e (#346)
    • Add failover test ()
    • Fix HA when the number of replicas are less than 3 (#351)
    • Add fault-trigger service file ()
    • Fix dind doc (#352)
    • Add additionalPrintColumns for TidbCluster CRD ()
    • Refactor stability main function (#363)
    • Enable admin privilege for prom ()
    • Update README.md with new info (#365)
    • Build CLI ()
    • Add extraLabels variable in tidb-cluster chart (#373)
    • Fix TiKV failover ()
    • Separate and ensure setup before e2e-build (#375)
    • Fix and lock related dependencies ()
    • Add sst-file-corruption case (#382)
    • Use release name as default clusterName ()
    • Add util class to support adding annotations to Grafana (#378)
    • Use Grafana provisioning to replace dashboard installer ()
    • Ensure test env is ready before cases running (#386)
    • Remove monitor config job check ()
    • Update local-pv documentation (#383)
    • Update Jenkins links in README.md ()
    • Fix e2e workflow in (#392)
    • Support running stability test out of cluster ()
    • Update TiDB secret docs and charts (#398)
    • Enable blockWriter write pressure in stability test ()
    • Support debug and ctop commands in CLI (#387)
    • Marketplace update ()
    • Add fault inject for kube proxy (#384)
    • Use ioutil.TempDir() create charts and operator repo’s directories ()
    • Improve workflow in docs/google-kubernetes-tutorial.md (#400)
    • Support plugin start argument for TiDB instance ()
    • Replace govet with official vet tool (#416)
    • Allocate 24 PVs by default (after 2 clusters are scaled to ()
    • Refine stability (#422)
    • Record event as grafana annotation in stability test ()
    • Add GitHub templates for issue reporting and PR (#420)
    • Add TiDBUpgrading func ()
    • Fix operator chart issue (#419)
    • Fix stability issues ()
    • Change cert generate method and add pd and kv prestop webhook (#406)
    • A tidb-scheduler bug fix and emit event when scheduled failed ()
    • Shell completion for tkctl (#431)
    • Delete an duplicate import ()
    • Add etcd and kube-apiserver faults (#367)
    • Fix TiDB Slack link ()
    • Fix scheduler ha bug (#443)
    • Add terraform script to auto deploy TiDB cluster on AWS ()
    • Add instructions to access Grafana in GKE tutorial (#448)
    • Fix label selector ()
    • No need to set ClusterIP when syncing headless service (#432)
    • Document how to deploy TiDB cluster with tidb-operator in minikube ()
    • Add slack notify (#439)
    • Fix local dind env ()
    • Add terraform scripts to support alibaba cloud ACK deployment (#436)
    • Fix backup data compare logic ()
    • Async emit annotations (#438)
    • Use TiDB v2.1.8 by default & remove pushgateway ()
    • Fix a bug that uses shareinformer without copy (#462)
    • Add version command for tkctl ()
    • Add tkctl user manual (#452)
    • Fix binlog problem on large scale ()
    • kubernetes.io/hostname label to PVs (#464)
    • AWS EKS tutorial change to new terraform script ()
    • Update documentation of minikube installation (#471)
    • Update documentation of DinD installation ()
    • Add instructions to access Grafana (#476)
    • Support-multi-version-dashboard ()
    • Update Aliyun deploy docs after testing (#474)
    • GKE local SSD size warning ()
    • Update roadmap (#376)