Giter Club home page Giter Club logo

Comments (9)

alexellis avatar alexellis commented on May 20, 2024

Also little off-topic but what's the point of having --namespace parameter if you don't allow anything but 'default'?

See the following upstream issue: helm/charts#17909 🤷‍♂

The chart is working anyway from what I can see.

Interesting that the ExternalIP/Hostname parameters are not being picked up. If you have a suggestion or want to send a PR, your contribution would be welcomed.

from k3sup.

jeka avatar jeka commented on May 20, 2024

It's no wonder that parameters are not picked up correctly. That's how helm's --set works.

The proper way (according to https://helm.sh/docs/using_helm/#the-format-and-limitations-of-set) of passing these parameters should be:

overrides["args"] = `{--kubelet-insecure-tls,--kubelet-preferred-address-types=InternalIP\,ExternalIP\,Hostname}`

(escaping commas in value with backslash)

from k3sup.

alexellis avatar alexellis commented on May 20, 2024

PRs are welcome. Would you like to take it?

from k3sup.

jeka avatar jeka commented on May 20, 2024

I have almost zero experience with Go. I am even unable to build a freshly cloned repo. I am getting some errors which mean nothing to me. For example:

jeka/k3sup/main.go:28:20: cannot use cmdInstall (type *"github.com/alexellis/k3sup/vendor/github.com/spf13/cobra".Command) as type *"github.com/jeka/k3sup/vendor/github.com/spf13/cobra".Command in argument to rootCmd.AddCommand
jeka/k3sup/main.go:29:20: cannot use cmdVersion (type *"github.com/alexellis/k3sup/vendor/github.com/spf13/cobra".Command) as type *"github.com/jeka/k3sup/vendor/github.com/spf13/cobra".Command in argument to rootCmd.AddCommand
jeka/k3sup/main.go:30:20: cannot use cmdJoin (type *"github.com/alexellis/k3sup/vendor/github.com/spf13/cobra".Command) as type *"github.com/jeka/k3sup/vendor/github.com/spf13/cobra".Command in argument to rootCmd.AddCommand
jeka/k3sup/main.go:31:20: cannot use cmdApps (type *"github.com/alexellis/k3sup/vendor/github.com/spf13/cobra".Command) as type *"github.com/jeka/k3sup/vendor/github.com/spf13/cobra".Command in argument to rootCmd.AddCommand

So if you want untested PR I can do it as it is just one line change. But usually, I like to test changes before submitting patches/PRs

from k3sup.

alexellis avatar alexellis commented on May 20, 2024

The errors may be because you are not familiar with how to develop with Go.

Here's the passing build for master: https://travis-ci.org/alexellis/k3sup

You should clone into the GOPATH of the upstream project you've forked, so

export GOPATH=$HOME/go/
mkdir -p $HOME/go/src/github.com/alexellis/
cd  $HOME/go/src/github.com/alexellis/
git clone https://github.com/alexellis/k3sup
cd k3sup

git remote add fork https://github.com/jeka/k3sup

make

from k3sup.

jeka avatar jeka commented on May 20, 2024

OK, I opened #73. I hope I managed to do it right.

By the way, the way this app is installed is really broken. It does not get installed in "default" namespace. It's installed in the namespace set by the current context. And of course, it doesn't work if the current namespace is not the "default" namespace.

from k3sup.

alexellis avatar alexellis commented on May 20, 2024

Feel free to send a PR, if you don't agree with the way it works. I mentioned above that the upstream chart has issues and cannot be configured to install to a particular namespace.

from k3sup.

jeka avatar jeka commented on May 20, 2024

Yes, I read the issue with the upstream chart but still in the current form of installation this app is almost unusable.
On the other hand, I am wondering why do you take this route of installing apps (helm charts)? It's complex, not flexible, does not scale well and does not make it easy to contribute apps.
Why don't you use k3s inbuild support of helm charts? This way all you need is one YAML file per app.
Another possibility is to use tiller-less helm2 (or even helm3) to install charts if you don't want tiller. Yes, helm3 is still in beta but k3sup (k3s for that matter) is not a production-ready piece of software anyway.
I should fill RFE I guess, but I don't have enough time in my hands for such activity atm.

from k3sup.

alexellis avatar alexellis commented on May 20, 2024

I believe this is fixed now. Thanks for your interest, k3sup app install must work on all Kubernetes clusters. The OpenFaaS app works with --helm3 and it will be introduced to other commands as soon as kind folks like yourself volunteer time to send a PR :-)

Thanks again for your interest and for flagging this original issue.

from k3sup.

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.