diff --git a/docs/concepts/databases/mysql.md b/docs/concepts/databases/mysql.md index c65fff801..906ebe736 100644 --- a/docs/concepts/databases/mysql.md +++ b/docs/concepts/databases/mysql.md @@ -215,8 +215,10 @@ KubeDB supports taking periodic snapshots for MySQL database. This is an optiona You can also specify a template for pod of backup job through `spec.backupSchedule.podTemplate`. KubeDB will use the information you have provided in `podTemplate` to create the backup job. KubeDB accept following fields to set in `spec.backupSchedule.podTemplate`: -- annotations (pod's annotation) -- controller.annotations (job's annotation) +- metadata: + - annotations (pod's annotation) +- controller: + - annotations (job's annotation) - spec: - args - env @@ -251,8 +253,10 @@ KubeDB allows providing a template for database pod through `spec.podTemplate`. KubeDB accept following fields to set in `spec.podTemplate:` -- annotations (pod's annotation) -- controller.annotations (statefulset's annotation) +- metadata: + - annotations (pod's annotation) +- controller: + - annotations (statefulset's annotation) - spec: - args - env @@ -325,15 +329,17 @@ You can also provide a template for the services created by KubeDB operator for KubeDB allows following fields to set in `spec.serviceTemplate`: -- annotations -- type -- ports -- clusterIP -- externalIPs -- loadBalancerIP -- loadBalancerSourceRanges -- externalTrafficPolicy -- healthCheckNodePort +- metadata: + - annotations +- spec: + - type + - ports + - clusterIP + - externalIPs + - loadBalancerIP + - loadBalancerSourceRanges + - externalTrafficPolicy + - healthCheckNodePort ### spec.updateStrategy diff --git a/docs/guides/mongodb/configuration/using-CRD-configuration.md b/docs/guides/mongodb/configuration/using-CRD-configuration.md index 856115450..1cd32e08d 100644 --- a/docs/guides/mongodb/configuration/using-CRD-configuration.md +++ b/docs/guides/mongodb/configuration/using-CRD-configuration.md @@ -37,8 +37,10 @@ KubeDB allows providing a template for database pod through `spec.podTemplate`. KubeDB accept following fields to set in `spec.podTemplate:` -- annotations (pod's annotation) -- controller.annotations (statefulset's annotation) +- metadata: + - annotations (pod's annotation) +- controller: + - annotations (statefulset's annotation) - spec: - args - env diff --git a/docs/guides/mysql/configuration/using-CRD-configuration.md b/docs/guides/mysql/configuration/using-CRD-configuration.md index 774cf00d8..10c16fc4c 100644 --- a/docs/guides/mysql/configuration/using-CRD-configuration.md +++ b/docs/guides/mysql/configuration/using-CRD-configuration.md @@ -12,9 +12,9 @@ section_menu_id: guides > New to KubeDB? Please start [here](/docs/concepts/README.md). -# Configuration Using CRD +# Run MySQL with Custom Configuration -KubeDB supports providing variation configuration for MySQL through [PodTemplate](/docs/concepts/databases/mysql.md#specpodtemplate). This tutorial will show you how to use KubeDB to run a MySQL database with custom configuration using PodTemplate. +KubeDB supports providing custom configuration for MySQL through [PodTemplate](/docs/concepts/databases/mysql.md#specpodtemplate). This tutorial will show you how to use KubeDB to run a MySQL database with custom configuration using PodTemplate. ## Before You Begin @@ -37,8 +37,10 @@ KubeDB allows providing a template for database pod through `spec.podTemplate`. KubeDB accept following fields to set in `spec.podTemplate:` -- annotations (pod's annotation) -- controller.annotations (statefulset's annotation) +- metadata: + - annotations (pod's annotation) +- controller: + - annotations (statefulset's annotation) - spec: - env - resources