Git Product home page Git Product logo

Comments (4)

brandond avatar brandond commented on July 3, 2024

The install script doesn't validate the flags, it just writes them to the systemd unit. Having the install script do flag validation would significantly increase the complexity; I don't think it's a big ask to have to look at the logs to see what's wrong. It is not even really possible to validate ALL the flags, some are passed through directly to various Kubernetes components, which will raise their own errors if the flags are wrong.

from k3s.

ammirator-administrator avatar ammirator-administrator commented on July 3, 2024

Thanks for your answer
Yes is not hard to validate the flags manually

The problem is mainly that if you pass a wrong flag then you have to uninstall k3s and start from zero
A bit time consuming
Isn't there a way at least when Systemd starts the k3s.service to let k3s to display some message that something is wrong or not

Because the current behaviour is or it hangs or Systemd shows a general error and you have to search thru internet to understand what is wrong, doing systemctl status k3s also doesn't help there is just the exit code 1 or just displays a general text (Failed)

Not a big one, but can be a improvement for future

from k3s.

brandond avatar brandond commented on July 3, 2024

The problem is mainly that if you pass a wrong flag then you have to uninstall k3s and start from zero

No you don't? You can just re-run the installer with the correct flags, or edit the systemd unit manually and reload/restart it.

from k3s.

ammirator-administrator avatar ammirator-administrator commented on July 3, 2024

ok, Thanks
Didn't know about this possibility
Thanks for your time

from k3s.

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.