Commit Graph

12 Commits

Author SHA1 Message Date
Arthur Mello
b61e46f1ce Add --sort-by option to kubectl top command
- Add ability to sort kubectl top nodes/pod by either CPU or memory usage
2019-04-24 08:24:52 -03:00
Jordan Liggitt
d1e865ee34 Update client callers to use explicit versions 2019-02-26 08:36:30 -05:00
Dr. Stefan Schimanski
618050e35d client-go: extend discovery intf with ServerGroupsAndResources 2019-02-12 14:28:19 +01:00
Maciej Szulik
885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Yang Li
141d33a2a5 Fix some golint errors for packages in pkg/kubectl/cmd
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
Davanum Srinivas
954996e231 Move from glog to klog
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Pingan2017
eea9994112 code cleanup for kubectl top 2018-10-30 15:01:24 +08:00
Maciej Szulik
61899e1654 Generated changes 2018-10-11 22:01:06 +02:00
Maciej Szulik
21789b85a6 Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates 2018-10-11 22:01:03 +02:00
Maciej Szulik
1d9617d8e1 Generated changes 2018-10-06 18:44:05 +02:00
Maciej Szulik
55d5df8a36 React to moves 2018-10-06 18:44:05 +02:00
Maciej Szulik
33adf367f9 Move each kubectl command to a separate directory 2018-10-06 18:44:05 +02:00