Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k3s is awesome, but lack of quick start guide #795

Closed
ghost opened this issue Sep 6, 2019 · 14 comments · Fixed by rancher/docs#1951
Closed

k3s is awesome, but lack of quick start guide #795

ghost opened this issue Sep 6, 2019 · 14 comments · Fixed by rancher/docs#1951
Labels
kind/documentation Improvements or additions to documentation

Comments

@ghost
Copy link

ghost commented Sep 6, 2019

k3s is amazing , but it not good for newbie who never used kubernetes.
How to build a web application , from very begin, to expose it with the ingress controller?

I would like contribute document , show how easy to run a real web (app) with k3s.
where can i put (or contribute?)

@leematos
Copy link

leematos commented Sep 9, 2019

I'm not a core maintainer and I don't speak for the project, but I think this would probably make sense on a personal blog or something, and the official docs could reference it.

@bbruun
Copy link

bbruun commented Sep 9, 2019

I've just created a small guide while searching for a quick guide for a friend (and ended up here)

The guide is here https://github.com/bbruun/k3s-getting-started and is a very first early draft, but give me feedback and I'll update it.

It is written from memory as I need to setup a vm to test it out and can't do that before I'm home as I already a have a fully instlaled and in-use k3s install on my laptop, so it will have to wait till I have time to a reinstall so I can update it fully - incl double checking the Ingress to set it up correctly (which sometimes fails if the path is set incorrectly (and not using localhost which I just typed in to get the thing written down now).

@cjellick
Copy link
Contributor

that's pretty cool @bbruun. We'll compare it against our official docs and see what we can levarage.

FYI, offical docs are here:
https://github.com/rancher/docs/tree/master/content/k3s
Get published here:
https://rancher.com/docs/k3s/latest/en/

@netroby I was initially going to say that explaining how to spin up an app on k3s was outside the scope of k3s documentation, but perhaps an end-to-end quickstart does make sense. Will consider it a bit more

@bbruun
Copy link

bbruun commented Sep 11, 2019

@cjellick just let me know what you think and I'll update it accordingly. I'll update my guide later tonight as I have time today.

I agree with the deployment of an app, but most people that want to get started with Kubernetes end up where this issue was created I'd they have zero skills regarding kubernetes and communication with it.

K3s offers a better and more practical "first install" method than exists and is the perfect tool to do both small and remote deployments and learning kubernetes from the ground up vs a normal bare metal cluster with eg kubeadm etc.

@bbruun
Copy link

bbruun commented Sep 11, 2019

@cjellick the documentation (https://github.com/bbruun/k3s-getting-started) has been updated (rewritten) as I've had time to install a VM and follow through including finding a but in Ubuntu 18.04 Server as the pre-installed Docker version is a snap and that does not work with k3s.

The systemd service files have been updated and tested and the README-volumes.md have also been updated to get people started on the basics of working with bare metal on the very nice edition to Kubernetes aka k3s - it is a joy to work with :-)

@sandys
Copy link

sandys commented Sep 28, 2019

hi,
i would like to chime in that there should be a section focused only around production usecases - AWS, spot instances, etc

@davidnuzik davidnuzik self-assigned this Oct 7, 2019
@davidnuzik davidnuzik added this to the v1.0 milestone Oct 7, 2019
@davidnuzik davidnuzik added the kind/documentation Improvements or additions to documentation label Oct 7, 2019
@davidnuzik
Copy link
Contributor

davidnuzik commented Oct 7, 2019

Related to #859
I created this issue to describe a refactor of Docs I am working on. We're going to include a minimum of one example for production such as on AWS. In the future we want to see if we can provide other examples too but for now we've chosen AWS.

UPDATE: We may change the example so it's agnostic but it could be applied to AWS or other providers.

@CptLemming
Copy link

Just chiming in to say that @bbruun comment about the snap version of docker not working with k3s was great to know, as I've been struggling with this and file system permissions for days.

There's already a section of the docs that explain how to use Docker with k3s, perhaps this tidbit could be added in there?

@joshuataylor
Copy link

There is great documentation about HOW to install k3s, but not much about how traefik is used.

Would be awesome to have a cookbook of things such as "here is how you use a simple deployment/service/ingress with traefik to route to a helloworld".

@sandys
Copy link

sandys commented Oct 15, 2019

@joshuataylor i want to link my similar ticket to this comment - #868

@vnwarrior
Copy link

we are looking for the same traefik help. how do we use our own certificate and route it to a particular k8s service ..maybe a helloworld

can someone help ?

@davidnuzik
Copy link
Contributor

I created #985 specifically for documenting at least some examples for Traefik.

@davidnuzik
Copy link
Contributor

Regarding docker snap this can be added to the incoming known issues section in the docs. #984

@davidnuzik davidnuzik removed their assignment Oct 29, 2019
@davidnuzik
Copy link
Contributor

Thank you all for the input! We really appreciate it. If there is anything I missed or there are other additions we really want to see in the documentation please enter any issues if necessary to track this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants