Skip to content

Use ofn to get the function's logs #36

@tpiperatgod

Description

@tpiperatgod

Since we use a specific naming template to set the name of the pod in OpenFunction, when users want to check the log of the function, they cannot quickly find the corresponding function pod from the results displayed by kubectl get po.

We need to add a logs subcommand for this purpose:

ofn logs <function-name> <pod-name>

ofn logs -f <function-name> <pod-name>

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions