Commit Graph

46 Commits

Author SHA1 Message Date
Vladimir Vivien
8e0cf65310 Enforce pod security policy for CSI inline 2019-05-29 15:38:21 -04:00
Kubernetes Prow Robot
33f44a29b8 Merge pull request #77617 from cmluciano/cml/extensiontonetworking
ingress: migrate extensions.Ingress to networking.Ingress
2019-05-10 17:56:12 -07:00
Christopher M. Luciano
d9e4933da3 ingress: migrate extensions.Ingress to networking.Ingress
This is a find/replace within my editor. I made the import
networkingv1beta1 so that it will be easier to replace for
the future v1 migration.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-10 13:18:53 -04:00
Daniel (Shijun) Qian
5268f69405 fix duplicated imports of k8s code (#77484)
* fix duplicated imports of api/core/v1

* fix duplicated imports of client-go/kubernetes

* fix duplicated imports of rest code

* change import name to more reasonable
2019-05-08 10:12:47 -07:00
danielqsj
7e4dbbac40 Fix describe error of Successful Job History Limit 2019-05-03 00:20:42 +08:00
caiweidong
653708b836 fix duplicated pod priorityClassName 2019-04-22 21:34:04 +08:00
Kubernetes Prow Robot
29163600fe Merge pull request #76796 from dims/remove-unused-methods
Remove unused code
2019-04-19 11:09:55 -07:00
Davanum Srinivas
7b8c9acc09 remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
caiweidong
31f751c9f6 Kubectl describe xxx suport PriorityClassName 2019-04-19 01:08:08 +08:00
WanLinghao
d0138ca3fe This commit does two things in pkg package:
1. Remove unused ptr functions.
2. Replace ptr functions with k8s.io/utils/pointer
2019-04-09 10:56:35 +08:00
Bobby (Babak) Salamat
16a7cbd320 generated files 2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat
8574e3e3f4 Use Scheduling V1 API instead of Scheduling v1beta1 2019-04-05 14:21:45 -07:00
Kubernetes Prow Robot
483cd0db09 Merge pull request #75483 from gsadhani/describe-output-fix
Skip smart label in kubectl describe if field has special chars
2019-04-01 04:54:33 -07:00
Kubernetes Prow Robot
30165e40dd Merge pull request #75863 from cwdsuzhou/optimize-describe-pvc-organization
Optimize describe pvc output organization
2019-03-29 11:49:03 -07:00
Girish Sadhani
029582d339 Skip smart label in kubectl describe if field has special chars
Attempts to create smart label for fields containing special chanracter ends
up looking very odd. This change skips creating smart labels for fields
containing special characters other than '-'.
2019-03-29 23:00:08 +05:30
caiweidong
732ef847e8 Optimize descrive pvc output organization 2019-03-29 11:29:09 +08:00
Kubernetes Prow Robot
194114e45e Merge pull request #75513 from cwdsuzhou/fix-incline-csivolume
Kubectl: support inline csi volume
2019-03-27 18:40:57 -07:00
caiweidong
af5d6518ff Kubectl: support inline csi volume 2019-03-20 23:56:25 +08:00
Bruce Ma
814e1ca73f make describers of different versions work properly when autoscaling/v2beta2 is not supported 2019-03-08 20:29:49 +08:00
caiweidong
bdfd420c6d Bugfix: kubectl shows last<invalid> if pv, pod, pvc is terminating
fix describe ut
2019-03-05 14:03:34 +08:00
Jordan Liggitt
d1e865ee34 Update client callers to use explicit versions 2019-02-26 08:36:30 -05:00
Kubernetes Prow Robot
3afa003126 Merge pull request #73555 from bsalamat/priority_to_ga
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Bobby (Babak) Salamat
453498fe2c Graduate PriorityClass to GA 2019-02-22 10:51:13 -08:00
Jordan Liggitt
f139218ac0 generated files 2019-02-20 23:32:46 -05:00
Jordan Liggitt
8c28d3f63c Add networking.k8s.io/v1beta1 Ingress 2019-02-20 16:41:14 -05:00
gaorong
5efbdb02bf fix kubectl describe static pod cann't get event messages 2019-02-16 13:01:06 +08:00
Kubernetes Prow Robot
a92729a301 Merge pull request #64820 from WanLinghao/ctl_selfsubjectrulesreview_support
Add `kubectl auth can-i --list` option which could help users know what actions they can do in specific namespace
2019-02-12 23:22:23 -08:00
Kubernetes Prow Robot
a3f74bd583 Merge pull request #72872 from arjunrn/object-average-value
Added functionality for specifying target average value for object me…
2019-02-01 06:31:50 -08:00
Arjun Naik
c99d505001 Added functionality to use target average value for object metrics
Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
2019-01-23 21:00:05 +01:00
WanLinghao
d4f5228b81 Add kubectl auth can-i --list option which could help users know what actions they can do in specific namespace. 2019-01-19 15:58:44 +08:00
Kubernetes Prow Robot
9cc39a5614 Merge pull request #69279 from dtaniwaki/print-size-limit
Print SizeLimit of EmptyDir
2019-01-17 04:06:31 -08:00
Kubernetes Prow Robot
1d8960798b Merge pull request #72142 from hchenxa/hchenxa
only use system namespace when default backend not defined
2019-01-15 07:17:43 -08:00
Thomas Hartland
1bcab05f7d Dereference number of replicas in describe statefulset 2019-01-10 14:56:18 +01:00
Kubernetes Prow Robot
62e8a1bf40 Merge pull request #71313 from wozniakjan/kubectl/fix_pv_describe_openstack
kubectl: fix PV describe output for Cinder
2019-01-04 06:39:45 -08:00
Hui Chen
c06194337c only use system namespace when default backend not defined 2018-12-18 14:10:16 +08:00
Maciej Szulik
14aa4b8c73 Add failed and successful history limits to cronjob describe 2018-12-07 14:34:54 +01:00
Kubernetes Prow Robot
dde084fc55 Merge pull request #71553 from WanLinghao/token-projected-volume-fix
fix a bug in 'kubectl describe'
2018-12-02 22:44:15 -08:00
WanLinghao
a8639e5b93 Before this patch, the projected volume in kubectl describe command looks like:
...
    Volumes:
      kube-api-access-jp24b:
        Type:                    Projected (a volume that contains injected data from multiple sources)
        TokenExpirationSeconds:  0xc00071bee0
    ...

After this patch, it looks like:
    ...
    Volumes:
      kube-api-access-jp24b:
        Type:                    Projected (a volume that contains injected data from multiple sources)
        TokenExpirationSeconds:  3600
    ...
2018-11-29 17:06:47 +08:00
Daisuke Taniwaki
deeb4c1403 Print sizeLimit 2018-11-27 12:11:59 +09:00
Jan Wozniak
be8eeaa5e6 kubectl: fix PV describe output for Cinder 2018-11-21 11:11:22 +01:00
Daisuke Taniwaki
49d762d929 Fix SubPath printing 2018-11-17 01:41:44 +09:00
zuoxiu.jm
5ede82cdc7 fixes duplicated describer client 2018-11-16 11:30:05 +08:00
zuoxiu.jm
da9387131e prune internal clients from kubectl describer 2018-11-16 00:11:10 +08:00
Sean Sullivan
a76b6ee56a kubectl: remove internalclientset dependency 2018-10-17 10:23:55 -07:00
Clayton Coleman
defd8713ac Fix govet errors in generators 2018-10-16 12:54:40 -04:00
Clayton Coleman
5e905f1f5f Move versioned generators into their own package
pkg/kubectl has a lot of files. Move everything generator related
into pkg/kubectl/generate (generic) or pkg/kubectl/generate/versioned
(type specific).

Move the DescriberFn and GeneratorFn out of kubectl/cmd/util and into
the respective versioned packages, along with tests.
2018-10-16 12:54:40 -04:00