Installation¶
Automatic (Linux / macOS)¶
Manual binary download¶
Replace <VERSION> with the desired release tag (e.g. v0.4.3):
KARMAFUN_VERSION="v0.4.3"
curl -sLo /usr/local/bin/karmafun \
https://github.com/karmafun/karmafun/releases/download/${KARMAFUN_VERSION}/karmafun_${KARMAFUN_VERSION}_linux_amd64
chmod +x /usr/local/bin/karmafun
Binaries for macOS (darwin_amd64, darwin_arm64) and Windows are also
available on the Releases page,
along with native packages for Alpine, Debian/Ubuntu, RPM-based distros, and
Arch Linux.
Package managers¶
Add the signing key and repository, then install:
Download and install the .deb package from the
Releases page:
Download and install the .rpm package:
Download and install the .pkg.tar.zst package:
Container image¶
Use the container image instead of the exec path when running in environments
where you cannot install a binary.
Kustomize plugin registration¶
karmafun setup (or karmafun install) creates the required symlinks under the
kustomize plugin directory so that kustomize can discover all plugin kinds:
This is only needed when using karmafun as a legacy exec plugin (i.e., without
the config.kubernetes.io/function annotation).