Comments on: Speed Up Java Startup on Kubernetes with CRaC https://piotrminkowski.com/2023/09/05/speed-up-java-startup-on-kubernetes-with-crac/ Java, Spring, Kotlin, microservices, Kubernetes, containers Wed, 10 Apr 2024 08:00:59 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2023/09/05/speed-up-java-startup-on-kubernetes-with-crac/#comment-2392 Wed, 10 Apr 2024 08:00:59 +0000 https://piotrminkowski.com/?p=14496#comment-2392 In reply to Julien.

Yes, for several pods we need RWX.
Checkpoint is created once you run the new app version for the first time using the Kubernetes Job, then it is restored by the deployment pods. There is no any ConfigMap there.

]]>
By: Julien https://piotrminkowski.com/2023/09/05/speed-up-java-startup-on-kubernetes-with-crac/#comment-2391 Tue, 09 Apr 2024 21:43:23 +0000 https://piotrminkowski.com/?p=14496#comment-2391 Since you are using a PVC, to ensure your pods to be ableto spread on multiple Node, you’ll need an Accessmode allowing ReadWriteMany am I right ?
How would you manage a Checkpoint creation each time the configMap holding App configuration ENV would change ?

]]>
By: piotr.minkowski https://piotrminkowski.com/2023/09/05/speed-up-java-startup-on-kubernetes-with-crac/#comment-2358 Mon, 11 Mar 2024 14:35:23 +0000 https://piotrminkowski.com/?p=14496#comment-2358 In reply to Tony Paillo.

For sure the checkpoint operation requires it. I didn’t try to remove that on the Deployment, but maybe it would also work fine without that.

]]>
By: Tony Paillo https://piotrminkowski.com/2023/09/05/speed-up-java-startup-on-kubernetes-with-crac/#comment-2356 Sun, 10 Mar 2024 19:22:53 +0000 https://piotrminkowski.com/?p=14496#comment-2356 Thanks for the detailed steps, very interesting !
But the recovery stage has to be in a privilieged security context ?

]]>
By: Mahatma Fatal https://piotrminkowski.com/2023/09/05/speed-up-java-startup-on-kubernetes-with-crac/#comment-2135 Fri, 15 Sep 2023 07:51:45 +0000 https://piotrminkowski.com/?p=14496#comment-2135 If only there were an k8s operator to automate the process even further

]]>