Commit Graph

522 Commits (e6ea4f0538285f8bdf3a493088be02610afa5c34)

Author SHA1 Message Date
Kubernetes Prow Robot f229aa0ad6
Merge pull request #75044 from errordeveloper/move-cli-runtime-subpackages
Move printers & resources packages
2019-03-08 05:43:26 -08:00
Ilya Dmitrichenko 6d7a9048b6
Move printers & resources packages
These packages deserve to live at the top level of `k8s.io/cli-runtime`,
as they are potentially of wider use than genericclioptions.
2019-03-07 23:00:24 +00:00
Tim Allclair 820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Jordan Liggitt 6c0b1b87f0 generated files 2019-02-20 16:41:14 -05:00
Jordan Liggitt 47cb9559be Move internal Ingress type from extensions to networking 2019-02-20 16:41:12 -05:00
Kubernetes Prow Robot 400502577c
Merge pull request #73894 from smarterclayton/event_involved
Print the involved object in the event table as resource/name
2019-02-13 14:31:50 -08:00
Kubernetes Prow Robot 29638dd68f
Merge pull request #67746 from WanLinghao/show-all-remove
Clean deprecated `ShowAll` variable in PrintOptions
2019-02-12 18:45:02 -08:00
WanLinghao de85b7c8a8 Clean deprecated `ShowAll` variable in PrintOptions 2019-02-11 09:18:40 +08:00
Clayton Coleman 25e0a8f56c
Print the involved object in the event table as resource/name
The involved object is important and only some events include its
name in the message. Change the `Kind` column to `Object` and print
the object in `resource/name` form to allow copy and paste
to `kubectl get`. Also move the source field column to the right
of involved object since it is related.
2019-02-10 20:16:07 -05:00
Roy Lenferink b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Jordan Liggitt 2b1a2d361f Use tabwriter with remembered column widths 2019-01-01 22:27:36 -05:00
wojtekt 9664779bdd Autogenerated code 2018-12-20 20:22:11 +01:00
wojtekt 73d14dede6 Promote Lease API to v1 2018-12-20 15:39:57 +01:00
k8s-ci-robot 2e80c3a0b2
Merge pull request #69874 from stewart-yu/patch-1
fix some wrong type in printers.go
2018-11-28 23:31:10 -08:00
zuoxiu.jm da9387131e prune internal clients from kubectl describer 2018-11-16 00:11:10 +08:00
k8s-ci-robot 68b4be3e19
Merge pull request #70775 from freehan/pod-ready-cli
add readiness gates in kubectl extended output for pods
2018-11-13 14:59:18 -08:00
k8s-ci-robot a88f2973e0
Merge pull request #70466 from Pingan2017/get-statefulset
Improve human-readable output of Deployments and StatefulSets
2018-11-13 14:59:08 -08:00
Sean Sullivan e0b712d428 kubectl: move custom columns printers and flags 2018-11-12 14:31:59 -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 182a66f9b7 add Ready column for kubectl get sts command 2018-11-10 10:40:33 +08:00
Minhan Xia 55d88c5d0b add description for pod readiness gate 2018-11-08 18:17:59 -08:00
k8s-ci-robot f212b9db23
Merge pull request #70598 from dims/switch-from-sigs.k8s.io/yaml-to-ghodss/yaml
Switch to sigs.k8s.io/yaml from ghodss/yaml
2018-11-08 10:57:36 -08:00
Minhan Xia c987e95282 add readiness gates column in the wide printout for pod 2018-11-07 16:45:49 -08:00
Davanum Srinivas 43f523d405
Switch to sigs.k8s.io/yaml from ghodss/yaml
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
Humble Chirammal bdb051c72d Refactor GlusterFS PV spec.
This patch introduces glusterfsPersistentVolumeSource addition
to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource
with an addition of a new field
called `EndpointsNamespace` to define namespace of endpoint in the
spec.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-06 15:51:01 +05:30
k8s-ci-robot 863a502c06
Merge pull request #70269 from WanLinghao/clean_describe
clean and move some code in pkg/printers/internalversion/
2018-11-01 22:16:35 -07:00
WanLinghao 462b4e190d clean unused functions in ./pkg/printers/internalversion/printers.go 2018-10-30 19:01:57 +08:00
k8s-ci-robot a9406c03a2
Merge pull request #70158 from WanLinghao/desribe_projected_volume_fix
Add support for projected volume in describe function
2018-10-29 15:54:10 -07:00
k8s-ci-robot fb6716e83c
Merge pull request #67495 from islinwb/policy_psp
use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1
2018-10-29 08:31:15 -07:00
WanLinghao 240e214048 Add support for projected volume in describe function 2018-10-29 13:00:14 +08:00
k8s-ci-robot 1df4f8eaf6
Merge pull request #70028 from liggitt/move-extensions-types
move internal apps API types out of extensions package
2018-10-26 15:56:13 -07:00
Pingan2017 4d984b3bbf display EphemeralStorage usage with kubectl describe node 2018-10-26 10:22:36 +08:00
Jordan Liggitt d0577ace6b fixup extensions->apps references 2018-10-25 21:12:57 -04:00
Weibin Lin e81776b140 update bazel 2018-10-18 10:18:15 +08:00
Weibin Lin d02e3bd780 use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1 2018-10-18 10:18:13 +08:00
Sean Sullivan a76b6ee56a kubectl: remove internalclientset dependency 2018-10-17 10:23:55 -07:00
Clayton Coleman c21774e9de
Remove defaulting from test that uses kubectl.Scheme
The dependency on printers/internalversion was causing kubectl/scheme
to have defaulters registered, which should not be the case. Remove
defaults from the test.
2018-10-16 12:54:41 -04:00
Stewart-YU a7f0e44916
fix some wrong type in printers.go
fix some wrong type in printers.go
2018-10-16 20:43:21 +08:00
k8s-ci-robot 509fd5caea
Merge pull request #69431 from Huang-Wei/kubectl-prioriyclass
`kubectl get priorityclass` prints value column
2018-10-12 19:13:42 -07:00
Wei Huang da041ec5a9
`kubectl get priorityclass` prints value column 2018-10-10 12:18:42 -07:00
Davanum Srinivas 65da81f42e
Fix up test cases
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
Ibrahim Mbaziira 6c3d9cd300
Add table printer for resource quotas 2018-10-09 20:00:28 +03:00
Christoph Blecker 97b2992dc1
Update gofmt for go1.11 2018-10-05 12:59:38 -07:00
lovejoy d022cc8a89 add pod age to describe node 2018-09-27 15:38:58 +08:00
Kubernetes Submit Queue 789c361eb7
Merge pull request #65074 from wgliang/master.describe-pv
Automatic merge from submit-queue (batch tested with PRs 65074, 67469). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Add CSI volume attributes for kubectl describe pv

**What this PR does / why we need it**:
/king feature

kubectl describe pv doesn't show the volume attributes.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #65021

**Special notes for your reviewer**:
/cc @saad-ali 

**Release note**:

```release-note
Add CSI volume attributes for kubectl describe pv.
```
2018-09-04 08:03:35 -07:00
Clayton Coleman 02099f445b
Reduce the minwidth of the cli table printer
For a few columns we want to have a smaller width and 10 is excessive.
2018-08-31 14:13:48 -04:00
lichuqiang eefd337ba0 describe allowedTopologies 2018-08-29 10:30:16 +08:00
Kubernetes Submit Queue 2eb14e3007
Merge pull request #64973 from nokia/k8s-sctp
Automatic merge from submit-queue (batch tested with PRs 67694, 64973, 67902). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

SCTP support implementation for Kubernetes

**What this PR does / why we need it**: This PR adds SCTP support to Kubernetes, including Service, Endpoint, and NetworkPolicy.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #44485

**Special notes for your reviewer**:

**Release note**:

```release-note

SCTP is now supported as additional protocol (alpha) alongside TCP and UDP in Pod, Service, Endpoint, and NetworkPolicy.  

```
2018-08-28 07:21:18 -07:00
Mike Dame 17740a2857 Update printers to include changes from autoscaling/v2beta2 2018-08-27 11:07:52 -04:00
Laszlo Janosi a6da2b1472 K8s SCTP support implementation for the first pull request
The requested Service Protocol is checked against the supported protocols of GCE Internal LB. The supported protocols are TCP and UDP.

SCTP is not supported by OpenStack LBaaS. If SCTP is requested in a Service with type=LoadBalancer, the request is rejected. Comment style is also corrected.

SCTP is not allowed for LoadBalancer Service and for HostPort. Kube-proxy can be configured not to start listening on the host port for SCTP: see the new SCTPUserSpaceNode parameter

changed the vendor github.com/nokia/sctp to github.com/ishidawataru/sctp. I.e. from now on we use the upstream version.

netexec.go compilation fixed. Various test cases fixed

SCTP related conformance tests removed. Netexec's pod definition and Dockerfile are updated to expose the new SCTP port(8082)

SCTP related e2e test cases are removed as the e2e test systems do not support SCTP

sctp related firewall config is removed from cluster/gce/util.sh. Variable name sctp_addr is corrected to sctpAddr in pkg/proxy/ipvs/proxier.go

cluster/gce/util.sh is copied from master
2018-08-27 05:56:27 +00:00