Comments (5)
There is a PR for adding ephemeral storage and cleaning up the section in their CRD pravega/zookeeper-operator#215. But the other functionality is already there.
from solr-operator.
I think we need an overhaul of the storage settings.
Something that looks like:
Spec:
storage:
storageType: <ephemeral,persistent>
persistence:
pvcSpec: <PVCSpec object>
reclaimPolicy: <Reclaim,Delete>
ephemeral:
emptyDirVolumeSource: <EmptyDirVolumeSource object>
This is very similar (if not exactly the same as) the options soon to be in the Zookeeper Operator. Maybe we rename to dataStorage just to make sure that it's separate from the backupRestoreVolume stuff. Or maybe that moves into this section? Definitely some options to think about.
from solr-operator.
@sepulworld This is definitely a feature we need to add.
Unless I'm misunderstanding, I am pretty sure that the reclaimPolicy is a feature of the PersistentVolume, not the PVC. It says if the PV is unmapped from the PVC, what should happen to it. The only way that the solr operator could use this is for users to specify that they want a certain reclaim policy for their PVs by specifying it in the storageClass parameter of their pvcSpec.
What we need to do is delete PVCs after the statefulSet has been deleted. This would require using the finalizers much like the Zookeeper Operator does. I think following their lead would be good here. I think this is also an opportunity to refactor how we want the spec to look for this. Since we will have to create a new persistence
option (or another name) that the pvcSpec
and deletionPolicy
will live under. We can make this backwards compatible at least for a minor version. But we will have to move things around eventually.
from solr-operator.
from solr-operator.
@swarupdonepudi was looking into this. We have to manually or script the cleanup of PVCs presently. Would be sweet to build in some of this automation into solr-operator. Is there an open PR with zk-operator for something new?
from solr-operator.
Related Issues (20)
- Delegate ZK Chroot initialization to Solr HOT 2
- Issue installing crd HOT 7
- Adding ObservedGeneration in the CRD
- Getting unauthorized requests for cluster/replicas/balance in v0.8.0 HOT 2
- The SolrPrometheusExporter should detect whether to use a basicAuth secret HOT 2
- Add option to also log to a file
- Release for new solr-operator with latest ZooKeeper dependency HOT 1
- Prometheus exporter high memory usage HOT 6
- security.json reset with bootstrap by init container setup-zk on zookeeper errors
- Adding support to dynamic value in values.yaml HOT 2
- /var/solr/data with incorrect ownership : Pod not able to write HOT 5
- Ability to mount an existing pvc to solr cloud pods for persistence. HOT 1
- prometheus-exporter started throwing different errors after upgrading solr operator to 0.7.0 HOT 5
- Uninstalling solr helm chart without uninstalling Zookeeper HOT 3
- AppVersion vs Image.tag HOT 1
- Ability to set custom hostname for SolrCloud HOT 2
- SolrCloud Pod moved to new Node - Replica Migration pending HOT 8
- Run solr-operator and solr helm chart on openshift get error "would violate PodSecurity "restricted:v1.24"" HOT 6
- Issue with basic auth HOT 2
- Operator never deletes ingress or per-node services
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 solr-operator.