sbbagal13 commented on issue #593:
URL: https://github.com/apache/solr-operator/issues/593#issuecomment-1656422604

   Thanks @HoustonPutman - I am using MINIO as storage.. I just found this 
[Solr 
website](https://solr.apache.org/guide/8_11/making-and-restoring-backups.html)  
   **You can use the s3.endpoint option to use this BackupRepository with 
s3-compatible endpoints. Beware that not all s3-compatible endpoints will work 
with the S3BackupRepository. Minio is an example of an s3-compatible endpoint 
that does not work with the S3BackupRepository. The S3BackupRepository is only 
guaranteed to be compatible with AWS S3 and S3Mock.**
   Is this valid with Solr-operator ? 
   
   Here are both the YAMLs
   **SOLRCLOUD**
   
   `apiVersion: solr.apache.org/v1beta1
   kind: SolrCloud
   metadata:
     name: cstone-solr2
   spec:
     dataStorage:
       persistent:
         reclaimPolicy: Retain
         pvcTemplate:
           spec:
             resources:
               requests:
                 storage: "20Gi"
     replicas: 3
     solrImage:
       repository: myregistry/images/solr
       tag: 8.11.1
       imagePullSecret: "default-gitlab-registry"
       pullPolicy: "Always"
   
     solrJavaMem: "-Xms1g -Xmx3g"
     customSolrKubeOptions:
       podOptions:
         livenessProbe:
           initialDelaySeconds: 20
           timeoutSeconds: 50
           periodSeconds: 10
           successThreshold: 1
           failureThreshold: 3
         readinessProbe:
           initialDelaySeconds: 20
           timeoutSeconds: 50
           periodSeconds: 10
           successThreshold: 1
           failureThreshold: 3
   
         podSecurityContext: {}
         #  runAsUser: 1000890000
         resources:
           limits:
             memory: "8G"
           requests:
             cpu: "500m"
             memory: "4G"
     zookeeperRef:
       provided:
         persistence:
           reclaimPolicy: "Retain"
           spec:
             resources:
               requests:
                 storage: "20Gi"
   
     solrOpts: "-Dsolr.autoSoftCommit.maxTime=10000"
     solrGCTune: "-XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 
-XX:MaxTenuringThreshold=8"
     backupRepositories:
       - name: "s3-backups-1"
         s3:
           region: "us-east-1" # Required
           bucket: "cstonebackup" # Required
           credentials:
             accessKeyIdSecret: # Optional
               name: minio-cstonedfs
               key: AWS_ACCESS_KEY_ID
             secretAccessKeySecret: # Optional
               name: minio-cstonedfs
               key: AWS_SECRET_ACCESS_KEY
           endpoint: "http://minio-endpoint-URL:80"; # `
           
           **BACKUP** 
           
           `apiVersion: solr.apache.org/v1beta1
   kind: SolrBackup
   metadata:
     name: solr-backup
   spec:
     repositoryName: "s3-backups-1"
     solrCloud: cstone-solr2
     location: "cstone-solr2"`


-- 
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-unsubscr...@solr.apache.org

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


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

Reply via email to