Commit Graph

105386 Commits

Author SHA1 Message Date
Anago GCB
4cc1abf247 CHANGELOG: Update directory for v1.23.0 release 2021-12-07 19:02:02 +00:00
Lubomir I. Ivanov
847b2e1085 kubeadm: avoid requiring a CA key during kubeconfig expiration checks
When the "kubeadm certs check-expiration" command is used and
if the ca.key is not present, regular on disk certificate reads
pass fine, but fail for kubeconfig files. The reason for the
failure is that reading of kubeconfig files currently
requires reading both the CA key and cert from disk. Reading the CA
is done to ensure that the CA cert in the kubeconfig is not out of date
during renewal.

Instead of requiring both a CA key and cert to be read, only read
the CA cert from disk, as only the cert is needed for kubeconfig files.

This fixes printing the cert expiration table even if the ca.key
is missing on a host (i.e. the CA is considered external).
2021-12-07 20:48:45 +02:00
BinacsLee
ab413849cc cleanup: return frameworkruntime.NewFramework directly 2021-12-07 23:29:56 +08:00
Mengjiao Liu
f3c37c2c82 Remove feature gate NamespaceDefaultLabelName 2021-12-07 16:51:17 +08:00
Carlos Panato
2adf0e116c
[go1.17] Update to go1.17.4
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-06 09:40:54 +01:00
Stephen Augustus
0d38ee59c7
staging/publishing: Add release-engineering-approvers as reviewers
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-12-04 22:19:40 -05:00
Stephen Augustus
321e3d8851
staging/publishing: Add justaugustus as approver
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-12-04 22:15:35 -05:00
Anago GCB
0153febd9f CHANGELOG: Update directory for v1.23.0-rc.1 release 2021-12-04 06:44:01 +00:00
Kubernetes Prow Robot
7f24f8c1a2
Merge pull request #106791 from pohly/replace-mock-driver
storage e2e: replace mock driver, update images
2021-12-03 16:38:33 -08:00
Kubernetes Prow Robot
ea644ad9be
Merge pull request #106803 from saschagrunert/dockershim-cri-revert
Revert dockershim CRI v1 changes
2021-12-03 13:42:35 -08:00
Mauricio Poppe
04805ca330 Add status count to the storage_operation_duration_seconds volume metric 2021-12-03 18:49:49 +00:00
Sascha Grunert
a063a2ba3e
Revert dockershim CRI v1 changes
We should not touch the dockershim ahead of removal and therefore
default to `v1alpha2` CRI instead of `v1`.

Partially reverts changes from https://github.com/kubernetes/kubernetes/pull/106501

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-12-03 18:37:11 +01:00
Slavik Panasovets
3c51478f65 add gce loadbalancer no-op finalizer and existingFwdRule tests 2021-12-03 13:49:31 +00:00
Slavik Panasovets
b2534483fa disable gce service handling if has rbs forwarding rule 2021-12-03 13:48:26 +00:00
Davanum Srinivas
555623c07e
staging: add dummy commit to trigger gomod update (#106794)
add newline to all staging repos

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
2021-12-02 20:38:34 -05:00
Slavik Panasovets
e2c49a0dd1 add ELBRbsFinalizer 2021-12-02 15:48:52 +00:00
Patrick Ohly
a39b3877e9 storage e2e: update mock deployment
These changes were created automatically with the updated update-hostpath.sh
script.
2021-12-02 16:18:26 +01:00
Patrick Ohly
48e9a39842 storage e2e: update snapshotter sidecard RBAC
The same change was already done for csi-driver-host-path master, but not
released yet because csi-snapshotter v5.0.0 itself was not ready yet.

We need this update in k/k because some canary jobs already use the new
snapshotter sidecar which causes permission issues.
2021-12-02 15:06:14 +01:00
Patrick Ohly
0605a394bf storage e2e: hostpath driver v1.7.3
This is an automatic update of the testing manifests that mirrors the v1.7.3
release. All of these changes were created with
   test/e2e/testing-manifests/storage-csi$ ./update-hostpath.sh v1.7.3
2021-12-02 15:02:57 +01:00
Amarnath Valluri
e68c9f3dec test/e2e/storage: replace mock driver with hostpath driver
This is a first step towards removing the mock CSI driver completely from
e2e testing in favor of hostpath plugin. With the recent hostpath plugin
changes(PR #260, #269), it supports all the features supported by the mock
csi driver.

Using hostpath-plugin for testing also covers CSI persistent feature
usecases.
2021-12-02 14:41:08 +01:00
Kubernetes Prow Robot
2ac6a4121f
Merge pull request #106781 from palnabarun/publishing-bot/remove-1.19-rules
publishing-bot: remove rules for release-1.19
2021-12-02 03:53:33 -08:00
Jian Li
8689f22821 fix mapToUnstructured error message 2021-12-02 18:07:16 +08:00
Jian Li
d4f3b5a6d1 cleanup: use present typeFrom variable to avoid another reflect.TypeOf call 2021-12-02 14:59:36 +08:00
Nabarun Pal
78e1ec2e38 publishing-bot: remove rules for release-1.19
Kubernetes 1.19 is not actively maintained anymore.

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-12-02 10:08:20 +05:30
Kubernetes Prow Robot
0fe049cb93
Merge pull request #106774 from SergeyKanzhelev/grpcFieldRename
Grpc field rename
2021-12-01 12:11:18 -08:00
Sergey Kanzhelev
4c9d77d724 generated files for the grpc field rename 2021-12-01 18:25:37 +00:00
Sergey Kanzhelev
1918ecad04 update the grpc field name for consistency 2021-12-01 18:16:08 +00:00
Alexis MacAskill
8102bbe05a skip parallel volume cloning test for gce pd and fix disk not ready error for gce pd 2021-12-01 17:49:48 +00:00
Nikhil Sharma
0cd58b825f Changed code to improve output for files under test/e2e/apimachinery 2021-12-01 17:08:30 +05:30
Wojciech Tyczyński
ba5e08223d Add watchcache metrics to tracking its progress 2021-12-01 09:46:55 +01:00
haoyun
84a7329cf0 fix: combine assertion prevent npe
Signed-off-by: haoyun <yun.hao@daocloud.io>
2021-12-01 16:37:24 +08:00
Kubernetes Prow Robot
108c284a33
Merge pull request #106728 from enj/enj/o/enj_authn_approve
Add enj to sig-auth-authenticators-approvers
2021-11-30 09:18:56 -08:00
Abdullah Gharaibeh
33a04dc5f5 Added an integration test for NodeResourcesFit scoring 2021-11-30 12:13:30 -05:00
Wojciech Tyczyński
243f4faa6d Update kubemark to use EndpointSlices and proper user-agents 2021-11-30 11:38:08 +01:00
Patrick Ohly
a155010bcb OWNERS: add pohly as SIG Instrumentation review and component-base/logs approver
I've helped review PRs already, mostly around structured logging. I'm a
co-chair of that working group.
2021-11-30 09:45:21 +01:00
Monis Khan
bffdf3580b
Add enj to sig-auth-authenticators-approvers
Signed-off-by: Monis Khan <mok@vmware.com>
2021-11-29 16:49:58 -05:00
Kubernetes Prow Robot
c1153d3353
Merge pull request #106716 from aojea/http1_flake_timeout
bump TestHTTP1DoNotReuseRequestAfterTimeout timeout
2021-11-29 13:23:22 -08:00
Kevin Delgado
b35c444e42 Update fieldValidation godoc 2021-11-29 21:21:28 +00:00
Sergey Kanzhelev
a11453efbc remove ReallyCrashForTesting and cleaned up some references to HandleCrash behavior 2021-11-29 20:00:10 +00:00
Mike Spreitzer
95964c5b35 Correct Generator calls for executing seat count 2021-11-29 14:50:11 -05:00
Antonio Ojea
85797eba70 bump TestHTTP1DoNotReuseRequestAfterTimeout timeout
the test TestHTTP1DoNotReuseRequestAfterTimeout has to wait for
request to time out to assert that subsequent requests does not
reuse the TCP connection.

It seems that current value of 100ms causes issues on some CI
environments and bumping the timeout seems to solve this flakiness,

We can bump the timeout value because is really low compared to real
scenarios and the bump still keeps it in the millisecond order.
2021-11-29 19:11:47 +01:00
menglong.qi
ea31d7b813 refactor: use utilerrors instead of join error msg 2021-11-28 17:16:17 +08:00
wpedrak
d5e1ee4de8 Make writing version.txt more resilient
Writing file first truncate it and writes later on. During disk space pressure it may cause file to become empty. To mitigate above, we create file with new version first and then move it in place of old one (to make sure that disk space is available)
2021-11-26 12:44:50 +01:00
Kubernetes Prow Robot
9a75e7b0fd
Merge pull request #106670 from palnabarun/1.23/update-publishing-bot-rules
publishing-bot: add 1.23 rules
2021-11-25 11:23:23 -08:00
Slavik Panasovets
6ba8c86fc3 add gce elb rbs opt-in annotation 2021-11-25 17:04:28 +00:00
HaoJie Liu
1dc1a37294
fix typo in /test/integration 2021-11-25 18:59:31 +08:00
Nabarun Pal
e8b177cfc1
publishing-bot: add 1.23 rules
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-11-25 11:25:39 +05:30
DingShujie
25cf49770c update k/utils to v0.0.0-20211116205334-6203023598ed 2021-11-25 09:29:03 +08:00
Kubernetes Prow Robot
aff056d8a1
Merge pull request #106660 from liggitt/smd-merge
Revert sigs.k8s.io/structured-merge-diff/v4 to v4.1.2
2021-11-24 13:37:31 -08:00
Kevin Klues
f8511877e2 Add regression test for CPUManager distribute NUMA algorithm
We witnessed this exact allocation attempt in a live cluster and witnessed the
algorithm fail with an accounting error. This test was added to verify that
this case is now handled by the updates to the algorithm and that we don't
regress from it in the future.

"test" description="ensure previous failure encountered on live machine has been fixed (1/1)"
"combo remainderSet balance" combo=[2 4 6] remainderSet=[2 4 6] distribution=9 remainder=1 available=[14 2 4 4 0 3 4 1] balance=4.031
"combo remainderSet balance" combo=[2 4 6] remainderSet=[2 4] distribution=9 remainder=1 available=[0 3 4 1 14 2 4 4] balance=4.031
"combo remainderSet balance" combo=[2 4 6] remainderSet=[2 6] distribution=9 remainder=1 available=[1 14 2 4 4 0 3 4] balance=4.031
"combo remainderSet balance" combo=[2 4 6] remainderSet=[4 6] distribution=9 remainder=1 available=[1 3 4 0 14 2 4 4] balance=4.031
"combo remainderSet balance" combo=[2 4 6] remainderSet=[2] distribution=9 remainder=1 available=[4 0 3 4 1 14 2 4] balance=4.031
"combo remainderSet balance" combo=[2 4 6] remainderSet=[4] distribution=9 remainder=1 available=[3 4 0 14 2 4 4 1] balance=4.031
"combo remainderSet balance" combo=[2 4 6] remainderSet=[6] distribution=9 remainder=1 available=[1 13 2 4 4 1 3 4] balance=3.606
"bestCombo found" distribution=9 bestCombo=[2 4 6] bestRemainder=[6]

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-11-24 20:49:58 +00:00