Public Feed

Discover recent notes and bookmarks from the community

Want to share your thoughts? Sign in or create an account

I find Helm to be against a fundamental principle of Kubernetes: Declarative Configuration (further rooted in Promise Theory).

While Helm is written in a mostly declarative-looking syntax, the control structures (among other things) result in it being procedural. The end result is that a helm chart and it's templates become deceptively complex and each value in the values file needs fresh new documentation - because it is unique to that one helm chart.

Usually you'll find something like this in a repo:

# values.yaml:
replicaCount: 2
image:
  repository: blah.com/hello_world
  tag: v10000
service:
  type: ClusterIP
  internalPort: 8000
ingress:
  enabled: false
...

It looks declarative, but in reality all of those inputs are just fed into some procedural code in the chart to be interpreted uniquely by that procedural code and producing anything.

Engineering & Operations Divergence

As a practical consequence, I find that this results in an Engineering organization increasingly being detached from Kubernetes and and relying on a set of "Kubernetes experts" and thinking that Kubernetes is so complex that only those experts can work with it. However, generally this isn't the case.

With entry-level knowledge of Kubernetes' Deployment, Pod, Service and maybe PersistantVolume and Ingress any software engineer can be competent in making changes to any app deployed in Kubernetes. This is probably ~1 day to learn the basics and I'd say comparable learning curve to docker compose. For someone comfortable in a docker compose file, then it will be even easier!

What's the Alternative?

The alternative is instead of putting a Helm chart into a repo, put plain Kubernetes yaml resources into your repo. At most you can use kustomize and overlays to adjust them further (e.g. to adjust environment variables for different environments).

So What's Helm Good For?

Helm is good if you're distributing a "packaged application" to others to run in Kubernetes. For example, someone packaging a Wordpress with a database, Helm makes sense. In a case like this, the the internals of how all these things work inside the cluster don't matter to you and you won't have any other Kubernetes resources deployed that are coupled to them (within the cluster), then the packager can simplify things for you and update things over time and the consumers of the package don't have to know or worry about the details.

However, this is fundamentally different from an engineering organization developing and operating their own application internally. In that case the "infrastructure" of the application, is just as important for engineers to be able to understand and maintain as it is for them to understand the code. Putting that infrastructure behind opaque code that spits out a bunch of resources dynamically at runtime only adds complexity to understanding the resources. You still must understand all those resources, but now you must understand the procedural code that deployed those resources too. So why not just maintain the resulting resources and stop writing more code to produce them?

#
kuberneteshelm

Looking for all that money Sam plans to spend…

“This is where we’re looking for an ecosystem of banks, private equity, maybe even governmental, the ways governments can come to bear,” she said. Any such guarantee “can really drop the cost of the financing but also increase the loan-to-value, so the amount of debt you can take on top of an equity portion.”

OpenAI is losing money at a faster pace than almost any other startup in Silicon Valley history thanks to the upside-down economics of building and selling generative AI. The company expects to spend roughly $600 billion on computing power from Oracle, Microsoft, and Amazon in the next few years, meaning that it will have to grow sales exponentially in order to make the payments. Friar said that the ChatGPT maker is on pace to generate $13 billion in revenue this year.

#
openaiinvesting

Meta internally projected late last year that it would earn about 10% of its overall annual revenue – or $16 billion – from running advertising for scams and banned goods, internal company documents show.

On average, one December 2024 document notes, the company shows its platforms’ users an estimated 15 billion “higher risk” scam advertisements – those that show clear signs of being fraudulent – every day. Meta earns about $7 billion in annualized revenue from this category of scam ads each year, another late 2024 document states.

Much of the fraud came from marketers acting suspiciously enough to be flagged by Meta’s internal warning systems. But the company only bans advertisers if its automated systems predict the marketers are at least 95% certain to be committing fraud, the documents show. If the company is less certain – but still believes the advertiser is a likely scammer – Meta charges higher ad rates as a penalty, according to the documents. The idea is to dissuade suspect advertisers from placing ads.

#
facebookadvertising

A theme throughout the argument was a concern shared among several justices and the plaintiffs, summed up neatly by Gorsuch: “Congress, as a practical matter, can’t get this power back once it’s handed it over to the president,” the Trump appointed justice said. “It’s a one-way ratchet toward the gradual but continual accretion of power in the executive branch and away from the people’s elected representatives.”

“We will never get this power back if the government wins this case,” said Neal Katyal, who represented the small businesses challenging Trump’s initiative. “What president wouldn’t veto legislation to rein this power in and pull out the tariff power?”

#
politicsgovernmenttariffs

Mike Johnson, the Speaker of the House and a representative from Louisiana, has offered several explanations for the delay in swearing in Grijalva—ranging from waiting until all votes were certified in the special election (despite not requiring Republicans who also won special elections to wait) to claiming the House needed to return from recess (despite precedent showing new members are typically sworn in the day after their election, regardless of whether the House is in session). Most recently, Johnson has said Grijalva will not be sworn in until the government reopens.

#
politicscorruptiongovernment

At the time, Johnson said he could not swear in Grijalva during a pro forma session: "The House is not on the floor doing business this week, but we will do it immediately early next week as soon as everyone returns to town. We have to have everybody here and we'll swear her in."

Not including the special election in Arizona's 7th Congressional District, there have been three other special elections this year to fill vacancies in the 119th Congress (2025-2027). Johnson swore in the three winners—Randy Fine (R-Fla.), Jimmy Patronis (R-Fla.), and James Walkinshaw (D-Va.)—of those special elections the day after their respective elections. Both Fine and Patronis were sworn in during a pro forma session.

During the 113th through the 118th Congresses, three other special election winners—Reps. Tom Tiffany (R-Wisc.), Mike Garcia (R-Calif.), and Kweisi Mfume (D-Md.)—were sworn in during pro forma sessions. All three of those special elections were to fill vacancies in the 116th Congress (2019-2021).

#
politicscorruptiongovernment

Haha. I can’t wait for “Trump says Earth is flat. Wikipedia updates Earth article to agree.”

“The question is, why should the opinions of the largely impartial UN and human rights scholars be weighed equally to the obviously partisan opinions of commentators and governments?

“Wikipedia has never, ever treated all voices as equal, nor does policy demand we do. If we did, the Earth article would state that Earth’s shape is under debate. But we don’t do that because scholarly consensus is that Earth is roughly spherical. Instead, flat eartherism is presented as what it is: a fringe movement without scientific backing,” the editor wrote.

#
israeli-occupied-territoriespoliticswikipedia

Experts including the International Association of Genocide Scholars, Amnesty International, B’Tselem, and a UN Human Rights Council commission led by former president of the Rwanda genocide international tribunal Navi Pillay, have all concluded that Israel is committing genocide in Gaza.

#
israeli-occupied-territoriespoliticswikipedia

Sounds like news websites need to hire a proper engineer. This isn’t common crawls problem to solve:

Common crawl doesn’t log in to the websites it scrapes, but its scraper is immune to some of the paywall mechanisms used by news publishers. For example, on many news websites, you can briefly see the full text of any article before your web browser executes the paywall code that checks whether you’re a subscriber and hides the content if you’re not. Common Crawl’s scraper never executes that code, so it gets the full articles.

#
aiscraping