Comments (9)
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.
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.
PRs are welcome. Would you like to take it?
from k3sup.
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.
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.
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.
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.
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.
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)
- Explicitly state the systemd requirement for the remote Linux host HOT 1
- Support request for SSH configuration HOT 3
- k3sup join needs two --ssh-key, one for server and another one for joining server HOT 3
- Support for specifying k3s install mirror option `--k3s-install-mirror`
- First Colon not added to `k3s-extra-args` HOT 1
- k3sup not working on fcos with testing channel HOT 6
- Support question for k3sup join HOT 3
- About 0.12.13 release HOT 2
- Suggestion: declare the nodes and its options in a single yaml file Would be a good idea? HOT 1
- generated zsh shell completion not working HOT 1
- How to access Traefik dashboard? HOT 1
- I need to pass password instead of key in "--ssh-key HOT 1
- macOS + 1Password SSH agent forwarding + Nushell not working with k3sup HOT 2
- docs change HOT 4
- Getting NODE_TOKEN with custom password protected ssh-key leads to too verbose NODE_TOKEN env var
- Request to create a registries.yaml file as part of k3s installation for private registries HOT 5
- How to replicate default kubernetes deployment services HOT 2
- Explain how to upgrade k8s version in the docs
- Add ssh-key to plan command HOT 1
- unable to get join-token from server on first install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3sup.