You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "brickpattern (via GitHub)" <gi...@apache.org> on 2023/12/11 17:01:59 UTC

[I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

brickpattern opened a new issue, #665:
URL: https://github.com/apache/solr-operator/issues/665

   hi - this is more of a general Q. 
   
    I installed Solrcloud with these options to use a ZK-operator installed seperately. 
   --set zookeeper-operator.install=false --set zookeeper-operator.use=true
   
   On  "helm uninstall solr" ... the ZK pods created using solrcloud say solr-solrcloud-zookeeper-0/1/2  gets deleted as well. 
   
   Is there a way to retain the ZK pods created as part of solrcloud  and  just remove the solr pods? 
   
   If not , is there an alternative to decouple of the ZK from SolrCloud from helm perspective?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

Posted by "brickpattern (via GitHub)" <gi...@apache.org>.
brickpattern commented on issue #665:
URL: https://github.com/apache/solr-operator/issues/665#issuecomment-1855083694

   If i had started with inbuilt ZK, would the above approach of specifying  zk.address  for a standalone ZK  will still work? 
   
   I would like to retain the data in the solrCloud when cutting over to new ZK.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman commented on issue #665:
URL: https://github.com/apache/solr-operator/issues/665#issuecomment-1852406673

   So if you deploy Solr using the "provided" zookeeper, then it will be managed in tandem with your SolrCloud. If you want the Zookeeper Cluster's lifecycle to be independent of the Solr lifecycle, you will need to manage it separately.
   
   I would recommend in that case to use the Bitnami Zookeeper Helm chart rather than the Zookeeper Operator's offering.
   https://artifacthub.io/packages/helm/bitnami/zookeeper
   
   You would install that by itself, and then find the Zookeeper connection String.
   Then in the Solr helm values file, you would use that as the "zk.address" option (and not provide any "zk.provided.*" option).
   See the solr helm chart's options for more details: https://artifacthub.io/packages/helm/apache-solr/solr#zk-options


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

Posted by "VitalijusDBentley (via GitHub)" <gi...@apache.org>.
VitalijusDBentley commented on issue #665:
URL: https://github.com/apache/solr-operator/issues/665#issuecomment-2504303062

   My plan(not-tested):
   1. Release SolrCloud and ZookeeperCluster with helm annotation that will prevent deletion during uninstall of the chart. [docs](https://helm.sh/docs/howto/charts_tips_and_tricks/#tell-helm-not-to-uninstall-a-resource)
   2. I'm hoping this will uninstall operators without affecting Solr or Zookeeper.
   3. Remove HELP ownership labels.
   4. Release separate charts.
   
   Any flaws? Or maybe it will not work for some reason :) I will let you know when I will need to do this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy closed issue #665: Uninstalling solr helm chart without uninstalling Zookeeper 
URL: https://github.com/apache/solr-operator/issues/665


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy commented on issue #665:
URL: https://github.com/apache/solr-operator/issues/665#issuecomment-1855340703

   You could call the BACKUP API in order to backup the content from Zookeeper, then RESTORE once you have the new cluster and ZK installed. Or you can find one of the Zookeeper commandline utilities out there (search for it) which will let you backup/restore the content of ZK.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Uninstalling solr helm chart without uninstalling Zookeeper [solr-operator]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy commented on issue #665:
URL: https://github.com/apache/solr-operator/issues/665#issuecomment-4004632909

   Answer provided, closing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org