Skip to content

Commit

Permalink
Changed Mysql Operator's description and added logos
Browse files Browse the repository at this point in the history
  • Loading branch information
vasiioandre authored and AMecea committed Mar 22, 2019
1 parent f3adca1 commit 286c250
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions docs/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Getting started
title: MySQL Operator
linktitle: Getting started with MySQL operator
description: How to setup a cluster with MySQL operator
description: The MySQL Kubernetes Operator manages all the necessary resources for deploying and managing a highly available MySQL cluster.
categories: [mysql operator]
keywords: [mysql operator, cluster, getting-started]
menu:
Expand All @@ -13,6 +13,8 @@ aliases: []
toc: true
related: true
layout: project
logo: mysql_operator
syntax: golang
---

Deploying and using the MySQL operator requires for it to have access to a Kubernetes cluster and to
Expand Down Expand Up @@ -64,7 +66,7 @@ data:
# root password is required to be specified
ROOT_PASSWORD: bm90LXNvLXNlY3VyZQ==
```
#### Note
#### Note
`ROOT_PASSWORD` must be base64 encoded.

Now, to create a cluster you need just a simple YAML file that defines it. An example can be found
Expand All @@ -82,7 +84,7 @@ spec:
secretName: my-secret
```

To deploy the cluster, run:
To deploy the cluster, run:

```shell
kubectl apply -f example-cluster-secret.yaml
Expand Down Expand Up @@ -142,7 +144,7 @@ data:
# S3_ENDPOINT:
```

Then run this command:
Then run this command:

```yaml
apiVersion: v1
Expand All @@ -151,11 +153,11 @@ metadata:
name: my-cluster-backup-secret
type: Opaque
data:
GCS_SERVICE_ACCOUNT_JSON_KEY: #
GCS_SERVICE_ACCOUNT_JSON_KEY: #
GCS_PROJECT_ID: #
```

Then run this command:
Then run this command:

```shell
kubectl apply -f example-backup-secret.yaml
Expand All @@ -180,7 +182,7 @@ spec:
Run the following command:

```shell
kubectl apply -f example-backup.yaml
kubectl apply -f example-backup.yaml
```

You need to specify the `backupBucketUri` for the corresponding cluster to an URI like
Expand All @@ -199,7 +201,7 @@ spec:
backupUri: gs://pl-test-mysql-operator/
```

Then run the following command:
Then run the following command:

```shell
kubectl apply -f example-cluster.yaml
Expand Down

0 comments on commit 286c250

Please sign in to comment.