Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mongodb replicaset doc #253

Merged
merged 5 commits into from
Aug 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/examples/mongodb/clustering/demo-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: kubedb.com/v1alpha1
kind: MongoDB
metadata:
name: mgo-replicaset
namespace: demo
spec:
version: "3.6"
replicas: 3
replicaSet:
name: rs0
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
10 changes: 10 additions & 0 deletions docs/guides/mongodb/clustering/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: MongoDB Clustering
menu:
docs_0.8.0:
identifier: mg-clustering-mongodb
name: Clustering
parent: mg-mongodb-guides
weight: 17
menu_name: docs_0.8.0
---
Loading