Commit Graph

1625 Commits

Author SHA1 Message Date
Antoine Pelisse 9b65b5d09f Update SMD to v4.0.1 and kube-openapi
Kubernetes-commit: f4c145511a0bb62ea7ee1f2154945c84c17ffcd5
2020-08-10 13:02:25 -07:00
Kubernetes Publisher ee4ab70396 Merge pull request #93810 from liggitt/json-patch-4.8.0
Update to json-patch 4.8.0

Kubernetes-commit: 9b78bd59796d3937986934582230174606403780
2020-08-08 21:50:34 +00:00
Jordan Liggitt c2dd64005b Update to json-patch 4.8.0
Kubernetes-commit: cc6814f83ccad671c79570b44c84b280709b4c74
2020-08-08 09:53:56 -04:00
brianpursley f9c04a0266 Sort kubectl top output when --sort-by and --containers are used together
- Changed kubectl top to sort first at the pod level and then at the container level when --sort-by and --containers are used together.
- Refactored printSinglePodMetrics into two separate functions instead of passing in bool to change behavior.
- Refactored MetricsSorters to simplify code.
- Added unit tests to test container sorting.
- Fixed pod sorting unit tests which were not working because it was checking for --sort-by command line flag which was never true.

Kubernetes-commit: 04266b37ded103ddb84a192ec816499904fce1d1
2020-08-06 11:47:09 -04:00
Jan Chaloupka 81135b09fa kubectl describe pod: use ReportingController as an event source
With https://github.com/kubernetes/kubernetes/pull/91645 merged (promotion of v1beta1 events to v1),
it's no longer permitted to set Source field.
Based on https://stupefied-goodall-e282f7.netlify.app/contributors/design-proposals/instrumentation/events-redesign/#backward-compatibility
Source.Component is supposed to be replaced by ReportingController.
Source.Host is supposed to be replaced by DeprecatedHost, though DeprecatedHost
was never implemented. Thus, ignoring the second field.

Kubernetes-commit: 71edf075de3ea0e26aa40f06f1670862aaebcf33
2020-08-04 18:10:34 +02:00
Kubernetes Publisher 596d7b0fff Merge pull request #93602 from liggitt/utils
Update k8s.io/utils

Kubernetes-commit: a5090a8ff253e1aa626cd5613329e23aaec27e88
2020-07-31 17:47:46 +00:00
Jordan Liggitt d9fcb50af1 Update k8s.io/utils
Kubernetes-commit: c11e52f410603d2e8eaf6591b4c83ab19d233b17
2020-07-31 10:44:33 -04:00
Clayton Coleman 8a21d7e297 kubectl: Allow --patch-file to be passed to `kubectl patch`
The current structure is limited in the size of the patch it can
accept depending on the shell of the environment (for instance, a
900kb patch cannot be applied in bash 4 on Fedora 32). Allow a user
to specify `--patch-file` to provide a file containing the patch
rather than directly on the command line.

Kubernetes-commit: 6c165083ce4665dbdbc29fbdea03e538e87abaa2
2020-07-29 18:40:55 -04:00
ZeroMagic f2f2840ef9 chore: upgrade Azure/go-autorest to v14.2.0
use autorest v0.11.1

Signed-off-by: ZeroMagic <jiliu8@microsoft.com>

Kubernetes-commit: 7b444eeff37234c329a0c2ccbd5195e434c22791
2020-07-28 07:25:04 +00:00
Kubernetes Publisher b86be62d69 Merge pull request #93264 from justaugustus/go115
Update Golang to v1.15.0-rc.1

Kubernetes-commit: 9a20f30745477423e8776bb0d05316c00648f49b
2020-07-26 13:50:41 +00:00
Jordan Liggitt ca30ecb5f1 generated: hack/update-vendor.sh
Kubernetes-commit: 6c2d18369f688b7200cefdca71709bb698081e84
2020-07-25 15:27:12 -04:00
Jordan Liggitt c5919219c5 [go1.15] go.mod: update to go1.15
Kubernetes-commit: 247fcdfda5311bfc446c61c7bda67803e3527fdd
2020-07-25 15:02:16 -04:00
Jordan Liggitt 353194706c generated: hack/update-hack-tools.sh && hack/update-vendor.sh
Kubernetes-commit: f33dc2809401c1bf6178a6e38b957f96d77dc6b8
2020-07-25 14:58:28 -04:00
Kubernetes Publisher 79647b2da0 Merge pull request #93425 from liggitt/string-cast
Fix int->string casts

Kubernetes-commit: 19caf386650b80ce9d288cc8c42efcf2f0fd87b1
2020-07-25 09:44:55 +00:00
Jordan Liggitt 197605389f Fix int->string casts
Kubernetes-commit: 124a5ddf725c4862520d8619017cac9db7a03522
2020-07-24 11:13:07 -04:00
Antoine Pelisse 197a2c448d Mention background deletion in kubectl delete cascade help
Kubernetes-commit: 6b7dea4c03ee5aab41fa5575bd0a45ca195add54
2020-07-22 16:06:50 -07:00
Kubernetes Publisher 1cd20c9a5d Merge pull request #93253 from liggitt/utils-trace
Update k8s.io/utils

Kubernetes-commit: bb079afdef2b36a9fc9d081411a1de18b91d1ae0
2020-07-21 05:45:56 +00:00
Jordan Liggitt 69a222c13c Update k8s.io/utils
Kubernetes-commit: 7aacbeac144a7772fa8eac5582bbd64bc52804a4
2020-07-20 11:12:29 -04:00
Kubernetes Publisher 046a2801c1 sync: update go.mod 2020-07-20 11:11:36 +00:00
Maciej Szulik e80cf9ce71 Use temporary directory when creating temporary file in tests
Kubernetes-commit: a7529f4cd90ea6f662e1398608eccd86e886026f
2020-07-17 10:41:16 +02:00
Abhishek Raut 05cb9b1f24 Fix NetworkPolicy describe for egress-all policies
NetworkPolicy egress-all `kubectl describe` output should refer
to the term "destination" as opposed to "source" for describing
policies which do not restrict traffic based on the destination.

Kubernetes-commit: e0caf0b46f061c3fafa10aef83592fe300f2bf52
2020-07-15 18:58:25 -07:00
Danielle Lancashire 9df9211772 deps: opencontainers/go-digest -> v1.0.0
Kubernetes-commit: dcf9f19fc7de563c08b338014cb1a206ef7ca27e
2020-07-13 21:21:17 +02:00
Kubernetes Publisher 7e723653e3 Merge pull request #90959 from ica10888/master
Better understanding of kubectl attach description

Kubernetes-commit: bb8a5d2ada1037ca5e4a3da46ffebee92421bf8a
2020-07-13 14:51:39 +00:00
Kubernetes Publisher 22a2574902 Merge pull request #92310 from verb/cli-debug-node+aylei
kubectl debug: support debugging nodes

Kubernetes-commit: 2234e2b9db382f3d3fa312c9701750e0ad8899ae
2020-07-13 14:51:37 +00:00
Kubernetes Publisher 0f6faad16f Merge pull request #92919 from dashpole/update_cadvisor
Update cAdvisor to v0.37.0

Kubernetes-commit: 6b5dc3770851fdc1f356e36fd17810c744181fb1
2020-07-13 14:51:33 +00:00
Kubernetes Publisher 29c46beead Merge pull request #91264 from sallyom/dupeVerbsDescribe
When combining PolicyRules, don't duplicate verbs

Kubernetes-commit: 79428712b1c829cfefa79feb47c0c3f7e6d7703f
2020-07-13 14:51:30 +00:00
Kubernetes Publisher 141dc474a6 Merge pull request #92784 from pohly/generic-ephemeral-inline-volumes
generic ephemeral inline volumes

Kubernetes-commit: 0cb7e320a5bbd0bbd4fe32c9c88956058160376c
2020-07-11 02:11:23 +00:00
Kubernetes Publisher 70b0132593 Merge pull request #92661 from jpbetz/smd-bump-field-unsetting
Bump to SMD PR#166 to pick up unsetting field changes and add integration tests

Kubernetes-commit: 49dced762da7bc9f74474e9f8f3efe198ff46767
2020-07-11 02:11:20 +00:00
David Ashpole a75fc4796d update cAdvisor to v0.37.0
Kubernetes-commit: 1f70708f6cc85985725c11cd69c4965c1f97b314
2020-07-09 10:23:10 -07:00
Patrick Ohly 953fac2d9a GenericEphemeralVolume: kubectl describe
This reuses the code for describing a PVC, except that the output gets
indented more and some fields are skipped.

Kubernetes-commit: c1178bd925b54898e66cace37d35bf551380a75b
2020-07-03 12:09:34 +02:00
Joe Betz 31de74a575 Bump to sigs.k8s.io/structured-merge-diff 43c19b to pick up unsetting fields changes PR#166
Kubernetes-commit: 11c38a9c703b825c61d6490e8da85202b760f3b1
2020-06-26 20:05:34 -07:00
Kubernetes Publisher 754c6cc563 Merge pull request #92611 from liggitt/go1.13
Tolerate go 1.13 builds

Kubernetes-commit: 896da2253c77d15fc551843e515039c6e9c86c99
2020-07-09 14:26:39 +00:00
Kubernetes Publisher 3ffea8ef72 Merge pull request #91946 from soltysh/strip_managed_fields
Strip .meta.managedFields for kubectl edit command

Kubernetes-commit: f861a04ee79c909b0913bf57d0adf175990af1d3
2020-07-09 14:26:36 +00:00
Kubernetes Publisher 4bf9a811f8 Merge pull request #91858 from SataQiu/fix-kubectl-2020060603
kubectl: fix the bug that kubectl scale does not honor --timeout flag

Kubernetes-commit: 7fc3d9771b35b0c55397990079bfc84544d9e4c4
2020-07-09 14:26:33 +00:00
Kubernetes Publisher 0dceec77b5 Merge pull request #91855 from SataQiu/fix-kubectl-2020060602
kubectl: fix the bug that kubectl autoscale does not honor --name flag

Kubernetes-commit: 9ad74781c756fa2d9c4b328f594a933774bd5ef6
2020-07-09 14:26:31 +00:00
Kubernetes Publisher ecac7558af Merge pull request #90094 from aylei/aylei/debug-by-copy
Add debug by copy support for kubectl alpha debug command

Kubernetes-commit: 8d7aaa5e7b1a8b008439b29b940c9f74a75f5e71
2020-07-09 14:26:28 +00:00
Kubernetes Publisher d633068de0 Merge pull request #91127 from aubm/refactor-command-kubectl-create-clusterrolebinding
Remove the dependency between create clusterrolebinding command and generators

Kubernetes-commit: bc60bdaded587ef638c165c49680728a57326f29
2020-07-08 17:31:16 +00:00
Kubernetes Publisher 1c9bdd2137 Merge pull request #92834 from ykakarap/kubectl_force_flag_serverside
kubectl: cannot use --force with --server-side

Kubernetes-commit: 3615291cb3ef45323c563f5a72006a5d7aeff0cf
2020-07-07 05:32:23 +00:00
Yuvaraj Kakaraparthi 36c221e3cf kubectl: cannot use --force with --server-side
Kubernetes-commit: f93ad0204eeeb21e567df3d5841847373bf7a646
2020-07-06 10:07:26 -07:00
Kubernetes Publisher 10a2ba5463 Merge pull request #92691 from zhouya0/change_kubectl_list_option_stdout
Change kubectl label and annotation list option stdout

Kubernetes-commit: 6cedc0853faa118df0ba3d41b48b993422ad3df6
2020-07-02 17:33:05 +00:00
zhouya0 384af9bcb2 Change kubectl list option stdout
Kubernetes-commit: abad08d915531a6f8686f58a8cb41395ed77c714
2020-07-01 17:00:25 +08:00
Kubernetes Publisher 54a533a9db Merge pull request #92554 from serathius/klog-upgrade
Update k8s.io/klog to v2.2.0

Kubernetes-commit: bd60f0787e2b6ba9ab82281879afa641677f0d3d
2020-07-02 09:41:07 +00:00
Kubernetes Publisher c9180e990f Merge pull request #92576 from zhouya0/support_kubectl_annotate_list
Support kubectl annotate --list option

Kubernetes-commit: 8b9c9eade3447a9c2d0ac089bd960dc71996cb84
2020-07-01 09:38:42 +00:00
Alex Wang f00cf71393 Promote NonPreempt feature gate to beta (#91899)
* update nonpreempt featuregate to beta

* update

Kubernetes-commit: 209117413f32ec64e800dc32f69055ef2af75d54
2020-06-30 09:39:05 +00:00
Kubernetes Publisher a4cdc8ac7b Merge pull request #90857 from sethpollack/diff-selectors
add labels to diff command

Kubernetes-commit: 696e60d95162cb4cacd0891933969cb27572d65b
2020-06-30 09:39:03 +00:00
Jordan Liggitt a45e121c80 Generated files
Kubernetes-commit: ddfe1372549c57c36bb5c3077584d448f117e706
2020-06-29 12:46:44 -04:00
zhouya0 1432c7799a Support kubectl annotate list
Kubernetes-commit: ca1d598e58ab3efe4a6f51aaff8fb9796a0a11d0
2020-06-28 11:30:41 +08:00
Marek Siarkowicz 3075c620f9 Update k8s.io/klog to v2.2.0
Kubernetes-commit: e72521e1d7e2eef32e78828ab111670fe2f591ae
2020-06-26 19:09:04 +02:00
Kubernetes Publisher 42bf054e19 Merge pull request #91366 from giuseppe/cgroupfs-cgroupv2
vendor: update google/cadvisor and opencontainers/runc

Kubernetes-commit: a03db636daef0417218ef8c108c0a6530d2ef368
2020-06-26 13:41:25 +00:00
Giuseppe Scrivano 3f8bf048c5 vendor: update google/cadvisor and opencontainers/runc
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Kubernetes-commit: a6a3bf2eb4a0b7e9f86f991ffc24b72beafce2f4
2020-06-24 10:56:34 +02:00