Giter Club home page Giter Club logo

sftp-server's Issues

Health-Metrics for sftp-server

In production, 2 problems regarding the health-status of the sftp-server go unnoticed.
The sftp-server suddenly stops receiving files regularly, or they are not picked up anymore regularly.
We discussed in #9808 if a mechanism is needed to track if timeouts are happening on either side.

Imo, incoming senders should monitor their own file-pushing, i.e. add the sftp-server as a pingexporter-target. (CGW/rpg already allow this option).
But would a check if files are piling up on the server make sense, or should that be monitored on the outgoing containers as well (ipsec/BGP on CGW)?

Add a license

Don't want to commit to using this till there's a license. If you could add one that would be great

Subdirectories in user-jail don't contain correct permissions.

When pushing to the sftp server as a user to subdirectories, they are not allowed to push anything by default.
Although sftp-server-pods have a long lifetime, they sometimes need to be manually "prepared" - making them non-stateless - like so:

/ # mkdir home/<user>/<subdirectory1>
/ # mkdir home/<user>/<subdirectory1>/<subdirectory2>
...
/ # chown -R roamcontrol:100 home/<user>/<subdirectory1>/

I suggest a mechanism that sets up the FS through containerscripting like above. The chart currently carries a KV sftpConfig.username so how about a range for sftpConfig.userdirectories?
e.g.:

sftpConfig:
   username: sftp
   userdirectories:
   - subdirectory1/subdirectory2
   - subdirectory3

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.