Skip to content

Commit

Permalink
Mongo Standalone added
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
  • Loading branch information
ArnobKumarSaha committed Nov 4, 2022
1 parent 2cb61c2 commit 991eeb9
Show file tree
Hide file tree
Showing 9 changed files with 549 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Check links
run: |
liche -r docs -d $(pwd) -c 10 -p -h -l -x '^(.*github.com.*|.*api.slack.com.*|.*twitter.com.*|.*linode.com.*|.*helm.sh.*|.*k8s.io.*|.*percona.com.*|.*kubernetes.io.*|.*search-guard.com.*|.*hub.docker.com.*|.*appscode.com.*|.*mongodb.com.*|.*community.arm.com.*|.*cluster.com.*|.*proxysql.com.*)$'
liche -r docs -d $(pwd) -c 10 -p -h -l -x '^(.*github.com.*|.*api.slack.com.*|.*twitter.com.*|.*linode.com.*|.*helm.sh.*|.*k8s.io.*|.*percona.com.*|.*kubernetes.io.*|.*search-guard.com.*|.*hub.docker.com.*|.*appscode.com.*|.*mongodb.com.*|.*community.arm.com.*|.*cluster.com.*|.*proxysql.com.*|.*stackoverflow.com.*|.*redis.io.*)$'
- name: Create Kubernetes cluster
id: kind
Expand Down
19 changes: 19 additions & 0 deletions docs/examples/mongodb/clustering/standalone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: kubedb.com/v1alpha2
kind: MongoDB
metadata:
name: mg-alone
namespace: demo
spec:
version: "4.2.3"
podTemplate:
spec:
resources:
requests:
cpu: "300m"
memory: "400Mi"
storage:
resources:
requests:
storage: 500Mi
storageClassName: standard
terminationPolicy: WipeOut
2 changes: 1 addition & 1 deletion docs/guides/mongodb/clustering/replicaset.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
```

```bash
$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/examples/mongodb/clustering/demo-1.yaml
$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/examples/mongodb/clustering/replicaset.yaml
mongodb.kubedb.com/mgo-replicaset created
```

Expand Down
Loading

0 comments on commit 991eeb9

Please sign in to comment.