Commit Graph

107419 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2d46f1bc30
Merge pull request #103062 from ikeeip/component_helper_storage
Move volume helpers to "k8s.io/component-helpers/storage/volume".
2022-03-23 13:21:20 -07:00
Kubernetes Prow Robot
75b19b242c
Merge pull request #108597 from kolyshkin/prepare-for-runc-1.1
kubelet/cm: refactor, prepare for runc 1.1 bump
2022-03-23 11:20:30 -07:00
Kubernetes Prow Robot
14e8db067e
Merge pull request #108191 from ravisantoshgudimetla/wire-cert-contexts
Wire cert contexts
2022-03-23 11:20:17 -07:00
Daniel Smith
fad4ba2a34 generated files 2022-03-23 17:59:55 +00:00
kerthcet
dd75d3b9ec fix: race detected in TestErrConnKilled
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-03-24 01:48:49 +08:00
Antonio Ojea
ec0881a920 feature gate for service IP allocation prioritized
Add feature gate ServiceIPStaticSubrange to enable a new strategy
in the Service IP allocators, so the IP range is is subdivided and
dynamic allocated addresses are allocated preferently from the
upper range.
2022-03-23 18:47:23 +01:00
Masaki Kimura
41570eb02d e2e: deflake "should run through the lifecycle of Pods and PodStatus" 2022-03-23 17:47:15 +00:00
Wojciech Tyczyński
1439634995 Record dropped requests in apiserver_request_total metric 2022-03-23 18:40:29 +01:00
Hemant Kumar
6d071d6593 Move all volume expansion feature gates to GA 2022-03-23 13:28:10 -04:00
Kir Kolyshkin
d8fdb00b34 Fix verify: generated-stable-metrics wrt go 1.18
This should fix the following error when running
./hack/update-generated-stable-metrics.sh:

	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

Using `go get` to download gopkg.in/yaml.v2 package into
KUBE_EXTRA_GOPATH directory no longer works. Interestingly, main repo
already has gopkg.in/yaml.v2@v2.4.0, same version that was installed by
that go get.

I guess that GOPATH with multiple elements no longer works either,
and since this code was the only user of KUBE_EXTRA_GOPATH, let's remove
it as well.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:59 -07:00
Kir Kolyshkin
4513de06a8 Regen mocks using go 1.18
Generated by ./hack/update-mocks.sh using go 1.18

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:38 -07:00
Kir Kolyshkin
8820f4d381 TestWatchRestartsIfTimeoutNotReached: fix
This fixes the following error:

> test/integration/apimachinery/watch_restart_test.go:232:5: call to (*T).Fatalf from a non-test goroutine

Update: the previous fix (commit 1ce55e3afe that uses panic)
looks way too severe; it seems it is enough to call t.Errorf and return
from goroutine. The test will time out and fail anyway.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:38 -07:00
Kir Kolyshkin
e3ed3ba7c9 update golangci-lint to 1.45.0
This should fix Go 1.18 compatibility woes.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:16 -07:00
cici37
4a49e5f4ca Return type instead of object 2022-03-23 10:16:41 -07:00
cici37
303b847dcf Adjust cost after library func introduced. 2022-03-23 10:11:55 -07:00
cici37
0e9eb3d62f Add cel cost stability test. 2022-03-23 10:07:35 -07:00
Antonio Ojea
96d71f01eb new bitmap allocator with offset
Implement a new bitmap allocator using an allocation strategy that accepts
and offset and subdivides the range based on this offset, prioritizing the
upper range for dynamic allocation.
2022-03-23 17:58:37 +01:00
Jefftree
0974cbad95 Fix OpenAPI v3 bug with #/definitions 2022-03-23 08:32:39 -07:00
Jefftree
ca44e0a4b9 Change aggregator to proxier for OpenAPI v3 2022-03-23 08:32:20 -07:00
Davanum Srinivas
bef0ddef86
kube-up: use registry.k8s.io for containerd-related jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 11:30:49 -04:00
Daniel Smith
0710b6836c teach code generator about ugly fields 2022-03-23 15:26:38 +00:00
Daniel Smith
17e74b3936 review comments 2022-03-23 15:26:38 +00:00
Daniel Smith
2831f9a343 remove unneeded references 2022-03-23 15:26:38 +00:00
Daniel Smith
e405ae9ec8 find and replace 2022-03-23 15:26:38 +00:00
Daniel Smith
a3d0dbbf60 change field name 2022-03-23 15:26:37 +00:00
Kubernetes Prow Robot
24a71990e0
Merge pull request #108445 from pohly/storage-capacity-ga
storage capacity GA
2022-03-23 08:06:21 -07:00
Kubernetes Prow Robot
a6e65a246c
Merge pull request #107986 from wzshiming/promote/shutdown-based-on-pod-priority
Promote graceful shutdown based on pod priority to beta
2022-03-23 08:06:09 -07:00
Andrew Sy Kim
a4b79590eb move cluster/gce/gci/credential-provider to test/e2e_node/plugins/gcp-credential-provider
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-23 10:30:02 -04:00
Andrew Sy Kim
3bd37e6deb cluster/gce/gci/credential-provider: add unit tests for getCredentials()
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:02 -04:00
Andrew Sy Kim
bfed342e5c cluster/gce/gci/credential-provider: refactor for better testability
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
fe55bf111b cluster/gce/gci/credential-provider: add a README
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
ddeb1e1352 cluster/gce/gci/credential-provider: add barebones GCP credential provider for testing only
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
758d78a662 test/e2e_node: add a test pulling a private GCR image
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
f440a69c70 test/e2e_node: install and configure kubelet credential provider
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Kubernetes Prow Robot
1580b69e8c
Merge pull request #108901 from dims/temporarily-ignore-some-verify-failures-in-go-1.18
Temporarily ignore some verify failures in go1.18 and other broken things
2022-03-23 06:04:09 -07:00
Abu Kashem
6acbe7e645
client-go: chain the error returned by rate limiter 2022-03-23 08:29:28 -04:00
Davanum Srinivas
0a5f9115f2
re-add govet and stable metrics
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 08:02:54 -04:00
Davanum Srinivas
3470453e01
Fix for verify: generated-stable-metrics problem
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 08:02:53 -04:00
Davanum Srinivas
1ce55e3afe
fix govet on golang 1.18
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 08:02:53 -04:00
Madhav Jivrajani
b6c00355f8
hack/jenkins: set GODEBUG=x509sha1=1
Temporary fix for Go 1.18 changes made in
https://tip.golang.org/doc/go1.18#sha1

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-03-23 08:02:53 -04:00
Maciej Borsz
a2ad9f9e4a Implement page size progressing for rare selectors. 2022-03-23 12:00:27 +00:00
kartik494
4285fb547e Updated Etcd Version to 3.5.1 in go.mod 2022-03-23 11:34:25 +05:30
Yuvaraj Kakaraparthi
801c39b478 kubectl: API changes to support --subresource in kubectl
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
Co-authored-by: Yuvaraj Kakaraparthi <kakaraparthy@vmware.com>
2022-03-23 11:19:58 +05:30
Jiahui Feng
1f493f6f91 add test case for enabled OpenAPIEnums 2022-03-22 17:58:16 -07:00
Davanum Srinivas
031da66841
Temporarily ignore some verify failures in go1.18"
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-22 20:42:03 -04:00
Jiahui Feng
cc3643cf79 OpenAPIEnums: to beta 2022-03-22 16:36:17 -07:00
Kubernetes Prow Robot
95e30f66c3
Merge pull request #108617 from jpbetz/function-ext-costs
CEL: Enable regex pre-compilation, Add cost estimates for function extension libraries
2022-03-22 14:11:59 -07:00
Joe Betz
3b9c2db9af Add cost calculator for extensions functions, enable regex pre-compilation 2022-03-22 15:46:01 -04:00
Kubernetes Prow Robot
de88dfcaf4
Merge pull request #108873 from saschagrunert/kubeadm-crictl-path
kubeadm: reuse found crictl path for exec
2022-03-22 12:22:11 -07:00
Kubernetes Prow Robot
df98f75e93
Merge pull request #107845 from smarterclayton/wait_on_create
kubelet: If the container status is created, we are waiting
2022-03-22 12:21:59 -07:00