Comments (12)
Hi @Baykonur, this is going to be one of the next features we work on, so it should be coming soon, likely next week or 2.
from mongodb-kubernetes-operator.
Hi @Baykonur,
Additional configuration of the StatefulSet created by the operator is not yet supported through the CRD.
Tracking internally as CLOUDP-65312
from mongodb-kubernetes-operator.
Thanks, any indication when we can get this feature available?
from mongodb-kubernetes-operator.
Any update on this, its also a feature i require
from mongodb-kubernetes-operator.
Sorry about the auto-closing. This issue should be fixed with #118 which will be included in the next release. The PR adds the ability to add arbitrary configuration of the StatefulSet, including the storageClassName
.
from mongodb-kubernetes-operator.
Hi @Baykonur, @kaykhancheckpoint
It is now possible to modify the StorageClass name and other stateful set values via the CRD. See the PR #157 as an example.
from mongodb-kubernetes-operator.
Hello @chatton , Sorry to reopen this issue but I still can't find the storageclass name in the CRD. PFA yaml I'm using create a MongoDB instance using MongoDB community operator.
Here basically I want to use my custom storageclass to create PVC but somehow it's not taking the SC name & it's going in pending state.
example.txt
from mongodb-kubernetes-operator.
Are you trying to update the storageClassName
of an existing StatefulSet? This property cannot be changed and you should get an error that looks like
StatefulSet.apps "quick-start-rs" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
However if you are creating a fresh resource and it is still not working, I am unable to produce that locally, I was however successfully able to create a resource with the overridden storage class name.
If you are still having this issue could you please provide the operator logs and the current state of your StatefulSet (kubectl get sts <mdb-name> -o yaml
)
from mongodb-kubernetes-operator.
However if you are creating a fresh resource and it is still not working, I am unable to produce that locally, I was however successfully able to create a resource with the overridden storage class name.
When creating a new resource, how do I specify the storageclass override. I have been looking everywhere and can't find the reference.
Thanks
from mongodb-kubernetes-operator.
However if you are creating a fresh resource and it is still not working, I am unable to produce that locally, I was however successfully able to create a resource with the overridden storage class name.
When creating a new resource, how do I specify the storageclass override. I have been looking everywhere and can't find the reference.
Thanks
persistence.storageClass
from mongodb-kubernetes-operator.
However if you are creating a fresh resource and it is still not working, I am unable to produce that locally, I was however successfully able to create a resource with the overridden storage class name.
When creating a new resource, how do I specify the storageclass override. I have been looking everywhere and can't find the reference.
Thanks
persistence.storageClass
I am sorry, I am new to the operator, where does this go. Is it in the values.yaml file for the helm chart, or is this in the yaml to create the db?
from mongodb-kubernetes-operator.
I append the storageClassName in MongoDBCommunity yaml, and it is like below, but it is not working. By the way the size does work well.
statefulSet:
spec:
template:
spec:
volumeClaimTemplates:
- metadata:
name: data-volume
spec:
resources:
requests:
storage: 10Gi
- metadata:
name: logs-volume
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "azure-disk-hdd"
resources:
requests:
storage: 2Gi
from mongodb-kubernetes-operator.
Related Issues (20)
- Nonsecure prometheus HOT 2
- In the quay.io repository, there is no image of the arm architecture. HOT 8
- Create connectionString secret at another namespace
- Support for different resource request / limit for arbiters HOT 1
- can not set setParameter.authenticationMechanisms to SCRAM-SHA-1 HOT 3
- Mongodb-agent is never ready - HOT 7
- Readiness probe failed: command "/opt/scripts/readinessprobe" timed out on DB Pod when installing on Mac M1, even when using arm64 images HOT 9
- Mongodb Operator v0.8.3 crash on aarch64 k8s workers HOT 1
- Current mongo db members is 0 though >0 configured and running HOT 6
- Logging solely to stdout/stderr at the specified log level HOT 9
- It is not possible to pass unique labels and selectors on arbiter and mongo members. HOT 4
- Is it possible to pass resources limits and requests on initContainers? HOT 2
- ReplicaSet stuck in Pending phase via MongoDB Community Operator HOT 25
- How to schedule replicas and persistent volume in different availability zones HOT 6
- Steps to upgrade from 4.4 to 6.0 via 5.0? HOT 5
- Unable to connect to MongoDB (not authorized on admin to execute command) HOT 3
- Mongodb-agent container is not comming into ready state - HOT 7
- MongoDB Operator fails to identify caCertificateSecretRef HOT 2
- MongoDB 7.0 support HOT 2
- Deployment only works in the same namespace where the operator was installed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-kubernetes-operator.