Giter Site home page Giter Site logo

kubernetes customization about apacheds-docker HOT 4 CLOSED

ome avatar ome commented on July 16, 2024
kubernetes customization

from apacheds-docker.

Comments (4)

joshmoore avatar joshmoore commented on July 16, 2024

@boocup : can you tell us what's not working? This is an example deployment that we've worked with: https://github.com/openmicroscopy/apacheds-k8s-app/blob/d0ec1d476221ef039c6d7bbe57c6e62201036093/k8s/deployment.yml#L24

from apacheds-docker.

boocup avatar boocup commented on July 16, 2024

I was trying to mimic the docker customization [ https://hub.docker.com/r/openmicroscopy/apacheds scroll down]which spins up the container and initializes it with a custom config.ldif perfectly. When I used the k8s yaml above, or variations, it looks like the config.ldif isn't picked up...

'/bootstrap/cache' -> '/var/lib/apacheds/myLDAP/cache'
'/bootstrap/conf' -> '/var/lib/apacheds/myLDAP/conf'
'/bootstrap/log' -> '/var/lib/apacheds/myLDAP/log'
'/bootstrap/ome.ldif' -> '/var/lib/apacheds/myLDAP/ome.ldif'
'/bootstrap/partitions' -> '/var/lib/apacheds/myLDAP/partitions'
'/bootstrap/run' -> '/var/lib/apacheds/myLDAP/run'
'/bootstrap/stagroup.ldif' -> '/var/lib/apacheds/myLDAP/stagroup.ldif'
changed ownership of '/var/lib/apacheds/myLDAP/stagroup.ldif' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/partitions' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/ome.ldif' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/conf' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/run' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/cache' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/log' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP' from root:root to apacheds:apacheds
Starting ApacheDS - myLDAP...
FATAL | wrapper | Unable to resolve the full path of the configuration file, /var/lib/apacheds/myLDAP/conf/wrapper-instance.conf: No such file or directory
cat: /var/lib/apacheds/myLDAP/run/apacheds-myLDAP.pid: No such file or directory

...I will checkout the example you kindly shared; I thought I tried something similar, but I'll give it a go. I was kind of headed down that similar track again anyway after posting.

Thanks and all the best!

from apacheds-docker.

joshmoore avatar joshmoore commented on July 16, 2024

No problem. Let us know how it goes.

from apacheds-docker.

boocup avatar boocup commented on July 16, 2024

worked great! Thanks!

from apacheds-docker.

Related Issues (14)

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.