Live data from Hacker News

Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

news.ycombinator.com

31–40 of 82 posts

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#31
I don't think there's going to be a shortcut to learning Kubernetes to the point where you'll be comfortable setting up a production-grade cluster.

I recently went down the path of learning it. Even with 6 years of experience using Docker and ~10 years of general deployment / Linux / sysadmin'y experience it took something like 180 hours of no screwing around time to get to the point where I was comfortable putting up a proof of concept production cluster.

Proof of concept in this case means having the cluster up and running to manage multiple services, hooking up multiple external hostnames with external-dns and an AWS Load Balancer controller (I am using EKS). It also involved handling things like running database migrations in a robust way and toying around with nice to haves like preview environments for all PRs. It didn't serve any live customer facing traffic but all of the pieces were there to do it.

The provisioning and managing of the cluster was all adhoc with a mish mash of Bash scripts, eksctl, kubectl and Helm commands. Now I'm transitioning all of that to use Terraform to set up the cluster and every change to the cluster happens through git using ArgoCD to monitor the repo. I'm really happy with the direction things are going. There's no way I could have started here tho, it would have been too many new things to take in at once without knowing the fundamentals.

Long story short, don't try to rush things and skip ahead. It's going to be really important to learn the basics of Kubernetes before trying to automate everything with best practices. I spent a ton of time reading the docs while experimenting with a cluster along with reading hundreds of blog posts and skimming YouTube videos. Every step of the way involved applying what I was learning to a real project and interacting with the cluster in some way.

90% of it was able to be learned with a local cluster running on your dev box.

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#32

"I have a limited time" You blagged your way through a job interview, didn't you?

not at all, but our devops guy ragequit the job and I want to be able to help piece things together if fire emerges, or help the team. Every engineer has some knowledge so together we're able to handle most of it. I want to use this opportunity to learn more.

It's sad that you assume the worst in people.

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#33

I would look at these topics and in this order: 1. Containerisation - can you build a hello world web app in any language then Dockerise it. 2. Now break it into two containers - one is the original hello world but now it calls an API on a 2nd container that responds with hello world in one of 10 different languages. Just hard code this the point is that it’s now 2 containers for your “app”. 3. Create a Docker reposi…

I've done all this in past and am familiar with it, but I'd be interested in one-step-after-this thing :)

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#34
K8s is just a big, structured way to make Linux do various things, so my approach would be from the bottom up: learn about the Linux features that you are trying to control, then learn to control them automatically with k8s. Learn how to manually control memory and cpu quotas with control groups, how to mount overlay file systems, how to enter a chroot, how to create and use network or pid namespaces, etc.

Most people I have encountered who were afraid of k8s also simply did not understand how their process was executed by Linux at all, and I think that was the root of their fears. If you know how it all works, you won’t be afraid of the automation.

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#35

I would look at these topics and in this order: 1. Containerisation - can you build a hello world web app in any language then Dockerise it. 2. Now break it into two containers - one is the original hello world but now it calls an API on a 2nd container that responds with hello world in one of 10 different languages. Just hard code this the point is that it’s now 2 containers for your “app”. 3. Create a Docker reposi…

I've done all this in past and am familiar with it, but I'd be interested in one-step-after-this thing :)

Try Cloud Deploy - it’s a new service and significantly easier than using a self managed CD tool like Spinnaker or Argon.

If you know all of the points I listed before, have a look at GKE benefits like horizontal and vertical pod autoscaling, cluster autoscaling, istio, config connector, anthos

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#36
As I was going through the same process of disentangling the learning-process roadmap, a friend of mine recommend I follow Jérôme Petazzoni's [0] "Deploying and Scaling Microservices with Docker and Kubernetes" workshop freely available as slides [1]. It's less shiny than those web courses with an integrated sandbox, but it's also pretty hands on and high quality. I had started the free courses available at KubeAcademy by VmWare, but I've retained very little from that.

[0]: https://github.com/jpetazzo

[1]: https://container.training/kube-selfpaced.yml.html

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#37

"I have a limited time" You blagged your way through a job interview, didn't you?

not at all, but our devops guy ragequit the job and I want to be able to help piece things together if fire emerges, or help the team. Every engineer has some knowledge so together we're able to handle most of it. I want to use this opportunity to learn more. It's sad that you assume the worst in people.

Hey, no judgement, and good for you for turning up for your team!

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#38
post #11

Kubernetes is like the Javascript of NPM, a new tool every week, very good at complicated things, but simple things are complicated. It seems to be dominant docker server management atm, but not sure if it will stay like that.

I find the excessive feature-richness to be more akin to C++ : you don't where to start, you've got the feeling it's never going to end and that it can crumble under its own weight, but in the end every feature at least has some point that's worth thinking about.

Re: Ask HN: What is the fastest way to ramp up on DevOps, k8 and GCP?

#39

I would look at these topics and in this order: 1. Containerisation - can you build a hello world web app in any language then Dockerise it. 2. Now break it into two containers - one is the original hello world but now it calls an API on a 2nd container that responds with hello world in one of 10 different languages. Just hard code this the point is that it’s now 2 containers for your “app”. 3. Create a Docker reposi…

16. Avoid helm.
Post reply on HN