Giter VIP home page Giter VIP logo

xrootd-k8s-operator's Issues

Xrootd Cluster should be accessible from external network

Idea 1

  • Create a top-level client-facing proxy for xrootd protocol communication. It would find and help the client connect to the correct worker using public IP DNS record.

Idea 2

  • Create Custom K8S endpoints to map worker hostnames to public IPs

Idea 3 (IDEAL)

  • Expose workers using NodePort headless service and hope the client gets the correct worker IP.

Use "set -e" in shell file

Shivansh, it seems your integration test scripts continue even if it met an error.
CI script must not continue on error, so having a 0 return code at the end of CI mean it is ok. Having a non-zero code mean it has not passed. Currently some commands crash during the CI, but the CI script returns 0, this must not occur.

I recommend you use
"set -e" so that all you shell scripts crashes on error, this is much safer.

I would also recommend to use
"set -euxo pipefail" with bash, as recommended by Google good practice, and try to stay the more possible POSIX compliant.

Here:

set -- $(ls $DIR/../tests/e2e/test-*.sh)

Could you also use a simple shell variable instead of 'set'?
TEST_SCRIPTS=$(ls $DIR/../tests/e2e/test-*.sh)
I think this look much simpler.

An finally, thanks for all your work on the xrootd-operator, this is great!

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.