What specific compatibility do you require? That's quite a vague statement and it massively depends on your specific config.
Ultimately they're just containers so can run.
The kubernetes filter might be the thing you're interested in but that should work across all current versions assuming you configure RBAC, etc. correctly.
If you want host level access, e.g. for systemd/journald input or node exporter mounts then that's a different thing and may be specific to your underlying host nodes too.
TLDR; it depends 🙂