Commit Graph

2308 Commits

Author SHA1 Message Date
Luca Comellini
2309c6b498
Bump grpc to v1.51.0
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-12-07 09:48:08 -08:00
Jordan Liggitt
afe5378db9
Update golang.org/x/net 1e63c2f
Includes fix for CVE-2022-41717
2022-12-06 17:29:11 -05:00
Patrick Ohly
14db9d1f92 e2e dra: add test driver and tests for dynamic resource allocation
The driver can be used manually against a cluster started with
local-up-cluster.sh and is also used for E2E testing. Because the tests proxy
connections from the nodes into the e2e.test binary and create/delete files via
the equivalent of "kubectl exec dd/rm", they can be run against arbitrary
clusters. Each test gets its own driver instance and resource class, therefore
they can run in parallel.
2022-11-12 00:17:15 +01:00
Ed Bartosh
ae0f38437c kubelet: add support for dynamic resource allocation
Dependencies need to be updated to use
github.com/container-orchestrated-devices/container-device-interface.

It's not decided yet whether we will implement Topology support
for DRA or not. Not having any toppology-related code
will help to avoid wrong impression that DRA is used as a hint
provider for the Topology Manager.
2022-11-11 21:58:03 +01:00
Patrick Ohly
0133df3929 kube-controller-manager: add ResourceClaim controller
The controller uses the exact same logic as the generic ephemeral inline volume
controller, just for inline ResourceClaimTemplate -> ResourceClaim.

In addition, it supports removal of pods from the ReservedFor field when those
pods are known to not need the claim anymore. At the moment, only this special
case is supported. Removal of arbitrary objects would imply granting full read
access to all types to determine whether a) an object is gone and b) if the
current incarnation is the one which is listed in ReservedFor. This may get
added later.
2022-11-10 20:23:50 +01:00
Patrick Ohly
59d46c026f staging: add ResourceClaim support code
This is similar to the support code for generic ephemeral inline volumes.
Differences:
- to avoid stuttering, the functions are just resourceclaim.Name and
  resourceclaim.IsForPod
- resourceclaim.Name returns the right name for both cases (template
  and reference), which will simplify some code

Other helper functions check some simple status conditions.
2022-11-10 20:23:50 +01:00
Patrick Ohly
76cb805af2 staging: create dynamic resource allocation repo
This will be used for different individual packages. A separate repo
is better than reusing something like component-helpers because dependencies
will be different.
2022-11-10 20:23:50 +01:00
Cici Huang
e81820dd20 Update modules.txt 2022-11-10 03:37:35 +00:00
Kermit Alexander II
99494e6777 Add metrics integration. 2022-11-09 19:10:54 +00:00
Kubernetes Prow Robot
37e73b419e
Merge pull request #113769 from bobbypage/bump-cadvisor-v046
deps: Bump cAdvisor to v0.46.0
2022-11-09 08:31:08 -08:00
Kubernetes Prow Robot
8058e8eff8
Merge pull request #113171 from Jefftree/aggregated-discovery-generic
Aggregated discovery server changes
2022-11-09 00:08:12 -08:00
David Porter
a2c4672163 deps: Bump cAdvisor to v0.46.0
Signed-off-by: David Porter <david@porter.me>
2022-11-08 18:49:14 -08:00
Kubernetes Prow Robot
e62cfabf93
Merge pull request #112050 from nilekhc/kms-hot-reload
Implements hot reload of the KMS `EncryptionConfiguration`
2022-11-08 17:24:12 -08:00
Alexander Zielenski
6e83f67505 add new aggregated resourcemanager to genericapiserver
Co-authored-by: Jeffrey Ying <jeffrey.ying86@live.com>
2022-11-08 14:44:49 -08:00
Nilekh Chaudhari
761b7822fc
feat: implements kms encryption config hot reload
This change enables hot reload of encryption config file when api server
flag --encryption-provider-config-automatic-reload is set to true. This
allows the user to change the encryption config file without restarting
kube-apiserver. The change is detected by polling the file and is done
by using fsnotify watcher. When file is updated it's process to generate
new set of transformers and close the old ones.

Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2022-11-08 21:47:59 +00:00
Kubernetes Prow Robot
74352d88aa
Merge pull request #113577 from pacoxu/prometheus-client
upgrade github.com/prometheus/client_golang to v1.14.0
2022-11-08 12:42:49 -08:00
Paco Xu
ecbafed7c3 upgrade runc to v1.1.4 2022-11-08 16:42:48 +08:00
Paco Xu
c3add32859 upgrade prometheus-client to v1.14.0 2022-11-08 16:25:12 +08:00
Kubernetes Prow Robot
595ea32411
Merge pull request #113314 from cici37/celIntegration
CEL validation in Admission chain
2022-11-07 17:08:33 -08:00
Kubernetes Prow Robot
2f837dc113
Merge pull request #112905 from alexzielenski/kubectl-apply-csa-migration
kubectl: `apply --server-side` managed fields migration
2022-11-07 17:08:21 -08:00
Cici Huang
a949227be1 Vendor update 2022-11-07 20:51:52 +00:00
Cici Huang
19b2df8715 API - make update
API - Auto update

API - make update

API - make update
2022-11-07 20:51:52 +00:00
David Ashpole
3f1511c8e9
update k8s.io/utils to fix util tracing panic 2022-11-07 19:30:21 +00:00
Alexander Zielenski
ff5e44f5ad update vendor 2022-11-04 14:09:30 -07:00
Fabio Bertinatto
c3529513ca dependencies: bump CSI to v1.17.0
This is required in order to promote DelegateFSGroupToCSIDriver
to GA.
2022-11-04 07:26:17 -03:00
Paco Xu
1d04ee4cb6 upgrade github.com/prometheus/client_golang to v1.13.1 2022-11-03 16:22:07 +08:00
Sascha Grunert
f9707064cf
Remove CRI v1alpha2
After the removal of dockershim we can finally also drop support for CRI
v1alpha2.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-11-03 09:13:43 +01:00
Kubernetes Prow Robot
f9bfa378ef
Merge pull request #113424 from liggitt/simplify-go.mod
Simplify go.mod
2022-10-31 14:20:57 -07:00
Kubernetes Prow Robot
a0b69ecd01
Merge pull request #113349 from maxsmythe/refactor-matcher-interface
Refactor matcher interface
2022-10-28 16:12:52 -07:00
Jordan Liggitt
0737e92da6
Regenerate vendor 2022-10-28 15:15:19 -04:00
Patrick Ohly
e6ad2f2f23 dependencies: update to gomega v1.23.0 and ginkgo v2.4.0 and dependencies
Gomega adds support for formatting extensions and StopTrying in matchers.
Ginkgo enhances DeferCleanup.

This also triggered an update of other dependencies.
2022-10-28 12:50:09 +02:00
aimuz
78c704d4f6
Fixed (CVE-2022-27664) Bump golang.org/x/net to v0.1.1-0.20221027164007-c63010009c80
Fixed https://pkg.go.dev/vuln/GO-2022-0969

Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-10-28 10:49:16 +08:00
Max Smythe
5f0e54eea6 Update vendor directory
Signed-off-by: Max Smythe <smythe@google.com>
2022-10-25 21:06:30 -07:00
Kubernetes Prow Robot
a2827c4915
Merge pull request #111978 from Jefftree/aggregated-discovery-types
Aggregated discovery types
2022-10-19 13:57:07 -07:00
Kubernetes Prow Robot
ccb6275142
Merge pull request #113084 from dims/bump-aws-sdk-go-for-1.26
Pick up new AWS region by bumping aws-sdk-go for 1.26
2022-10-19 11:35:19 -07:00
Jefftree
2e01fbb59a Add discovery types 2022-10-19 17:27:25 +00:00
Alexander Zielenski
a9c093b165
openapi v3 basic renderer 2022-10-17 17:01:17 -07:00
Kubernetes Prow Robot
4216ad3542
Merge pull request #113106 from pohly/dep-ginkgo-gomega
dependencies: update to gomega v1.22.1 and ginkgo v2.3.1
2022-10-17 11:09:26 -07:00
Kubernetes Prow Robot
28ced69b76
Merge pull request #113054 from logicalhan/proxy-metric
remove rate limiter metric as it is not in use
2022-10-17 11:09:18 -07:00
Patrick Ohly
d1dbf7ae3e dependencies: update to gomega v1.22.1 and ginkgo v2.3.1
This adds support for timeouts and intermediate reports in Eventually and
Consistently.
2022-10-17 12:12:54 +02:00
Davanum Srinivas
af76f3b72a
Bump AWS libraries to latest
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-10-16 11:38:08 -04:00
Kubernetes Prow Robot
6f579d3ceb
Merge pull request #111616 from ndixita/credential-api-ga
Move the Kubelet Credential Provider feature to GA and Update the Credential Provider API to GA
2022-10-15 07:53:09 -07:00
Kubernetes Prow Robot
353e00796e
Merge pull request #112988 from alexzielenski/update-kube-openapi
update kube-openapi
2022-10-14 17:31:29 -07:00
Kubernetes Prow Robot
542ec97705
Merge pull request #113037 from pacoxu/fsnotify-v1.6.0
update fsnotify to v1.6.0
2022-10-13 23:00:57 -07:00
Alexander Zielenski
f622dd918a
update kube-openapi
hack/pin-dependency.sh k8s.io/kube-openapi 172d655c2280350c77cf05962948fc67ff043492
hack/update-vendor.sh
2022-10-13 19:51:29 -07:00
Han Kang
2bbd445f50 remove rate limiter metric as it is not in use
Change-Id: I91157653e3860eeecc3f572aee88da6ffc65faed
2022-10-13 13:07:11 -07:00
John McBride
dfb55ba48a Bumps cobra from 1.5.0 to 1.6.0
- Upgrades mousetrap license to latest Apache 2.0

Signed-off-by: John McBride <jpmmcbride@gmail.com>
2022-10-13 14:52:39 +00:00
Paco Xu
3fee9d2735 update fsnotify to v1.6.0 2022-10-13 13:24:55 +08:00
Kubernetes Prow Robot
61ca612cbb
Merge pull request #112926 from jiahuif-forks/refactor/cel-out-of-apiextensions
split and move CEL package
2022-10-12 15:03:03 -07:00
Arnaud Meukam
0d19690a54
Bump golang.org/x/text to v0.3.8
Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2022-10-11 23:30:39 +02:00