Commit Graph

2138 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
22a03f893d Merge pull request #107207 from ehashman/deprecate-log-sanitization
Deprecate dynamic log sanitization
2022-01-15 15:19:26 -08:00
Jiahui Feng
31205dc7d9 generated: ./hack/update-vendor.sh 2022-01-14 10:31:44 -08:00
Patrick Ohly
072859c967 logs: create separate test/integration directory
The benchmark depends on k8s.io/api (for v1.Container). Such a dependency is
not desirable for k8s.io/component-base/logs, even if it's just for
testing. The solution is to create a separate directory where such a dependency
isn't a problem.

The alternative, a separate package with its own go.mod file under
k8s.io/component-base/logs wouldd have been more complicated to maintain (yet
another go.mod file and different whitelisted dependencies).
2022-01-11 09:56:22 +01:00
Elana Hashman
55a1936f58 DEPRECATION: remove experimental dynamic log sanitization 2021-12-23 13:03:06 -08:00
Kubernetes Prow Robot
38ec822b46 Merge pull request #107103 from pohly/log-klog-update
dependencies: update klog to v2.40.1
2021-12-21 13:58:02 -08:00
Kubernetes Prow Robot
7046fc258d Merge pull request #104733 from thaJeztah/bump_moby_term
go.mod: github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
2021-12-20 19:24:45 -08:00
Patrick Ohly
cb17b76d4d dependencies: update klog to v2.40.1
The new release adds support for multi-line string output (required for
contextual logging) and Verbose.InfoSDepth (required to properly attach
verbosity to some log messages in helper code).
2021-12-19 17:31:25 +01:00
Crt Mori
fadb36effb Update to runc v 1.0.3
fix GetStats for unsupported hugetlb needed to run on RaspberryPi4 with non-hugetlb compiled kernel (standard). This includes the https://github.com/opencontainers/runc/pull/3233

Used commands from hack folder to generate the new dependency:

```
hack/pin-dependency.sh github.com/opencontainers/runc v1.0.3
hack/update-vendor.sh

hack/lint-dependencies.sh
```
2021-12-13 22:32:45 +01:00
Kubernetes Prow Robot
2ae44bd74a Merge pull request #106601 from liggitt/gomodule-gengo-normalize
bump k8s.io/gengo
2021-12-13 12:46:27 -08:00
Kubernetes Prow Robot
e53f93c7bb Merge pull request #105164 from ardaguclu/kubectl-diff-prune
Introduce new prune parameter into diff command
2021-12-13 11:31:58 -08:00
Jordan Liggitt
6e628f9970 bump k8s.io/gengo 2021-12-13 10:05:29 -05:00
Jordan Liggitt
0c5ed62c79 bump sigs.k8s.io/json 2021-12-13 09:38:11 -05:00
Kubernetes Prow Robot
8b9e1d78f6 Merge pull request #106964 from ncdc/portable-code-generation
Code generation outside GOPATH
2021-12-10 17:48:32 -08:00
Kubernetes Prow Robot
c7ff5758db Merge pull request #106922 from cheftako/anp-release
Bump konnectivity network proxy to v0.0.27.
2021-12-10 14:11:21 -08:00
Andy Goldstein
60d2481b88 Bump k8s.io/gengo to v0.0.0-20211115164449-b448ea381d54
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2021-12-10 14:30:53 -05:00
Kubernetes Prow Robot
b0eb3e1ec2 Merge pull request #106949 from cpanato/update-golang-xnet
dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
2021-12-10 08:13:11 -08:00
Kubernetes Prow Robot
1d66302c42 Merge pull request #106458 from dims/lint-yaml-in-owners-files
Lint/Beautify yaml in OWNERS files
2021-12-10 06:39:12 -08:00
Carlos Panato
37dda91186 dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 12:54:55 +01:00
Davanum Srinivas
a5c670102c Cleanup owners files to make parsing automatable
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:03 -05:00
Walter Fender
b869d5550c Bump konnectivity network proxy to v0.0.27.
/kind feature

Includes fixes for a few resource leaks.
Set the dependency chain to K/K v0.0.21.

Fixes # N/A

```release-note
NONE
```

```docs
NONE
```
2021-12-09 11:56:20 -08:00
Davanum Srinivas
627c50661e Update golang.org/x/tools to a specific tag and avoid SHA
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 14:23:55 -05:00
Madhav Jivrajani
4ca13e6f0e Bump k8s.io/utils
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-12-09 16:16:27 +05:30
Kubernetes Prow Robot
a8e06cf2bf Merge pull request #106473 from Dingshujie/fix_inotify_memory_leak
update k/utils to v0.0.0-20211116205334-6203023598ed to fix inotify memory leak
2021-12-08 19:32:09 -08:00
Davanum Srinivas
420145e529 drop things from vendor/ directory
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-08 08:07:03 -05:00
DingShujie
25cf49770c update k/utils to v0.0.0-20211116205334-6203023598ed 2021-11-25 09:29:03 +08:00
Jordan Liggitt
ed68909177 Revert sigs.k8s.io/structured-merge-diff/v4 to v4.1.2 2021-11-24 10:32:24 -05:00
Sascha Grunert
de37b9d293 Make CRI v1 the default and allow a fallback to v1alpha2
This patch makes the CRI `v1` API the new project-wide default version.
To allow backwards compatibility, a fallback to `v1alpha2` has been added
as well. This fallback can either used by automatically determined by
the kubelet.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-11-17 11:05:05 -08:00
Jefftree
d01c42c454 go mod vendor 2021-11-16 17:38:55 -08:00
Kubernetes Prow Robot
e14bdbaa1c Merge pull request #105057 from jiahuif-forks/feature/enum-types-feature-enablement
Add Support for OpenAPIEnum in OpenAPI v2
2021-11-16 16:35:55 -08:00
Joe Betz
0e0468b75e Enable feature gated custom resource validation using validation rules 2021-11-15 21:47:24 -05:00
natasha41575
5991d3ded0 upgrade kustomize-in-kubectl to v4.4.1 2021-11-12 10:57:32 -08:00
Neha Lohia
fa1b6765d5 move pkg/util/node to component-helpers/node/util (#105347)
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
2021-11-12 07:52:27 -08:00
Kubernetes Prow Robot
3f0a634ef7 Merge pull request #106323 from neolit123/1.23-update-system-validators-to-1.6.0
vendor: update system-validators to v1.6.0
2021-11-10 14:56:53 -08:00
Lubomir I. Ivanov
2c5e961d1f vendor: update system-validators to v1.6.0
Includes support for btrfs in the Docker validator
which was added in kubelet ~1.22.
2021-11-10 22:25:31 +02:00
Joe Betz
7a593e49ff Integrate CEL in wired off state to appease verify vendor 2021-11-10 13:15:45 -05:00
Joe Betz
d73403dc12 Pin new dependency: github.com/google/cel-go v0.9.0 2021-11-10 13:15:40 -05:00
Kubernetes Prow Robot
b56dc43458 Merge pull request #106282 from bobbypage/cadvisor-v043
vendor: Bump cAdvisor to v0.43.0
2021-11-10 08:17:38 -08:00
David Porter
c6452be958 Bump cAdvisor to v0.43.0
Bumping cAdvisor from v0.39.2 -> v0.43.0

* Also pin transitive dependencies
  * containerd v1.4.9 -> v1.4.11
  * docker v20.10.2+incompatible> v20.10.7+incompatible

Signed-off-by: David Porter <david@porter.me>
2021-11-09 17:09:00 -08:00
Kubernetes Prow Robot
f59b0a56c6 Merge pull request #106181 from ulucinar/aru/consume-kube-openapi
Bump k8s.io/kube-openapi to commit ee342a809c29
2021-11-09 16:31:26 -08:00
Jiahui (Jared) Feng
73ffb49203 generated: ./hack/update-vendor.sh 2021-11-15 15:54:59 -08:00
wangyysde
d2abddd909 rename v2beta2 to v2
Signed-off-by: wangyysde <net_use@bzhy.com>

Generation swagger.json.

Use v2 path for hpa_cpu_field.

run update-codegen.sh

Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Arda Güçlü
a5b803670c Update vendor for util/prune 2021-11-08 19:53:46 +03:00
Alper Rifat Ulucinar
38f888bdd1 Bump k8s.io/kube-openapi to commit ee342a809c29
Updates to consume the aggregated OpenAPI spec lazy-marshaling behaviour
introduced with: https://github.com/kubernetes/kube-openapi/pull/251

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
2021-11-08 15:26:10 +03:00
Walter Fender
fbc13f22f8 Bump konnectivity to v0.0.25
/kind feature

Bump konnectivity network proxy to v0.0.25.
Includes fixes for a few resource leaks.
Adds better logging for debugging.
Moves to golang1.17.
Adds additional keepalives.
Fixes HTTP-CONNECT goroutine leak.

Fixes # N/A

```release-note
NONE
```

```docs
NONE
```

Update the images.
2021-11-07 14:34:09 -08:00
Kubernetes Prow Robot
4ce435cc95 Merge pull request #105251 from calvin0327/issue-upgrade-coredns
Update corefile-migration to v1.0.14 and update coredns to 1.8.6
2021-11-05 14:48:39 -07:00
Jiahui Feng
a4f6152743 generated: ./hack/update-vendor.sh 2021-11-01 10:00:00 -07:00
Jordan Liggitt
1f8f996dc9 PodSecurity: register/test v1beta1 config 2021-11-02 12:46:55 -04:00
Bryan Boreham
a988182f59 'kubectl events' command (#99557)
* Basic scaffolding for kubectl events command

* Simple implementation of 'kubectl events'

* Print event fields

Borrowing code from 'kubectl describe'

* Sort events before printing

* Make output more like 'kubectl get events'

Print namespace if fetching from all

* Refactor: extract print functions

To make it easier to add watch function next.

* Implement watch for new events

Run the list function same as before, so those events come out in order,
then watch from the ResourceVersion after the last event.

* Clear up some lint warnings

* Update description and example text

* refactor: introduce a listOptions variable

* Implement --for option

splitResourceTypeName() function borrowed from cli-runtime because we
need similar behaviour to Builder.ResourceNames(), but applying to
Event.InvolvedObject.

* Add kubectl/pkg/cmd/events to vendor/modules.txt

* Add back cmdutil.Factory

Needed in NewCmdAlpha to construct the 'events' command

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Fix lint

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Make package alias go-cromulent

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Use genericclioptions.RESTClientGetter instead of cmdutil.Factory

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Decode object parameter to GroupVersionKind and name

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Merge two files into one

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Include example for --for option

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Fix inconsistent option name in error message

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Remove unnecessary Validate call

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Use fields from event series

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Support chunking of list of events

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Use watchtools utility to receive watch events

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Split struct into flags and options

Flags represents the inputs from the CLI; options are what the running
command needs. This structure parallels the 'wait' command, and should
be easier to write tests for.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Add some parameters to usage string

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Do only one of list or watch

We tried to print the list first then start a watch after the last
event, but sometimes the server will return "watch is too old" on that
ResourceVersion.
Instead, if we need to watch just start it from the beginning.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* Print message if no events found

Also, if watching, don't print the headings until the first event
arrives.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2021-10-29 09:12:50 -07:00
Kubernetes Prow Robot
18cb34ebb2 Merge pull request #105896 from zqzten/upgrade-json-patch
upgrade json-patch to v4.12.0
2021-10-26 15:27:09 -07:00
Kubernetes Prow Robot
7c53095218 Merge pull request #104748 from p0lyn0mial/not-found-handler
return 503 for aggregated APIs when the APIServiceRegistrationController hasn't finished installing all known APIServices
2021-10-26 14:25:09 -07:00