Skip to content

KCD Prague 2024

What was this year's Kubernetes Community Days Prague 2024 by the CNCF CZ/SK community like? Read about the experience and check out photos from the conference.

June 8, 2024

published

5 min

reading time

On June 6th and 7th, 2024, the Kubernetes Community Days Prague 2024 conference took place in Prague at the FIT CTU building, organized by the Czech-Slovak CNCF community.

Thanks to everyone who helped prepare the conference and to everyone who attended. You were amazing!

This year, the organizers picked a great date, because June 6th is Kubernetes’ birthday. And this year, it was a milestone 10th birthday!

Happy 10th birthday Kubernetes

What is KCD?

KCD stands for Kubernetes Community Days. It’s a local event focused on Kubernetes (with CNCF support) and related technologies. The event is aimed at developers, DevOps engineers, SREs, administrators, and anyone interested in Kubernetes. At KCD, you can look forward to interesting talks, workshops, and networking.

Workshop with cybroslabs

On Thursday, June 6th, together with cybroslabs (a proud sponsor of this year’s KCD in Prague), we held a workshop on Deploying a cloud-native application into a regulated energy environment.

We’ll show how we at cybroslabs handle deployment of a cloud-native application into a heavily regulated energy environment (read: not a cloud-native environment). From the ground up with Kubernetes, environment configuration, high-availability Kubernetes cluster with RKE2, a demo of deploying application components and testing high availability, disaster recovery, database failover, and backup restoration.

The workshop had great attendance. We demonstrated the deployment on our Turing Pi cluster that we brought along. We showed how we handle deployment for our customers, how we tackle challenges around Kubernetes, cluster deployment, management, and all the way to deploying the application itself, including a brief demo of what we’re working on.

I’d also like to mention our open-source ingress controller Cloudflare Tunnel Ingress Controller, available on GitHub under the clbs-io organization. For IoT, edge, demos, or a home lab, it’s a great tool for getting your applications on the internet without needing a static IP address or port forwarding. Using standard Kubernetes Ingress and Cloudflare Tunnel.

Unfortunately, the workshop was not recorded — at least we have a few photos.

Vojtech Mares presenting a workshop and pointing at the projection screen An open computer case with stickers on the open lid and a Gopher plush (Golang mascot) next to it Vojtech Mares and Ladislav Capka presenting a workshop

Talk about CloudNativePG

On Friday, June 7th, I gave a talk on CloudNativePG - PostgreSQL on Kubernetes the right way.

During the talk, I introduced the open-source Kubernetes Operator for PostgreSQL, CloudNativePG, its capabilities, and shared my/our (with cybroslabs) experience running PostgreSQL on Kubernetes in a production environment. Among the most important CNPG features are HA Postgres cluster management, backups and recovery, streaming replication, monitoring integration with Prometheus, and cluster-level replication.

If you’re interested in running a PostgreSQL cluster on Kubernetes, come to my training Postgres on Kubernetes.

Vojtech Mares with a microphone, presenting about CloudNativePG

I think the talk went well, but there’s still room for improvement. I’d give myself a 7/10.

The full presentation is available here. The recording is also on YouTube.

My highlights from KCD

These are just my observations, of course. If you’re interested in other talks, here’s the YouTube playlist of the presentations.

KEDA supports Gateway API!

KEDA (Kubernetes Event-Driven Autoscaler) now supports and continues to expand support for Kubernetes Gateway API (the future of Kubernetes Ingress).

And that’s not all — KEDA enables scaling down to zero. And without tools like Knative. The trade-off is that a KEDA Interceptor (proxy) sits in front of your workload and handles scaling decisions. There was a demo too, and it worked really nicely. The speed at which KEDA scaled pods was truly impressive. Unlike regular HPA (Horizontal Pod Autoscaler), which scales based on CPU/RAM usage, scaling based on request count was much faster — both scale up and scale down.

When I asked about the performance overhead, the answer was that according to benchmarks, response time is about 10ms longer and the number of requests handled per second dropped from 2000 to 1600, which is a 20% decrease. That’s not negligible, but if your application doesn’t need to be strictly real-time, it’s livable and you benefit from more efficient scaling. WebSockets are not yet supported, but there’s an open pull request on GitHub.

Event mesh

As if we didn’t have enough meshes in the Kubernetes world, let’s add an event mesh on top of the service mesh!

Event mesh is integrated into Knative. And yet for a quick demo, Kafka wasn’t even needed.

Event mesh builds on separating data reads (synchronous operations) from writes (asynchronous operations). This goes hand in hand with the CQRS principle (Command Query Responsibility Segregation).

Up to this point, event mesh isn’t really different from event sourcing. For me, the breakthrough was how easily it could be integrated into a legacy application (in this case, a Java application demo) while also having new (micro)services alongside it, for example in Rust.

The downside of event mesh is that data isn’t always consistent (eventual consistency), but that’s the price of asynchronous processing.

Comparing Kubernetes PostgreSQL operators

Coincidentally, right before my talk, there was a presentation about various Kubernetes PostgreSQL operators. I had done this comparison myself a few months back, before we at cybroslabs settled on CNPG.

Operators mentioned included Zalando, CrunchyData PGO, CloudNativePG, StackGres, and briefly the bitnami/postgresql Helm Chart.

David Pech not only talked about the differences between the individual operators but also showed benchmark results for each.

In conclusion: CloudNativePG is great! I was naturally pleased by this, as I could follow up directly with my own talk. But if you’re not PostgreSQL experts and have the option to use a managed database, that’s a better choice.

Thanks and see you next year!

In two packed days, I attended a lot of great talks, gave a presentation and led a workshop, met old friends and made new connections…

Thanks for an amazing event in Prague and looking forward to next year in Bratislava!

Group photo of KCD Prague 2024 attendees

This website uses cookies for traffic analysis via Google Analytics. They help me improve the site based on anonymous statistics. More information in the cookie policy.