The Kubewarden team is glad to announce that in the spirit of helping Policy Authors and Cluster Administrators, the project is now officially multiplatform.
The list of supported platforms as of now are:
Policy Server, as a container image:
kwctl, as a standalone binary:
aarch64, with the
x86_64, with the
We have prioritized the usage of the same dependencies and toolchain on platforms where we were able to do so.
Looking for platform convergence
Initially, we were using
openssl as dependencies in our
project. However, these two libraries are somewhat special and
sometimes problematic to converge into other platforms.
Here is a short summary of the lessons learned, sometimes the hard way, for both libraries.
In the early stages of development, the Kubewarden team decided to use the
musl libc library.
This allowed us to avoid potential difficulties with
glibc down the road (i.e., Cross-compilation time or making a full static binary).
The team also thinks that producing a final static binary for all platforms is in our users' own interests, especially for a CLI tool like
kwctl, which interacts directly with our users' environment.
The SSL stack
The second part of the puzzle is
openssl. It’s also a complex piece
As stated above, we are interested in cross compiling for multiple operating systems such as Windows and macOS (Darwin).
Luckily for us, a new TLS implementation has popped up in the Rust
ecosystem: rustls. Thanks to
rustls, it’s now easier to produce a final binary of
will work on all major platforms. And all of that is from the same source
These decisions might seem very technical or bring less value as other features. But for the Kubewarden team, it’s important we provide a solution that is suitable for as many people as possible.
And at the same time, we are trying to keep the project as convergent as possible, by reducing the number of critical, high-complexity dependencies we use in our code base.
kwctlis not building yet on Apple Silicon (macOS). We are following this closely and will release the new architecture as soon as it’s possible.
In the meantime, you’ll have to fall back to
rosettain this environment, so you can use the
Try Kubewarden in as many places as you want! We are eagerly looking for your feedback!