Comments (5)
Hi @onedr0p
Do you think it would be fair to allow the maintainer and/or contributors of k3sup to say what it is intended for?
There are quite a lot of different configuration options, including a HA cluster with a database or etcd, so it's absolutely production ready and can be used with Terraform too.
@erikcw to your point, writing an extra file like registries.yaml could be done via Terraform using a remote SSH provisioner.
Here's a full example of a production ready setup on Linode with a load balancer and Ingres with TLS:
https://www.openfaas.com/blog/production-faas-linode/
It's just a simple text file that could be dropped in at any time correct?
Alex
from k3sup.
Do you think it would be fair to allow the maintainer and/or contributors of k3sup to say what it is intended for?
That's fair, this issue was open for 20 days without a comment so I wanted to offer some guidance with my experience with k3sup and when to use it over more mature options (Terraform/Ansible) for production clusters.
There are quite a lot of different configuration options, including a HA cluster with a database or etcd, so it's absolutely production ready and can be used with Terraform too.
Terraform is not a tool for configuring an operating system after it's installed. Chef, Ansible and Puppet are. Terraform with remote-exec or local-exec is just a major pain in the ass to manage as I am sure you are aware of if you have used provisioners in the past. Even the terraform docs say to use provisioners as a last resort due to "certain behaviors that cannot be directly represented in Terraform's declarative model" and many other important issues laid out in the link.
I'll get this closed for now and recommend anyone landing here use their Terraform or user-data script to write the registries.yaml file as per...
This feature request is out of scope for k3sup? I would hope that k3sup would be able to turn most of the knobs needed for standing up a k3s cluster given it's name but looks like I am wrong here. I would love to replace Ansible with k3sup if I could turn these knobs with k3sup because I don't need the majority of Ansible features for just standing up k3s with some custom configuration.
from k3sup.
This tool is really meant for learning and quick testing of a k3s cluster. Once you get passed it's basic use cases I would use a more mature tool like Ansible to install and manage k3s for anything more like production use cases.
Check out this Ansible role:
https://github.com/PyratLabs/ansible-role-k3s
from k3sup.
I'll get this closed for now and recommend anyone landing here use their Terraform or user-data script to write the registries.yaml file as per:
Upon startup, K3s will check to see if a registries.yaml file exists at /etc/rancher/k3s/ and instruct containerd to use any registries defined in the file. If you wish to use a private registry, then you will need to create this file as root on each node that will be using the registry.
from k3sup.
That's fair, this issue was open for 20 days without a comment so I wanted to offer some guidance with my experience with k3sup and when to use it over more mature options (Terraform/Ansible) for production clusters.
It's not fair to dump on other projects, when you yourself don't represent them.
Issues can be open for hours, days or weeks before they get commented on. I'm not paid for maintaining, supporting or adding features to K3sup.
Let's set some healthy expectations here. Requests outside of the scope, which have obvious solutions are unlikely to get a response within 1 hour.
Terraform is not a tool for configuring an operating system after it's installed.
Correct, however in this case, the registry configuration is static and part of the total install which involves dedicating a node to work as a K3s worker.
This feature request is out of scope for k3sup? I would hope that k3sup would be able to turn most of the knobs needed for standing up a k3s cluster given it's name but looks like I am wrong here.
If you need terraform and a private registry then that is a commercial/enterprise use-case, OpenFaaS Ltd would be happy to put salaried employees on the features, just reach out to us for an estimate on the costs of the work.
from k3sup.
Related Issues (20)
- 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
- 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
- k3sup install - Error: error received processing command: Process exited with status 1 - how to fix this ? HOT 1
- ssh error on node join HOT 1
- Long help string for plan command contains an error
- Q: MicroOS (openSUSE) as operating system HOT 1
- Certificate Error: get.k3sup.dev invalid domain HOT 2
- SSH key supplied on k3sup plan does not output
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.