Commit Graph

921 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6df64241d0
Merge pull request #116598 from natasha41575/updateKustV5
Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0…
2023-03-14 17:44:55 -07:00
Kubernetes Prow Robot
f22504a9ba
Merge pull request #116539 from pohly/ginkgo-gomega-update
dependencies: ginkgo v2.9.1, gomega v1.27.3
2023-03-14 17:44:40 -07:00
Patrick Ohly
fe59e091eb dependencies: ginkgo v2.9.1, gomega v1.27.4
They contain some nice-to-have improvements (for example, better printing of
errors with gomega/format.Object) but nothing that is critical right now.

"go mod tidy" was run manually in
staging/src/k8s.io/kms/internal/plugins/mock (https://github.com/kubernetes/kubernetes/pull/116613
not merged yet).
2023-03-14 22:26:27 +01:00
natasha41575
09e6e4db1d Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1 2023-03-14 11:40:28 -05:00
Aravindh Puthiyaparambil
d12696c20f
kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint
Provide an administrator a streaming view of journal logs on Linux
systems using journalctl, and event logs on Windows systems using the
Get-WinEvent PowerShell cmdlet without them having to implement a client
side reader.

Only available to cluster admins.

The implementation for journald on Linux was originally done by Clayton
Coleman.

Introduce a heuristics approach to query logs

The logs query for node objects will follow a heuristics approach
when asked to query for logs from a service. If asked to get the
logs from a service foobar, it will first check if foobar logs to the
native OS service log provider. If unable to get logs from these, it
will attempt to get logs from /var/foobar, /var/log/foobar.log or
/var/log/foobar/foobar.log in that order.
The logs sub-command can also directly serve a file if the query looks
like a file.

Co-authored-by: Clayton Coleman <ccoleman@redhat.com>
Co-authored-by: Christian Glombek <cglombek@redhat.com>
2023-03-14 08:54:36 -07:00
Swati Sehgal
4c8ee8e00e noderesourcetopology-api: Vendor update
Generated by running:

```
./hack/updater-vendor.sh
```

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-14 13:03:01 +05:30
Monis Khan
ba471884fb
Explicit bump to go 1.20
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-03-13 12:47:36 -04:00
Antoine Pelisse
9bbdb9f130 Update kube-openapi to 15aac26d736a 2023-03-09 11:29:40 -08:00
Davanum Srinivas
b50d9d1e28
Cleanup vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-03-07 10:27:15 -05:00
torredil
6aebda9b1e Remove AWS legacy cloud provider + EBS in-tree storage plugin
Signed-off-by: torredil <torredil@amazon.com>
2023-03-06 14:01:15 +00:00
Kubernetes Prow Robot
253ab3eda7
Merge pull request #116162 from apelisse/update-openapi
Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920
2023-03-03 12:29:09 -08:00
Antoine Pelisse
736123f447 Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920 2023-03-03 08:43:44 -08:00
David Porter
28e9775fd5 deps: Update github.com/coreos/go-systemd/v22 to v22.4.0
Update github.com/coreos/go-systemd/v22 to v22.4.0 which introduces
`GetUnitNameByPID`. This function will be used in node e2e to get the
container runtime systemd unit name.

Performed by:

$ hack/pin-dependency.sh github.com/coreos/go-systemd/v22  v22.4.0
$ hack/update-vendor.sh

Signed-off-by: David Porter <david@porter.me>
2023-03-02 19:33:55 -08:00
Max Goltzsche
df8fa2eab5
bump go-jose to v2.6.0
Update go-jose from v2.2.2 to v2.6.0.
This is to make the kubernetes code compatible with newer go-jose versions that have a small breaking change (`jwt.NewNumericDate()` returns a pointer).

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2023-03-02 02:53:17 +01:00
Kubernetes Prow Robot
51dedff4f3
Merge pull request #115277 from pohly/klog-update
klog update
2023-03-01 15:11:16 -08:00
Patrick Ohly
961819a4d0 dependencies: update klog v2.90.1
This improves performance of the text formatting and ktesting.

Because ktesting no longer buffers messages by default, one unit
test needs to ask for that explicitly.
2023-03-01 19:03:50 +01:00
Paco Xu
b5dbb33da9 upgrade etcd deps to v3.5.7
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-03-01 12:14:52 +08:00
David Ashpole
e0d44fd216
update otelhttp to v0.35.1 2023-02-28 17:52:30 +00:00
Paco Xu
744d9bfda3 update github.com/coredns/corefile-migration v1.0.20
- Minor change: Don't return Unsupported/Deprecated plugins for non-migration cases, i.e. when the start version is the same as the end version.
2023-02-25 21:39:44 +08:00
Kubernetes Prow Robot
70b2e4aa3e
Merge pull request #113312 from jiahuif-forks/feature/cel/builtins
OpenAPI-based CEL type library
2023-02-18 00:31:36 -08:00
Jordan Liggitt
f8e00778dd
Update golang.org/x/net to v0.7.0 2023-02-14 23:14:30 -05:00
Patrick Ohly
f131cabfa0 test: use go-uber/goleak for strict leak checking
It provides more readable output and has additional APIs for using it inside a
unit test. goleak.IgnoreCurrent is needed to filter out the goroutine that gets
started when importing go.opencensus.io/stats/view.

In order to handle background goroutines that get created on demand and cannot
be stopped (like the one for LogzHealth), a helper function ensures that those
are running before calling goleak.IgnoreCurrent. Keeping those goroutines
running is not a problem and thus not worth the effort of adding new APIs to
stop them.

Other goroutines are genuine leaks for which no fix is available. Those get
suppressed via IgnoreTopFunction, which works as long as that function
is unique enough.

Example output for the leak fixed in https://github.com/kubernetes/kubernetes/pull/115423:

    E0202 09:30:51.641841   74789 etcd.go:205] "EtcdMain goroutine check" err=<
        found unexpected goroutines:
        [Goroutine 4889 in state chan receive, with k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop on top of the stack:
        goroutine 4889 [chan receive]:
        k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop(0xc0076183c0)
        	/nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/watch/mux.go:268 +0x65
        created by k8s.io/apimachinery/pkg/watch.NewBroadcaster
        	/nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/watch/mux.go:77 +0x116
    >
2023-02-14 12:11:37 +01:00
Anish Ramasekar
09e02052fd
Update k8s.io/utils to a36077c30491
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-02-09 20:09:41 +00:00
Jiahui Feng
b29f618ca7 generated: ./hack/update-vendor.sh 2023-02-07 15:57:05 -08:00
Artem Minyaylov
f573e14942 Update k8s.io/utils to latest version
Update all usages of FakeExec to pointer to avoid copying the mutex
2023-02-04 11:05:22 -08:00
Patrick Ohly
aa1279b5eb dependencies: update gomega to v1.26.0
If gomega.Eventually/Consistently run into a situation where it observes some
state of e.g. a pod which does not satisfy the condition and then further
polling fails with API server errors, gomega will report both the most recent
pod state and API error instead of just the API error.
2023-01-25 09:55:50 +01:00
Alexander Zielenski
7641ff7541 update kube-openapi 2023-01-23 15:32:33 -08:00
Joseph Anttila Hall
5c01971f2a Bump konnectivity-client to v0.1.1
Fixes memory leaks.
Upgrades GRPC and ProtoBuf versions.
2023-01-19 04:35:31 +00:00
Mike Danese
f61c4245c1 vendor: removed unused dep github.com/elazarl/goproxy 2023-01-18 18:31:50 +00:00
Davanum Srinivas
d9b98bc36a
Update to new release of moby/ipvs
hack/pin-dependency.sh github.com/moby/ipvs v1.1.0

- go to a fixed tag for `vishvananda/netns`
- no more references to `pkg/errors`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-01-14 16:13:24 -05:00
Kubernetes Prow Robot
3e049c5e68
Merge pull request #114883 from bobbypage/cadvisor_v047
deps: Bump cAdvisor to v0.47.1
2023-01-12 09:04:54 -08:00
Madhav Jivrajani
8b064fa4be *: Bump version of vmware/govmomi
Bumping version to include changes that
better handle TLS errors. Bump nescessary
to prepare for when the version of Go is
bumped to 1.20

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-01-12 15:08:45 +05:30
David Porter
761dd3640e deps: Bump to cAdvisor v0.47.1
Signed-off-by: David Porter <david@porter.me>
2023-01-11 16:07:12 -08:00
Olivier Lemasle
8b8e20fcdb Bump kube-openapi 2023-01-11 11:48:07 +01:00
Patrick Ohly
baf832d80d dependencies: update ginkgo to v2.7.0
The new ginkgo release adds sorting of specs. This was triggered by
the observation that parallel test execution of Kubernetes E2E tests
sometimes ran the same spec twice and (presumably) other specs not at all
because spec order was random due to iteration over a map.

Sorting should avoid that problem.
2023-01-09 20:54:58 +01:00
Jordan Liggitt
d78de56d76
bump kube-openapi 2023-01-06 12:24:18 -05:00
Joe Betz
8a69d206a2 Fix 114661 via cel-go bump to 0.12.6 to pick up cel-go#620 2023-01-05 14:24:00 -05:00
Kubernetes Prow Robot
293bf70916
Merge pull request #114829 from liggitt/oauth-revert
Revert "bump golang.org/x/oauth2"
2023-01-04 18:49:58 -08:00
Jordan Liggitt
9f07c8e346
Revert "bump golang.org/x/oauth2"
This reverts commit fc9a140bad.
2023-01-04 17:58:08 -05:00
Kubernetes Prow Robot
6927c85268
Merge pull request #114789 from jkh52/thirty-five
Bump konnectivity-client to v0.0.35
2023-01-04 14:30:10 -08:00
Jordan Liggitt
fc9a140bad
bump golang.org/x/oauth2 2023-01-04 11:16:43 -05:00
Joseph Anttila Hall
7df98deda0 Bump konnectivity-client to v0.0.35
./hack/pin-dependency.sh sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.35
./hack/update-codegen.sh
./hack/update-vendor.sh

Manual adjustments:
vendor/modules.txt
cluster/gce/addons/konnectivity-agent/konnectivity-agent-ds.yaml
cluster/gce/manifests/konnectivity-server.yaml
2023-01-03 20:23:29 +00:00
Kubernetes Prow Robot
020fb2eb77
Merge pull request #113538 from pohly/e2e-ginkgo-timeline
e2e: ginkgo timeline
2022-12-21 13:53:28 -08:00
Patrick Ohly
f3ef400431 dependencies: update to ginkgo v2.6.1, gomega v1.24.2
Ginkgo v2.5.0 adds support for a "timeline": a full description of what happened
while a specific test ran, including failures, timeouts, and log output.

Ginkgo v2.6.0 adds ReportBeforeSuite which we need for
https://github.com/kubernetes/kubernetes/issues/114313.
2022-12-20 07:55:51 +01:00
Paco Xu
1cfbc8768b github.com/Microsoft/hcsshim to v0.8.25 2022-12-17 22:08:54 +08:00
Ernest Wong
a4e4cec28f
Bump github.com/aws/aws-sdk-go to v1.44.147 2022-12-14 14:18:46 +00:00
Swati Sehgal
c6b29a0b05 nrt-api: Update nrt-api go.mod and update vendor directory
```
./hack/update-vendor.sh
```

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 17:02:04 +00:00
Swati Sehgal
65aadd7403 nrt-api: Bootstrap repo
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:32 +00:00
Kubernetes Prow Robot
92ec97149c
Merge pull request #114408 from liggitt/gorilla
Mark github.com/gorilla dependencies to avoid increasing use
2022-12-11 09:07:25 -08:00
Jordan Liggitt
cdebf3a64c
Mark github.com/gorilla dependencies to avoid increasing use 2022-12-10 23:54:13 -05:00