Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add role details as new columns to kubectl get jobs output for CRD. #1301

Closed
Jeffwan opened this issue Jul 14, 2021 · 4 comments
Closed

Add role details as new columns to kubectl get jobs output for CRD. #1301

Jeffwan opened this issue Jul 14, 2021 · 4 comments

Comments

@Jeffwan
Copy link
Member

Jeffwan commented Jul 14, 2021

Currently, when we run Kubectl get tfjob, it just shows jobs name without extra details. User has to describe the job to understand more details of the job.

There're multiple ways to provides rich information.

  1. Kubectl extension
  2. Since we will migrate to kubebuilder. it's very easy to add marker "\ +kubebuilder:printcolumn" to print the new columns. source: https://book.kubebuilder.io/reference/markers/crd.html

I think this will be helpful on debugging.

/good-first-issue

@google-oss-robot
Copy link

@Jeffwan:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

Currently, when we run Kubectl get tfjob, it just shows jobs name without extra details. User has to describe the job to understand more details of the job.

There're multiple ways to provides rich information.

  1. Kubectl extension
  2. Since we will migrate to kubebuilder. it's very easy to add marker "\ +kubebuilder:printcolumn" to print the new columns.

I think this will be helpful on debugging.

/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@Jeffwan
Copy link
Member Author

Jeffwan commented Jul 14, 2021

This can be done after we finish alpha release of universal operator

@gaocegege
Copy link
Member

cc @henrysecond1

@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale label Mar 2, 2022
@stale stale bot closed this as completed Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants