Project: KubeBlocks by ApeCloud (App Definition and Development / Database)
File: v0.2.0.md

sidebar_label: v0.2.0 We're happy to announce the release of KubeBlocks 0.2.0! We would like to extend our thanks to all the new and existing contributors who helped make this release happen. Highlights Support EXPERIMENTAL clickhouse, etcd and mongodb Automatic pod container environment variables: KBPODNAME - Pod Name KB_NAMESPACE - Namespace KBSANAME - Service Account Name KB_NODENAME - Node Name KB_HOSTIP - Host IP address KB_PODIP - Pod IP address KB_PODIPS - Pod IP addresses KBCLUSTERNAME - KubeBlocks Cluster API object name KBCOMPNAME - Running pod's KubeBlocks Cluster API object's `.spec.components.name` KBCLUSTERCOMP_NAME - Running pod's KubeBlocks Cluster API object's `<.metadata.name>-<.spec.components.name>`, same name is used for Deployment or StatefulSet workload name, and Service object name ClusterDefinition API support following automatic variable names: under `.spec.connectionCredential`: random 8 characters `$(RANDOM_PASSWD)` placeholder, self reference map object `$(CONN_CREDENTIAL)[.<map key>])` example usage: ```yaml spec: connectionCredential: username: "admin-password" password: "$(RANDOM_PASSWD)" "$(CONNCREDENTIAL).username": "$(CONNCREDENTIAL).password" spec: connectionCredential: username: "admin-password" password: "<some random 8 characters password>" "admin-password": "<value of above password>" ``` Connection credential secret name place holder `$(CONNCREDENTIALSECRET_NAME)` CLI support `list-logs-type` and `logs` command to access cluster logs CLI support to list ops If you're new to KubeBlocks, visit the page and familiarize yourself with KubeBlocks. Thanks to everyone who made this release possible! @ahjing99, @dengshaojiang, @free6om, @heng4fun, @iziang, @JashBook, @ldming, @michelle-0808, @nashtsai, @TalktoCrystal, @wangyelei, @xuriwuyun, @yangmeilly, @yimeisun, @ZhaoDiankui support probe (, @xuriwuyun) support BestEffortLocal traffic policy (, @iziang) support cluster list-logs-type and logs cmd to access cluster logs (, @yangmeilly) using listen/watch instead of timing reconcile in ClusterController and OpsRequestController (, @wangyelei) probe improvement (, @xuriwuyun) have service and endpoint controller with concurrent reconciling (, @iziang) add label selector filter for service (, @iziang) upgrade kubeblocks wesql version to

(, @ZhaoDiankui) set cluster default termination policy to delete (, @ldming) support ops command with list/delete (, @wangyelei) upgrade grafana version (, @JashBook) rename dbctl dbaas subcommand to kubeblocks (, @ldming) make test in minikube (, @JashBook) dbctl cluster list enhancement (, @ldming) running&status probe support (, @xuriwuyun) clickhouse provider (, @nashtsai) rename dbctl to kbcli (, @ldming) cli support table printer and refactor layout, rename phase to status (, @ldming) create cluster require to specify cluster definition and version, auto-completion resource name (, @ldming) etcd & mongodb provider (, @free6om) dev container start failed when without minikube (, @heng4fun) remove helm login (, @ldming) only push tag trigger release (, @ldming) only start node manager on leader (, @iziang) delete pods when previous pods ready (, @free6om) describe error when cluster is updating (, @ldming) kubeblocks default version of wesql is 8.0.30 (, @ZhaoDiankui) update helm repo if exists to avoid install failure (, @ldming) cluster phase is incorrect when vertical scaling cluster and can not delete opsRequest when phase is Running (, @wangyelei) ops request deletion failed in succeed status and create cluster required terminationPolicy (, @wangyelei) when set AllowVolumeExpansion to true in EBS storageClass, the created cluster still does not support volume expansion (, @wangyelei) create cluster require to specify the termination policy (, @ldming) support CheckErr to handle unexpected error (, @ldming) patch annotation instead of delete event (, @free6om) the ops cannot be deleted and webhook message is incorrect (, @wangyelei) fix describe format and support to display default storage class (, @ldming) event_controller unit test failed (, @free6om) panic when handling role changed event (, @free6om) when the cluster executed patch resources requests > limits, cluster is unavailable (, @wangyelei) for cluster status updating (, @xuriwuyun) update cluster controller tests for role changed event processing (, @xuriwuyun) update probe rolecheck timeout (, @xuriwuyun) update role abserve (, @xuriwuyun) role probe timeout problem #842 (, @xuriwuyun) fix intermittent error when make test (, @wangyelei) fix #278 rename wesql appversion.name, fix #279 rename wesql cd.name (, @ZhaoDiankui) rename wesql appversion.name, fix #279 (, @ZhaoDiankui) Support/consensus associated test cases (, @free6om) cli support generic delete logic (, @ldming) upgrade gh api (, @JashBook) add concurrent reconciles for dataprotection (, @dengshaojiang) support to generate release notes (, @ldming) CI add tag to stale issues (, @ahjing99) rename main helm chart directory to helm (, @yimeisun) optimize output after dbaas install (, @yimeisun) probe improvement (, @xuriwuyun) consensus role label update (, @free6om) check PR title (, @JashBook) speed up dbctl cluster list (, @ldming) add user docs (, @TalktoCrystal) Create user_doc.yml (, @ahjing99) change check branch name location (, @JashBook) enable WeSQL role changed probe (, @ldming) update WeSQL helm version (, @ldming) add-user-docs (, @michelle-0808) have no ST1006 (Poorly chosen receiver name) staticcheck removed (, @nashtsai) follow staticcheck ST1003 (, @iziang) update old wesql image (, @ldming) wesql cluster helm chart is back (, @ldming) upgrade wesql version (, @JashBook) add test case for dbctl and fix playground guide (, @ldming) adjust ci checkout (, @JashBook) update wesql chart version to 0.1.5 (, @ldming) fix ci install setup-envtest fail (, @JashBook) fix misspelling of words (, @JashBook) adjust the note that contains the subject (, @JashBook) add helm install/validate before uploading (, @JashBook) None.