Kubectl updated umbrella issue for printers and describers #63503
Closed
Description
Supersedes #38768
Updated printers issues
Does not include already-completed items from #38768
or items that are no longer applicable due to recent code refactors.
- kubectl get node(s) should show all node conditions #36733 kubectl get node(s) should show all node conditions
- "kubectl get events" or something else should give a sensible timeline of events #36304 "kubectl get events" or something else should give a sensible timeline of events
- kubectl / kubernetes not 100% compatible with YAML 1.2 #34146 kubectl / kubernetes not 100% compatible with YAML 1.2
- printEventList is only used for watch-only and not for get event list #33817 printEventList is only used for watch-only and not for get event list (although no formal PR opened, the overall concern behind this issue will be addressed with server-side printing / deprecation of hardcoded print handlers).
- Kubectl panics when getting sorted replica set #30970 Kubectl panics when getting sorted replica set
- Possible Bug:
kubectl get svc --export
omitsNodePort
#28551 Possible Bug: kubectl get svc --export omits NodePort (We should be driving people away from using the "export" command - a new proposal needs to be drafted that promotes exporting all info about an object withkubectl get -o yaml
) - Feature Request:
kubectl
should outputAGE
as elapsed time in current state #28190 Feature Request: kubectl should output AGE as elapsed time in current state -
kubectl get rs
should be ordered better and hide 0 replica ones by default #27212 kubectl get rs should be ordered better and hide 0 replica ones by default - Kubectl get cluster #20374 Kubectl get cluster
-
kubectl get pods
behavior differs based on output mode wrt Failed pods #15179 kubectl get pods behavior differs based on output mode wrt Failed pods (fixed - we no longer filter out failed pods) - kubectl get -w doesn't clearly reflect resource deletions #11338 kubectl get -w doesn't clearly reflect resource deletions
- Sort yaml/json fields more helpfully when printing objects #10311 Sort yaml/json fields more helpfully when printing objects
-
kubectl get services
should warn the user if the service has no endpoints #8329 kubectl get services should warn the user if the service has no endpoints - Configmap pretty display #36222 Configmap pretty display
- kubectl doesn't reflect pod condition #30785 kubectl doesn't reflect pod condition
- kubectl view commands #29679 kubectl view commands
- kubectl -n should support both
-n namespace/yournamespace
and-n yournamespace
#29271 kubectl -n should support both -n namespace/yournamespace and -n yournamespace - JSON output format directive overrides templates #14905 JSON output format directive overrides templates
- Include more info about deployments in
get -o wide
#39147 Include more info about deployments in get -o wide
Updated describer issues
- Deployment description lacks basic info #38698 Deployment description lacks basic info
- Replica set sizes are messed in the description of a Deployment #38697 Replica set sizes are messed in the description of a Deployment
- How kubectl explain and describe output could be improved for external consumers #37576 How kubectl explain and describe output could be improved for external consumers
- GKE: Kubectl client Kubectl describe should check if kubectl describe prints relevant information for rc and pods [Conformance] #32699 GKE: Kubectl client Kubectl describe should check if kubectl describe prints relevant information for rc and pods [Conformance]
- Need to add more information in pv and pvc description #30555 Need to add more information in pv and pvc description
- kubectl pod status: describe does not match get #29876 kubectl pod status: describe does not match get
- PetSet describer should show the pod template, like RC / D / DS #29651 PetSet describer should show the pod template, like RC / D / DS
- Kubectl describe doesn't support json output #25353 Kubectl describe doesn't support json output
- Stabilize describer outputs #25251 Stabilize describer outputs
- pod status does not reflect 'Reason' codes for failures that one sees when doing kubectl describe pod <podname> #25160 pod status does not reflect 'Reason' codes for failures that one sees when doing kubectl describe pod
- kubectl describe doesn't show annotations #23380 kubectl describe doesn't show annotations
- Clarify kubectl get/describe service output #22702 Clarify kubectl get/describe service output
- Make kubectl describers and resource printers more consistent #20941 Make kubectl describers and resource printers more consistent
- kubectl describe pod does not show events for static pods #10885 kubectl describe pod does not show events for static pods
- kubectl describe - undocumented feature: resources are matched by prefix #10674 kubectl describe - undocumented feature: resources are matched by prefix
- Describers should be able to print objects from somewhere besides the server #4471 Describers should be able to print objects from somewhere besides the server
- Need consistent printing for Name, Namespace, etc #3731 Need consistent printing for Name, Namespace, etc
- kubectl describe should be resilient to errors in fetching related info #32883 kubectl describe should be resilient to errors in fetching related info
- printEvent Source to much more cleaner #13501 printEvent Source to much more cleaner
JSONPath Issues
- Kubectl -o jsonpath throws an error if field is not present in json #37991 Kubectl -o jsonpath throws an error if field is not present in json
- JSONpath not drilling down into an RS .spec.template.metadata.name #36391 JSONpath not drilling down into an RS .spec.template.metadata.name
- kubectl JSONPath doesn't allow use of
true
orfalse
keywords #28678 kubectl JSONPath doesn't allow use of true or false keywords - kubectl get -o jsonpath does not handle objects with RawExtension #27090 kubectl get -o jsonpath does not handle objects with RawExtension
- JSONpath fails to return keys containing dots in a map #23386 JSONpath fails to return keys containing dots in a map
- JsonPath nested condition and multiple conditions are not working #20352 JsonPath nested condition and multiple conditions are not working
- jsonpath template output should be json #16707 jsonpath template output should be json
- jsonpath implementation should support "$" for root in filters #15584 jsonpath implementation should support "$" for root in filters
- Unable to use kubectl get with a fieldSelector #14129 Unable to use kubectl get with a fieldSelector
- JSONPath output needs a quote operator to safely generate arguments #12771 JSONPath output needs a quote operator to safely generate arguments
- Cannot format a selector with jsonpath #15858 Cannot format a selector with jsonpath
cc @soltysh @kubernetes/sig-cli-maintainers