DEV Community

Cover image for Kubernetes for everyone ☸️💡🎉

Kubernetes for everyone ☸️💡🎉

Sendil Kumar on July 16, 2019

Kubernetes Kubernetes is the de facto standard for running containerized applications. Kubernetes (K8s) is an open-source system for ...
Collapse
 
pastudan profile image
Dan Pastusek

Great article! If you want to try out some of these kubectl commands, I run KubeSail which gives you a small free slice of our powerful, security-hardened Kubernetes cluster. You get full access to the Kube API, so you should be able to follow along and try applying all of the YAML in this tutorial.

Collapse
 
zrml profile image
Luca

Love the article, how you summarized the main K8s components and explained them in your own language. Especially the Services and Networking part that can be fuzzy ;)
Good job!
We need more like this one.
I hope the next one is on PV ;)
Thanks

Collapse
 
huholoman profile image
Huholoman • Edited

It is not necessary to use alpine to minimize resources. There are easy ways to build image "from scratch". Like mount your empty image and put your staff in, for example

dnf install --installroot...

Collapse
 
chiefy profile image
Christopher "Chief" Najewicz

just remember you'll need ca-certs if you're doing any tls in your container

Collapse
 
sendilkumarn profile image
Sendil Kumar

oh.. that sounds interesting. I will take it a spin. Thanks 👍🙂

Collapse
 
huholoman profile image
Huholoman • Edited

I can recommend you some useful tools

  • buildah makes building images easier
  • ansible-bender allows you to use ansible to build your image (also uses buildah)
Collapse
 
david_j_eddy profile image
David J Eddy

Thank you for the detailed article Sendil. I was thinking of doing this exact thing but you beat me to the punch. :D. Very well done. Keep up the good work.

Collapse
 
sendilkumarn profile image
Sendil Kumar

Oops, sorry about that :). Between thanks.

Collapse
 
fyodorio profile image
Fyodor • Edited

Can't help recalling that each time I see anything on Kubernetes...

Collapse
 
hmphu profile image
Phu Hoang • Edited

Thanks a lot for this great article.

Jus a little correction i think: "Alphine" should be "Alpine"

Collapse
 
sendilkumarn profile image
Sendil Kumar

Thanks I updated 👍

Collapse
 
gadinaor profile image
Gadi Naor • Edited

Great and simple overview ... if you cover k8s rbac at some point - check this open source tool
github.com/alcideio/rbac-tool

Collapse
 
sendilkumarn profile image
Sendil Kumar

Thanks :) will take a look :)

Collapse
 
matthias profile image
Matthias 🤖

Thank you for that article!

Collapse
 
sendilkumarn profile image
Sendil Kumar

Thanks :)

Collapse
 
miclgael profile image
Michael Gale

Great easy read, thanks Sendil!

Collapse
 
veky profile image
Veky

Sorry, this is really not "for everyone". You just bombard the reader with an enormous amount of new concepts that are nowhere introduced nor defined. I don't doubt that this helps people who already know all these terms to systematize their knowledge, but calling it "for everyone" is really wrong.

Collapse
 
sendilkumarn profile image
Sendil Kumar • Edited

This is a good one. Ideally I expect how Kubernetes works part to be for everyone except for few jargons like pods. And have an explanation for them.

May be I should have named it Kubernetes for anyone who knows Docker?

How about instead of calling something wrong, can you share the list of things that you feel needs an explanation. (feel free to comment) let us make this post for everyone :)

Collapse
 
jmper profile image
Mirek Skoczek • Edited

Well, you could start with explaining Kubernetes relies on Docker containers and how it's all related. I dug a little bit around Docker and Kubernetes seemed to appear here and there but I didn't have time to look it closer. So now I thought good maybe here I will know what's it all about. But here not a word about Kubernetes and Docker connection...

Collapse
 
veky profile image
Veky

May be I should have named it Kubernetes for anyone who knows Docker?

Yes, that's probably it. I really don't know anything about Docker. But that's also a part of the problem: you mention Docker only after 85% of your article, and of course I didn't get to there.

can you share the list of things that you feel needs an explanation. (feel free to comment) let us make this post for everyone :)

I tried. But there's too much of it, and the article is really long. As I said above, the fact that you didn't even mention Docker for 5/6ths of your article is illustrative. Probably it would need a thorough rewrite, and it still wouldn't be worth it.

Thread Thread
 
stealthmusic profile image
Jan Wedel

Hmm, I'm working with Docker and compose for a year or two but I have to admit i still don’t really understand the differences between pods, services, deployments and load balancing strategies.

For every section i thought, “oh this is interesting” and then the section was over and i did not really get it.

I think it’s hard to cover such a complex technology in an article but maybe you could have made up one example application that you’ve built with Kubernetes and explain the details along it.