Git Product home page Git Product logo

Comments (9)

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Hey @meskallito thanks for the input. We can definitely look at adding these things, they seem reasonable to me at a first-glance.

We are no longer blocked on #38 , so if you are interested in creating a PR with one or more of these added, we will be happy to look over and review it! And hopefully eventually we get all of these features added.

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Spec.customSolrKubeOptions.podOptions and Spec.customSolrKubeOptions.statefulSetOptions have been added.

This allows for custom:

  • Security Context
  • Volumes
  • Annotations on statefulSets/pods

What we still need:

  • Service annotations
  • Setting policy name on collections.

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Service annotations have been added in Spec.customSolrKubeOptions.commonServiceOptions, Spec.customSolrKubeOptions.headlessServiceOptions and Spec.customSolrKubeOptions.nodeServiceOptions.

Last request is setting the policy name on a collection.

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Since the SolrCollection CRD has been removed, this issue can be closed. All features on the SolrCloud CRD have been added.

from solr-operator.

pareekdevanshu avatar pareekdevanshu commented on July 3, 2024

@HoustonPutman I was looking for an option to set securityContext for solr-cloud containers but couldnt find any option in the SolrCloud CRD to do that. I only see option to set securityContext for sidecarContainers and initContainers.
Am I missing something?

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

You can set the podSecurityContext through customSolrKubeOptions.podOptions.podSecurityContext

from solr-operator.

pareekdevanshu avatar pareekdevanshu commented on July 3, 2024

@HoustonPutman Thanks for the reply, I wanted to drop all capabilities in security context which can be done using securityContext :

securityContext:
  capabilities:
    drop:
      - ALL
     

can you please tell me how can we achieve the same using customSolrKubeOptions.podOptions.podSecurityContext?
I couldnt find a way to mention the capabilities in podSecurityContext.

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Ahh it looks like you can only set capabilities on the container security context. If you make a separate issue we can try to get that added.

from solr-operator.

pareekdevanshu avatar pareekdevanshu commented on July 3, 2024

thanks, created this issue #489

from solr-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.