Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Oct 14, 2018
1 parent 4c6798e commit 4741a31
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 19 deletions.
32 changes: 19 additions & 13 deletions docs/concepts/databases/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions docs/guides/mongodb/configuration/using-CRD-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions docs/guides/mysql/configuration/using-CRD-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 4741a31

Please sign in to comment.