Skip to content

Improve rootless container Function debugging #35

Description

@negz

What problem are you facing?

We've heard from a few folks that it's hard to determine what's going wrong when their Composition Functions don't work. This is an open-ended issue to capture ideas to improve the situation.

How could Crossplane help solve your problem?

Some things to start with:

  • Document how to use xfn run and/or docker run to debug a Composition Function in isolation.
  • Have Crossplane or xfn print the FunctionIO objects it sees to debug logs.
  • Improve the error message returned when the OCI runtime can't run the function binary for some reason (e.g. wrong architecture)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions