News for hackers. Stuff that matters.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by jmillikin on Wednesday June 01, 2022 @08:39AM (#31580950)

  >   1) internal users: mainly developers by providing CI/CD
  >   2) external users: end users
  >
  > Nowadays we call people that do 1) DevOps and people that do
  > 2) SREs (so one could argue that the role of sys admins just
  > got more specialized).
Both are called sysadmins.

SRE is a specialized software engineering role -- you'd hire SREs if you wanted to create something like Kubernetes in-house, or do extensive customization of an existing solution. If you hire an SRE to do sysadmin work, they'll be bored and you'll be drastically overpaying.

DevOps is the idea that there shouldn't be separate "dev" and "ops" organizations, but instead that operational load of running in-house software should be borne primarily by the developers of that software. DevOps can be considered in the same category as Scrum or Agile, a way of organizing the distribution and prioritization of tasks between members of an engineering org.

---

With this in mind, the question could be reframed as: if projects such as Kubernetes are changing the nature of sysadmin work, why has that caused more sysadmin jobs to exist?

I think a general answer is that it's reduced the cost associated with running distributed software, so there are more niches where hiring someone to babysit a few hundred VMs is profitable compared to a team of mainframe operators.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by etruong42 on Wednesday June 01, 2022 @08:45AM (#31581016)
> so there are more niches where hiring someone to babysit a few hundred VMs is profitable

This makes a lot of sense. The same thing happened in the past with new technology, such as the electronic spreadsheet:

"since 1980, right around the time the electronic spreadsheet came out, 400,000 bookkeeping and accounting clerk jobs have gone away. But 600,000 accounting jobs have been added."

Episode 606: Spreadsheets!, May 17, 2017, Planet Money

Re:Ask HN: If Kubernetes is the solution, why are there so m... by onlyrealcuzzo on Wednesday June 01, 2022 @06:08PM (#31588781)
In 1980 - there were 90M employees in the US. Now there's 151M.

Given that the US has transitioned out of manufacturing and into businesses services - I don't think much of this is explained by technology creating new jobs.

I think it's just explained by the workforce growing - and the shift in the US's role in the global economy.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by chii on Wednesday June 01, 2022 @11:48PM (#31591106)
workforce grows as more is goods and services are produced.

So the real question is - whether the ratio of different roles changed vs total population.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by deeptote on Wednesday June 01, 2022 @10:48AM (#31582570)
Basically, "why technological innovation creates and transforms jobs, instead of causing unemployment".
Re:Ask HN: If Kubernetes is the solution, why are there so m... by gruez on Wednesday June 01, 2022 @11:42AM (#31583507)
...except that 400k in 1980 translates to 608k in 2017, if you factor in overall labor force size. That means even though there were 600k jobs "created", it's still a net loss.

[1] https://fred.stlouisfed.org/series/CLF16OV

Re:Ask HN: If Kubernetes is the solution, why are there so m... by jvanderbot on Wednesday June 01, 2022 @06:38PM (#31589056)
I think the point of the comment in discussion is:

"Though the spreadsheet was supposed to make clerks obsolete, it in fact just upgraded their job requirements to allow the operation of spreadsheets"

And probably their salaries too.

This is more in line with the discussion related to OP, as well, as devops employees exist, even though apparently it is automated.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by mkoubaa on Wednesday June 01, 2022 @04:59PM (#31588023)
This is a weak argument, since it ignores the productivity gains in all the industries that necessitated more accountants. Accountants don't only do each other's taxes, so more productivity in accountants is an indicator for a more productive economy
Re:Ask HN: If Kubernetes is the solution, why are there so m... by aitchnyu on Thursday June 02, 2022 @03:29AM (#31592387)
ATMs caused a decrease in teller transactions, but led to an explosion of bank branches.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by jupp0r on Wednesday June 01, 2022 @02:44PM (#31586298)
SREs don't normally write Kubernetes alternatives. They are the people who operate/write automation that interacts with/advise teams how to run their software on/ Kubernetes to solve business problems like ensuring availability.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by throwaway787544 on Wednesday June 01, 2022 @09:54AM (#31581833)
> but instead that operational load of running in-house software should be borne primarily by the developers of that software

Go back and read a few DevOps books and blogs by the founders of it. We will always need separate disciplines for dev and ops, just like we need mechanical engineers and mechanics/racecar drivers. But we need them to work together and communicate better to solve problems better and not throw dead cats over walls.

You can of course give devs more powerful tools, more access and agency to enable them to develop the software better. Sentry.io is a great example of what is needed; makes everyone's life easier, devs can diagnose issues and fix bugs quickly without anyone in their way. That doesn't require operations work because it's just simplifying and speeding up the triage and debug and fix and test phases. It's the fundamental point of DevOps.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by jmillikin on Wednesday June 01, 2022 @10:08AM (#31581999)
My second job in large-scale software was at Google, which used the "DevOps model" since before DevOps was named. I have no need to read a blog on it.

You want the person who designs the car to know what a car is, and to be able to diagnose basic issues like "the fuel gauge says 'empty' and engine won't start". And there's no analogy to an Indy car driver in software, every distributed system is self-driving.

The most popular alternative to "DevOps" is a team of developers who do not run the software, and may not even have the skills or capabilities needed to boot up the server process. They do their development in an IDE, run unit tests to verify functionality, and do not have permission to log in to the production environment.

Meanwhile the "ops" side consists of people who may know basic shell scripting, or some Python if they're a go-getter, but are unable to read stack traces or diagnose performance excursions.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by jmillikin on Wednesday June 01, 2022 @10:29AM (#31582273)
throwaway787544 deleted their reply to this post. My response was as follows:

---

  > So you're familiar with Six Sigma then? Value stream mapping? TPS?
  > W.E. Deming? Martin Fowler? There's more to DevOps than deployments
  > and CI/CD.
None of those have any relationship to DevOps.

  > I haven't worked at Google, but I expect somebody gave you some tools
  > and some access to cloud infra and said "good luck".
I was on Borg-SRE. My job was to build the tools and maintain the cloud infra.

  > If you're lucky there was a small army of ops people behind the
  > scenes keeping things running for you
The point of having an SRE team is to avoid having a "small army" of ops people. Manual operation of compute infrastructure is uneconomical at scale.

  > if you weren't lucky you were expected to know how to correctly build
  > and run complex systems at scale by yourself
Google does expect its developers to understand basic principles of distributed systems, yes.

  > > every distributed system is self-driving
  >
  > I didn't know Google was in the bridge selling business.
What I mean is that when your service runs 24/7 and downtime is reported in the New York Times, there is no room for manual action during normal operation. The system must have the capacity to maintain itself and self-recover.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by epivosism on Wednesday June 01, 2022 @11:49AM (#31583646)
Responding to the inlined kubectl command mentioned above:

As an outsider, that command looks really easy to mess up.

  * shell interactions with quotes
  * double quotes
  * interpolating into image namespace with no autocomplete
  * easy to forget an argument
  * do you get autocomplete against the deployment name?
Comparison: C# declaration of a complex type - it's less complex than the `kubectl` command above, but IDEs offer way more support to get it right.

  * var x = new List<Dictionary<CustomType,int?>>()
This will light up warnings if you get anything wrong;

You get:

   * go to definition of `CustomType`
   * autocomplete on classnames
   * highlighting on type mismatches
   * warnings about unused vars.
   * if you initialize the var, the IDE will try hard to not let you do it wrong
So structurally,

1) in the code realm, for doing minor work we have really strong guarantees,

2) in deployment realm, even though it's likely going to hit customers harder, the guarantees are weaker.

I think this is behind the feeling that the k8s system is not ready yet.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by vajrabum on Wednesday June 01, 2022 @06:45PM (#31589105)
Normally you're never going to run a kubectl command in prod that changes anything except for kubectl apply -f. The yaml file may or may not be script or template generated but it's likely. In a lot of shops they're just going to write to a wrapper around the kubernetes API in whatever language the shop uses whether it be python, go or whatever. And there are plenty of linters for the yaml and ways to test without impacting prod.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by volume on Wednesday June 01, 2022 @08:15PM (#31589787)
> So you're familiar with Six Sigma then? Value stream mapping? TPS? > W.E. Deming? Martin Fowler? There's more to DevOps than deployments > and CI/CD.

>> None of those have any relationship to DevOps.

Deming. I think you mean maybe that Deming has less of a relationship to SRE (Google style). The DevOps Cafe guy wears a Deming t-shirt and talks about Deming all the time. Maybe he has denounced Deming for some reason?

Value stream mapping. This has been brought up in at least one talk at DevOps Days.

Six Sigma. There's some obvious overlaps if you look it up.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by throwaway787544 on Thursday June 02, 2022 @08:53AM (#31594195)
Thank you. I didn't want to get into a whole "thing" because the parent just doesn't know what they're talking about and I can't teach them everything in a comment thread, but suffice to say that Gene Kim and Jez Humble would agree with me, and that anyone who wants to know more can look up books and blogs by them.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by dijit on Wednesday June 01, 2022 @02:32PM (#31586122)
> My second job in large-scale software was at Google, which used the "DevOps model" since before DevOps was named. I have no need to read a blog on it.

Cool, you probably know my old colleague Hugo, he was one of the first SRE's at Google in a team of like 20 or so. (I wasn't there, could be mistaken).

Anyway, what "Production" was, is different than what devops is. DevOps is different things to different people. In the beginning it was "What happens when systems administrators do Agile".

(Genuinely), Confusion came about because of the "100 deploys a day" talk and the conference being called "dev ops days" (to include developers).

The two things got conflated and now everyone thinks devops are.. well, build engineers or sysadmins or developers who learned a bit of bash and terraform.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by volume on Wednesday June 01, 2022 @08:18PM (#31589820)
> build engineers or sysadmins or developers who learned a bit of bash and terraform.

From what I have seen, it's also getting familiar with the inner workings and process of the company, as well as current and past runtime tendencies for performance and uptime.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by dijit on Thursday June 02, 2022 @09:11AM (#31594396)
> it's also getting familiar with the inner workings and process of the company, as well as current and past runtime tendencies for performance and uptime.

That sounds like sysadmins.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by volume on Thursday June 02, 2022 @11:00AM (#31595720)
let's say there's 5+ leading definitions of DevOps. I'll add this which I think is quite unpopular but true:

DevOps is how Engineering respects the work of sysadmins.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by bostonsre on Wednesday June 01, 2022 @07:32PM (#31589482)
> And there's no analogy to an Indy car driver in software, every distributed system is self-driving.

You typically build systems to sell a product. The driver is the customer that uses the app. You build the app to be as simple as possible to effectively operate while providing the best possible outcome for that customer. The driver doesn't care or need to know how the engine or the rest of the car works, just that the engine and car works well.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by turkey99 on Thursday June 02, 2022 @03:40AM (#31592433)
Did Google really use the “DevOps model”? Observing from the outside it looked like SRE was their alternative
Re:Ask HN: If Kubernetes is the solution, why are there so m... by jupp0r on Wednesday June 01, 2022 @02:48PM (#31586344)
The major point is that "mechanical sympathy" for how to operate software should be considered early in the development cycle. Fulfilling the business goals in operation should be a major design consideration that might warrant trade offs in other areas. Traditionally, this has been seen as more of an afterthought and DevOps solution to the problem is that involving the people who design and maintain software in its operation would automatically create incentives to make operational improvements because the people making decisions are the people feeling the consequences of those decisions.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by tricky777 on Wednesday June 01, 2022 @05:54PM (#31588634)
Generalization:

- each role in a company tries to optimize/nudge whole organization toward this role's convenience.

- specialization improves local optimum (advances certain role) at the cost of global optimum (everybody has to dance around new roles processes)

- joining seceral roles into one, creates the oposite result, optimum is searched at more global level (not necessarily found)

- Separation of responsibilities (aka creation of new role) can generate a fractal (e.g. tester of left winglets blue stipe's thickness meter)

- complete joining off roles will create homogenous chaos after n employees (everybody should do everything)

prediction: we will see constant experimentation, first roles will be split, then some will get joined. then split again. then joined again. (people cant search for local optimum and global optimum at the same time)

Re:Ask HN: If Kubernetes is the solution, why are there so m... by jupp0r on Thursday June 02, 2022 @01:06AM (#31591539)
I agree in general. Extreme example I've witnessed ~8 years ago: dev team is building linux server. Dev team is not allowed to touch production. Server is deployed via scp by ops team. Ops team is on the other side of the planet and generally pretty unknowledgeable. Dev team is deploying by creating a ticket and literally telling ops team what to type in terminal. Ops team fails at copy/pasting instructions. Deployments fail, dev team has to fix things by telling ops team what to type over the phone.

Lesson learned: kubernetes isn't that bad

Re:Ask HN: If Kubernetes is the solution, why are there so m... by throwaway787544 on Thursday June 02, 2022 @08:50AM (#31594160)
If you look at construction, they have a system that's very similar to what DevOps espouses. Lots of trades and specializations, because building to code is complicated and important, and having the experience of doing one job well is important to be able to work around problems on the fly. But - this I think is the critical part - they must know about the other trades that are affected by their work, so as not to impede others' work or the project by accident. It's as much about compassion for the guy coming after you as it is reducing cost and speeding up construction. All of that is the aim of DevOps.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by osigurdson on Wednesday June 01, 2022 @11:08PM (#31590861)
This is a very insightful comment.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by jghn on Wednesday June 01, 2022 @08:59PM (#31590095)
> DevOps is the idea that there shouldn't be separate "dev" and "ops" organizations,

I agree with this definition of DevOps. However the vast, vast, vaaaast majority of real life uses of the term "DevOps" I've seen are just rebranded sysadmins. Sometimes it at least implies a more engineering approach to their coding. But in these institutions the Devs and Ops are very much separate groups of people, unfortunately.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by thewileyone on Wednesday June 01, 2022 @09:53PM (#31590406)
Agreed. The DevOps that I'm familiar with is two job descriptions in one job, one headcount, one pay.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by 0xBDB on Saturday June 04, 2022 @02:28PM (#31623630)
I agree. I think the grandparent is maybe describing an ideal state, but in practice most "DevOps" and "SRE" positions I see go by on job boards are for either sysadmins who can do some automation and infrastructure as code, or possibly devs who know how cloud infrastructure and networking work, depending on your perspective.

If you're lucky the hiring manager might have at least read the Phoenix Project or the Google SRE books.

Re:Ask HN: If Kubernetes is the solution, why are there so m... by shawnz on Wednesday June 01, 2022 @08:46AM (#31581025)
essentially Jevons paradox
Re:Ask HN: If Kubernetes is the solution, why are there so m... by normie3000 on Wednesday June 01, 2022 @08:57AM (#31581146)