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

Print Age in CR status of all resources #136

Closed
adrianchiris opened this issue Mar 11, 2021 · 0 comments · Fixed by #142
Closed

Print Age in CR status of all resources #136

adrianchiris opened this issue Mar 11, 2021 · 0 comments · Fixed by #142
Labels
enhancement New feature or request

Comments

@adrianchiris
Copy link
Collaborator

What would you like to be added:
Similarly to whats being done to add support for hostdevice network, we should align all CRD to instruct kubectl to print the age column.

// +kubebuilder:printcolumn:name="Age",type=string,JSONPath=.metadata.creationTimestamp,priority=0

Why is this needed:
The time of object creation is useful information for debugging and general system status.
In addition it is present for many builtin kubernetes resources

@adrianchiris adrianchiris added the enhancement New feature or request label Mar 11, 2021
@moshe010 moshe010 mentioned this issue Mar 12, 2021
34 tasks
e0ne added a commit to e0ne/network-operator that referenced this issue Mar 15, 2021
e0ne added a commit to e0ne/network-operator that referenced this issue Mar 15, 2021
Closes: Mellanox#136
Partial-Closes: Mellanox#134
Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant