Live data from Hacker News

The Kubernetes Kustomize KEP Kerfuffle

gravitational.com

41–50 of 51 posts

Re: The Kubernetes Kustomize KEP Kerfuffle

#41
post #24
post #21

Earlier quoted context omitted.

Helm is a good package management tool for application level configuration items. The possible configuration options that a cluster operator might want to configure is fixed. The application packager knows what they may be and can template them into environment variables or write them to configmaps. It doesn't matter how they are delivered, the values.yaml is a great place to collect this data, and Helm manages it ni…

Ya know what's great about debating tools? Because we have a separation, different things can innovate at different rates and people can do different things. You can move from deploying to AWS to Kubernetes all while your CI pipeline and config management stay the same. Maybe at another time you change your CI system. In all of this we can even have tool fights. Jenkins vs CircleCI. vim vs emacs. And new players can…

> people can do different things

That's one of my favorite things about that composability of the Kubernetes tools. I don't believe there's a reason for a "tool fight" in the Kubernetes ecosystem. There might be disagreements about best practices, for example how to manage code in a cluster (gitops vs kubectl apply vs helm install vs ...), but that's not a tool fight as much as a methodology difference. And there's room for more than one pattern to emerge.

I think that any tool that is able to deploy an open source project to my cluster, while minimizing the amount of operational overhead I need to assume, is the tool that I want. I don't care if that is Kustomize, Helm, Ksonnet, or anything else, as long as it mets the requirements of a) it has to work with my environment and b) it shouldn't introduce unecessary operational overhead.

You also mention that Kubernetes is hard to learn, which is absolutely a problem. Adoption is growing, but it's getting harder to learn as more features get merged in. And you are right, nobody should have to learn Kubernetes YAML to deploy a standard, off-the-shelf Wordpress installation. But what about more complicated software that needs "last mile" customization done to work in a specific environment? This blog post (https://testingclouds.wordpress.com/2018/07/20/844/) shows a great way to combine the power of the Helm community and chart format with the last-mile tooling that Kustomize can provide to help keep charts simple but still flexible. That feels much better than forking the chart and maintaining a separate copy of it just to make a few changes that are specific to a single use case.

I have mixed feelings about Kustomize getting merged into kubectl. I don't like the idea of Google "crowning" a winner, and I hope the sig-architecture group and Google teams remain diligent to prevent that from happening. Kustomize is not a replacement for Helm, it's a very good tool to handle specific use cases that often involve Helm charts at the source.

Re: The Kubernetes Kustomize KEP Kerfuffle

#42
post #38
post #9

Earlier quoted context omitted.

Indeed, someone in a separate channel explained that new sig-pm staffing is at the root of the resurgence of KEPs. Thanks justinsb, no relation to GCP's Justin Santa Barbara?

Other way around. Hi I'm the Kubernetes 1.14 release lead, I work for Google, and I'm the guy who said "bumpy road" During the Kubernetes Contributor Summit at KubeCon Seattle last year, I made lots of noise about using KEPs, and about needing non-technical contributors to help those of us who are "organizationally challenged". In what I hope was a response, people showed up at SIG PM. See https://youtu.be/_7IIzH_4yU…

Thank you Aaron! I'll have to write a follow-up re: `smoother landings`

Re: The Kubernetes Kustomize KEP Kerfuffle

#44
post #25

Earlier quoted context omitted.

> This is why it was open sourced, as a balance between control leverage and adoption. I feel like I read this kind of statement all the time and I don't understand the reasoning behind it. Google came up with k8s. They could have kept it for themselves, or, open source it. They open-sourced it. It definitely benefits them, but, it also benefits us a lot. Saying they "open sourced, as a balance between control levera…

Why did Google create Kubernetes and open source it? Why did the people who created Kubernetes all leave Google? What was the business strategy behind it all? After all, the created omega but it never did replace borg. Kubernetes wasn't meant to replace borg, was it? Google didn't create and release Kubernetes out of the goodness of their hearts. Have you ever pondered the strategy behind it all? Maybe they couldn't…

To be fair, two of the cofounders went to different companies to focus on k8s. So while they left Google, it clearly wasn't because they wanted to get away from kubernetes. Rather they're got a great opportunity and took it.

Re: The Kubernetes Kustomize KEP Kerfuffle

#45
post #25

Earlier quoted context omitted.

Why did Google create Kubernetes and open source it? Why did the people who created Kubernetes all leave Google? What was the business strategy behind it all? After all, the created omega but it never did replace borg. Kubernetes wasn't meant to replace borg, was it? Google didn't create and release Kubernetes out of the goodness of their hearts. Have you ever pondered the strategy behind it all? Maybe they couldn't…

> Why did the people who created Kubernetes all leave Google? Brendan Burns went to Microsoft to work on Kubernetes on Azure. He'd been working at Google for 8 years already. Microsoft probably paid a lot to acquire him and it wouldn't be surprising if he saw it as an exciting opportunity to keep working on his creation while leading an exciting new project. Joe Beda and Craig McLuckie left together to found a compan…

Aaand they sold that company to IBM for a huge amount, so it was likely a smart move.

Re: The Kubernetes Kustomize KEP Kerfuffle

#46
post #19
post #7

Earlier quoted context omitted.

Your writing style is hilarious, bordering on poetic. It is somewhat hard to follow the actual information though, and non-native speakers will probably struggle quite a bit.

Non-native reader/kubernetes learner here. I know only keywords from this article. It's a pity that I cannot get the full meaning of it, but still it provide a chance for me to learn some upstream news. Thanks for speaking out for us!

Agreed on all of that. It was a really enjoyable read on a topic that is otherwise extremely dry.

Re: The Kubernetes Kustomize KEP Kerfuffle

#47

Earlier quoted context omitted.

> Why did the people who created Kubernetes all leave Google? Brendan Burns went to Microsoft to work on Kubernetes on Azure. He'd been working at Google for 8 years already. Microsoft probably paid a lot to acquire him and it wouldn't be surprising if he saw it as an exciting opportunity to keep working on his creation while leading an exciting new project. Joe Beda and Craig McLuckie left together to found a compan…

Aaand they sold that company to IBM for a huge amount, so it was likely a smart move.

VMWare

Re: The Kubernetes Kustomize KEP Kerfuffle

#48
post #25

Earlier quoted context omitted.

> This is why it was open sourced, as a balance between control leverage and adoption. I feel like I read this kind of statement all the time and I don't understand the reasoning behind it. Google came up with k8s. They could have kept it for themselves, or, open source it. They open-sourced it. It definitely benefits them, but, it also benefits us a lot. Saying they "open sourced, as a balance between control levera…

Why did Google create Kubernetes and open source it? Why did the people who created Kubernetes all leave Google? What was the business strategy behind it all? After all, the created omega but it never did replace borg. Kubernetes wasn't meant to replace borg, was it? Google didn't create and release Kubernetes out of the goodness of their hearts. Have you ever pondered the strategy behind it all? Maybe they couldn't…

> Why did Google create Kubernetes and open source it?

I think it's misleading to conflate questions whether Google's k8s engineers can use shortcuts through the organizational fabric around k8s with the project's source licensing.

k8s being open source merely means that the code is open and for everybody to use under clear and rather generous (even if potentially reciprocal) terms that are OSD compatible.

In particular "open source" doesn't mean that everybody gets to have a say on anything or everything: those with commit rights always reign supreme.

As for the part about procedural rules and their (ab)use like the ability to take shortcuts because everybody outside the cabal happens to be absent for whatever reason: that could have happened just as well in any body under pay-to-play rules that covers "software standards" (or anything, really), eg. OSF, X/OPEN, UEFI Forum, ... You don't don't get to hear about the drama.

Re: The Kubernetes Kustomize KEP Kerfuffle

#49
For me -- as I am outsider -- it's hard to understand all the non-technical arguments and social dynamics.

From technical point of view, I really like the composition-based/declarative approach of Kustomize.

I am testing different type of bigdata clusters in k8s (Hadoop, Hdfs, Spark, HBase, Hive, Ozone, etc.). I need a method to easily create/install different type of clusters with a set of predefined components. Sometimes I need Spark, sometimes not. Sometimes I need HDFS HA sometimes not. With or without kerberos.

With Helm chart it's almost impossible: all the charts would be full with different conditional branches and which hard to be maintained (and hard to handle dependencies: for example if both hdfs/yarn cluster would like to add something to the core-site.xml configuration).

The composition based approach works better for my use-case, but I found Kustomize very difficult to use. It has strict opinion/limitation how the thing should be defined/worked [1], which are very smart, but sometimes not for my use-case. Also it requires very verbose configuration.

Finally I just created my tool which is more flexible (shameless plug, it's here: [2]) which can do anything with the help of composition and more easy to use.

I respect the Kustomize developers and development and I am very happy that it exists. (And I know that it's way more mature/smart than my tiny tool)

I am just not sure if it it's possible to cover all the use-cases (or majority of the use-cases) with one existing tool (neither with Helm nor with Kustomize). Therefore I would prefer to keep all these tools in separated repo. Personally I would prefer to have more similar tools with new ideas and prefer to have better and better (and more flexible) Kustomize.

But this is just my personal preference.

[1]: https://github.com/kubernetes-sigs/kustomize/blob/master/doc...

[2]: http://github.com/elek/flekszible

Post reply on HN