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

Example for Kanister integration with MongoDB 4.0.12 #274

Merged
merged 2 commits into from
Sep 13, 2019

Conversation

PrasadG193
Copy link
Contributor

@PrasadG193 PrasadG193 commented Sep 10, 2019

Change Overview

This PR adds an example to demonstrate the integration of Kanister with the MongoDB deployment (https://github.com/helm/charts/tree/master/stable/mongodb) to protect the data.

Pull request type

Please check the type of change your PR introduces:

  • Work in Progress
  • Refactoring (no functional changes, no api changes)
  • Trival/Minor
  • Bugfix
  • Feature
  • Documentation

Issues

  • #XXX

Test Plan

  • Manual
  • Unit test
  • E2E

name: "my-release-mongodb-primary"
kind: StatefulSet
replicas: 0
- func: ScaleWorkload
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QQ: do we need to scale down the arbiters?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. As per my observation, when we modify data in primary and secondary mongo replicas while doing the restore, arbiter can't elect primary replica among them. So we need to recreate the pod

Copy link
Contributor

@tdmanv tdmanv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@PrasadG193 PrasadG193 force-pushed the mongoha-example branch 2 times, most recently from 11330d2 to 21e6faf Compare September 11, 2019 13:30
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
@tdmanv tdmanv merged commit 9d29b50 into kanisterio:master Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants