frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How do you handle JDK/JRE patch updates for Java apps on K8s?

6•bgalek•5h ago
I’m curious how people running Java workloads on Kubernetes handle JDK/JRE updates and security patches without rebuilding every app image.

Background: in Mesos (https://en.wikipedia.org/wiki/Apache_Mesos) times, we used to keep the JDK on the runner nodes. When a CVE or patch came out, we updated the host JDK, and all apps picked it up. That was convenient for fast security rollouts. On k8s, almost everyone I see bakes the JDK into the container image, which means: new JDK → rebuild base image → rebuild app images (or at least rebuild base) → push → roll out. That is reliable and reproducible, but it is impossible to update the JDK version for, for example, 2000 apps quickly.

Questions I have for people who run Java on k8s at scale:

Do you rebuild images for every JDK patch?

If so, how do you keep the pipeline fast/automated?

What approaches we talked about (still looking for something better):

- Rebuild images on every JDK patch (CI pipeline that automatically bumps base image + rebuilds): reproducible but heavy and slow.

- Host-provided JDK (like Mesos) via hostPath or a shared volume (every path version must be available): fast patches, but brittle (node drift, version chaos between k8s nodes, less reproducible, potential security/permission problems).

- Base, standard image for all java apps (alpine+java) that our platform updates and init container downloading user app on startup, so that we can update it in the background.

- Sidecar or init-container that places a JDK into a shared volume, and the app container uses that volume: mutable runtime without rebuilding images — how well does this work in practice?

Comments

SamInTheShell•4h ago
Java is the worse language to deal with in Kubernetes. You might want to look into Quarkus. I’m of the opinion that ditching Java for Go is better if possible.
comprev•1h ago
A patch is a change and for changes to be deployed they must go through the pipelines.

The new images are then rolled out in exactly the same controlled manner as any other new release.

From Engineers to Curators: Designing AI-Native Products

https://opuslabs.substack.com/p/software-30-is-the-era-of-architects
1•opuslabs•24s ago•0 comments

Onion CEO Ben Collins Hasn't Given Up on Print–Or Buying Infowars

https://www.wired.com/story/uncanny-valley-podcast-big-interview-ben-collins-onion/
1•coloneltcb•1m ago•0 comments

ClonOS: FreeBSD based distro for virtual hosting platform and appliances

https://clonos.convectix.com/
2•Bogdanp•1m ago•0 comments

Sudo-rs Is Now The Default sudo Of Ubuntu 25.10

https://www.phoronix.com/news/Ubuntu--Now-Default-sudo-rs
1•rurban•4m ago•0 comments

How much power does Visual Look Up use?

https://eclecticlight.co/2025/09/02/how-much-power-does-visual-look-up-use/
1•zdw•4m ago•0 comments

You Can Just Choose to Be Happy

https://www.kylestar.net/p/pursue-happiness-directly
1•paulpauper•4m ago•0 comments

Is AI the end of software engineering or the next step in its evolution?

https://www.theverge.com/ai-artificial-intelligence/767973/vibe-coding-ai-future-end-evolution
1•ianrahman•5m ago•0 comments

Why Single-Payer Health Insurance Fails

https://nicholasdecker.substack.com/p/why-single-payer-health-insurance
2•paulpauper•5m ago•0 comments

Why does academia suck? incentives

https://www.sebjenseb.net/p/why-does-academia-suck
1•paulpauper•6m ago•0 comments

Scientists develop the first 6G chip, capable of 100 Gbps speeds

https://techxplore.com/news/2025-09-scientists-world-6g-chip-capable.html
1•Brajeshwar•7m ago•0 comments

Newly Discovered Cells breathes oxygen and sulfur at the same time

https://www.wired.com/story/these-newly-discovered-cells-breathe-in-two-ways/
1•Brajeshwar•7m ago•0 comments

China's chip startups are racing to replace Nvidia

https://restofworld.org/2025/china-chip-startups-nvidia-us-export/
1•Brajeshwar•7m ago•0 comments

A Rebel Writer's First Revolt

https://www.vulture.com/article/arundhati-roy-mother-mary-comes-to-me-review.html
1•lermontov•8m ago•0 comments

What are companies trying to achieve with LLMs beyond "just chatbots"?

1•dvcoolarun•8m ago•0 comments

Inertia aims to turn a nuclear fusion breakthrough into a power plant

https://www.fastcompany.com/91394154/a-national-lab-made-a-nuclear-fusion-breakthrough-a-new-star...
1•coloneltcb•9m ago•0 comments

New cooling system patent promises significant boost in solar panel efficiency

https://techxplore.com/news/2025-08-cooling-patent-significant-boost-solar.html
1•PaulHoule•9m ago•0 comments

Ask HN: Crypto Startup Ideas

1•hansolo77•10m ago•0 comments

AI web crawlers are destroying websites in their never-ending content hunger

https://www.theregister.com/2025/08/29/ai_web_crawlers_are_destroying/
2•CrankyBear•10m ago•0 comments

WhatsApp fixes 'zero-click' bug used to hack Apple users with spyware

https://techcrunch.com/2025/08/29/whatsapp-fixes-zero-click-bug-used-to-hack-apple-users-with-spy...
1•catlikesshrimp•10m ago•1 comments

FuzzyGraph – Non-Binary Graphing Calculator

https://fuzzygraph.com
1•calebm•11m ago•1 comments

ICE reactivates contract with spyware maker Paragon

https://techcrunch.com/2025/09/02/ice-reactivates-contract-with-spyware-maker-paragon/
1•OutOfHere•11m ago•0 comments

Ableton Live 12.3: Stems, Splice, More Bounce, Auto Pan-Tremolo, and More

https://cdm.link/ableton-live-12-3-guide/
1•Kye•11m ago•0 comments

This Month in Ladybird: August 2025

https://buttondown.com/ladybird/archive/this-month-in-ladybird-august-2025/
2•bpierre•14m ago•0 comments

Ask HN: UTCP and Payments, should we standardize anything?

2•juanviera23•16m ago•3 comments

The European Data and AI Policy Manifesto for a Stronger Europe

https://www.i-programmer.info/news/105-artificial-intelligence/18288-the-european-data-and-ai-pol...
1•aquastorm•16m ago•0 comments

Indonesia protests explained: why did they start? How the government reacted?

https://www.theguardian.com/world/2025/sep/02/indonesia-protests-explained-start-how-has-the-gove...
1•felineflock•16m ago•0 comments

Anthropic: Code Execution Tool

https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/code-execution-tool
2•tosh•16m ago•0 comments

Salesforce sacrifices 4k support jobs on the altar of AI

https://www.theregister.com/2025/09/02/salesforce_4000_jobs_ai/
2•rntn•17m ago•0 comments

Show HN: 5k+ Y Combinator startups on a world map

2•leonagano•18m ago•0 comments

We Only Hire the Trendiest

https://danluu.com/programmer-moneyball/
2•piqufoh•19m ago•0 comments