-
Notifications
You must be signed in to change notification settings - Fork 522
Release Operator v0.6.0 #441
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
52226c4
CLOUDP-87698: perform check for readiness probe init container alread…
chatton 8806da7
Merge branch 'master' into CLOUDP-87698_fix_readiness_probe_upgrade_i…
chatton 8c18ba9
Merge branch 'master' into CLOUDP-87698_fix_readiness_probe_upgrade_i…
chatton 4a3c93e
Merge branch 'master' into CLOUDP-87698_fix_readiness_probe_upgrade_i…
chatton 65d5c61
Merge branch 'master' into CLOUDP-87698_fix_readiness_probe_upgrade_i…
chatton ad98a7d
Merge branch 'master' into CLOUDP-87698_fix_readiness_probe_upgrade_i…
chatton ac35593
Updated release notes
chatton 0de8d9b
removed uneccessary colon
chatton 3ee349e
Updated release notes, added not to main README
chatton e45b8ff
reverted local change
chatton d402ad1
updated release notes and how to release.md
chatton 35d7373
fixed create_github_release script
chatton 149c123
added newline
chatton 95e0a5d
merge master
chatton e187adf
Release Operator v6.0.0
chatton 03fd25d
CLOUDP-88204: create release
chatton e2332fa
merged master
chatton 02e7d7e
updated openshift example
chatton 573f270
updated release notes
chatton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # MongoDB Kubernetes Operator 0.6.0 | ||
| ## Kubernetes Operator | ||
|
|
||
| * Breaking Changes | ||
| * A new VolumeClaimTemplate has been added `logs-volume`. When you deploy the operator, if there is an existing StatefulSet the operator will attempt to perform an invalid update. The existing StatefulSet must be deleted before upgrading the operator. | ||
|
|
||
| * The user of the mongod and mongodb-agent containers has changed. This means that there will be permissions | ||
| issues when upgrading from an earlier version of the operator. In order to update the permissions in the volume, you can use an init container. | ||
|
|
||
| * Upgrade instructions | ||
|
|
||
| Remove the current operator deployment | ||
| - `kubectl delete deployment <operator-deployment>` | ||
| Delete the existing StatefulSet for the MongoDBCommunity resource | ||
| Note: to ensure existing data is not lost, ensure that the retain policy of your Persistent Volumes is configured correctly. | ||
| - `kubectl delete statefulset <mdb-resource-name>` | ||
| Install the new operator | ||
| - follow the regular [installation instruction](https://github.com/mongodb/mongodb-kubernetes-operator/blob/master/docs/install-upgrade.md) | ||
| Patch the StatefulSet once it has been created. This will add an init container that will update the permissions of the existing volume. | ||
| - `kubectl patch statefulset <sts-name> --type='json' --patch '[ {"op":"add","path":"/spec/template/spec/initContainers/-", "value": { "name": "change-data-dir-permissions", "image": "busybox", "command": [ "chown", "-R", "2000", "/data" ], "securityContext": { "runAsNonRoot": false, "runAsUser": 0, "runAsGroup":0 }, "volumeMounts": [ { "mountPath": "/data", "name" : "data-volume" } ] } } ]'` | ||
|
|
||
| * Bug fixes | ||
| * Fixes an issue that prevented the agents from reaching goal state when upgrading minor version of MongoDB. | ||
|
|
||
| ## Updated Image Tags | ||
| * mongodb-kubernetes-operator:0.6.0 | ||
| * mongodb-agent:0.29.0.6830-1 | ||
| * mongodb-kubernetes-readinessprobe:1.0.3 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think we should mention here how to verify this since it's a crucial step.