Skip to content

Add func logs command #3521

@lkingland

Description

@lkingland

Functions should provide a built-in way to tail logs for a deployed
function. Currently users must know the underlying service name and
use kubectl/kn-service-log manually.

func logs should stream logs for the function in the current
directory (or by name), abstracting away the underlying service
and pod details.

Options to explore: wrapping kn-service-log, embedding stern, or
a lightweight implementation using the Kubernetes logs API directly.

Related: SRVOCF-370

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Planning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions