r/kubernetes • • Jan 14 '20

Kubernetes tutorial will be like

Post image
625 Upvotes

27 comments sorted by

11

u/Earthisround Jan 14 '20

Not mine received in group. Credit to original author.

66

u/geerlingguy Jan 14 '20

That would be me ;)

It's in my book www.ansibleforkubernetes.com, I originally posted it on Twitter a ear or two ago: https://twitter.com/packetferret/status/1210160486370676736

8

u/Earthisround Jan 14 '20

Awasom. Thanks for creating it. I will upvote all of your post. ;-)

10

u/sizur Jan 14 '20

What's the status on completing of the upvote all of his post?

9

u/Earthisround Jan 14 '20

After 53 posts reddit is not allowing to upvote anymore post. I am not sure why. I will continue after some time or tomorrow.

4

u/Pierre-Lebrun Jan 14 '20

Sadly accurate

1

u/sigmonsays Jan 14 '20

The left image or the right?

2

u/Earthisround Jan 14 '20

Most of them are left and in organization right is expected.

1

u/siralvi Jan 14 '20

Figure 3: Profit?

1

u/glotzerhotze Jan 14 '20

dude, your app looks like an owl?

what is wrong with you?

mine looks like a peacock. his looks like a sparrow, her’s like a hawk.

clearly, you not got that „right“ - what about all the options you‘re „left“ with?

SRY for the odd humor...

1

u/paravz Jan 14 '20

painfully true

1

u/ericyuliu Jan 16 '20

This is fun cuz there is indeed a learning curve.

However, if someone is trying to convince you not to learn K8S, do not listen to them and let them drag you down.

0

u/[deleted] Jan 14 '20

On a serious note: If anyone wants any help with Kubernetes , drop me a message or find me Kubernetes Slack Channel. Willing to help, when I can.

0

u/[deleted] Jan 14 '20

[deleted]

16

u/Earthisround Jan 14 '20

Exactly..

I was like dude I know containers. Just tell me why I can't auto renew the SSL certificate of ingress, I have cert manager and let's encrypt in place. Just tell me what's wrong.

0

u/[deleted] Jan 14 '20

[deleted]

5

u/Earthisround Jan 14 '20

Dude that was just an example. Calm down you gentleman.

4

u/EpigramEngineer Jan 14 '20

Serious question (even though it may seem dumb) - are there any sort of hello-world/example repositories which are set up to do more complex things like in "Step 2"?

I've been looking for a while now of a declarative kubernetes example application that has things like

  • Ingress w/ LetsEncrypt

  • 2+ services

  • Infra as code across multiple environments (minikube, staging, prod)

  • Metrics like Prometheus

I'm kind of surprised by how all the tutorials are either for an imperative setup (running helm, istio config, etc) or highly specific to just one technology, and the lack of repositories for more fully featured example kubernetes stacks. Maybe I'm approaching this the wrong way?

me: kubernetes noob not sure where to start

4

u/audscias Jan 14 '20

Maybe you can find something you are interested in here? Anyway I've been running what you mention for a while, so I might be able to help you find something useful.

We have three environments (three separate clusters) on GKE, manage all the infra as code (Terraform+Helm in self hosted Gitlab, with CI/CD on the works using Gitlab pipelines. All is monitored by a mix of Stackdriver and Prometheus+Grafana.

Inside the cluster pretty much everything is stateless besides a Kafka cluster, a MongoDB and Redis.

1

u/Earthisround Jan 14 '20

We have similar setup in aws. Difference is this Mix of KOPS and EKS. By terraform + kustomzie.

Of course we can't release that. So maybe we can create something. Like guide repo contain not just simple example code but actual production ready code and we have add problem faced by us so not all people have to face same problem.

I am just shooting in dark here.

3

u/EpigramEngineer Jan 15 '20

This would definitely be immensely helpful for people like me. I'm imagining something like the bento-starter project; a full working repo for a pwa

1

u/EpigramEngineer Jan 14 '20

Yeah that sounds like exactly what I want!

I'll take a look through awesome-kubernetes to see if they have anything similar -- thanks for the link!

34

u/[deleted] Jan 14 '20

A guy from marketing walks by my desk:

"Hey, can you help me [Step 2], for a presentation and live demo I have this afternoon, they say it's easy if you know what you're doing, so I came to see you."

FML

11

u/noid998 Jan 14 '20

So glad to be not alone with this kind of bullshit, sometimes it is very frustrating!

4

u/doc_samson Jan 14 '20

"It's only one more step"

8

u/VertigoOne1 Jan 14 '20

Aaaand don’t forget auto-provisioning-gluster-cluster back PVC’s aka “why are my storage costs spiraling out of control” and while your at it, headless(chicken)-multi-cloud-container-orchestration.

4

u/Pas__ Jan 14 '20

I was humming along, but stopped at "seamless app <> model integration", because that one is either fake or I would like to know more!