Re:
by pmig on Sunday February 05, 2023 @03:26PM
(#34668923)
We are currently developing a Kubernetes operator in Kotlin and exploring methods the reduce memory footprint. Graal Native gives us a reduction from 400mb to less than 200mb. But seeing your numbers it still seems bloated.
[ Parent
| on HN ]
Re:
by Felmioytfr on Sunday February 05, 2023 @04:12PM
(#34669452)
Hui that sounds massive.
My quarkus kotlin native image build results in 80mb last time I checked
Yes we needed to include the quarkus operator SDK. Do you use Graal native in production?
Why did you built it in Java in the first place, Go would probably yield way better result.
We were more familiar with Kotlin than Go. Also the Go Operator Framework looked more a less like a code generator. With the Java operator sdk many of these tasks are integrated into the framework. In the end all operators just performing and receiveing REST calls against the Kubernetes API.