Commit Graph

106339 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8f80ae88f2
Merge pull request #107532 from marseel/add_bootstrap_to_kubemark
Add option to bootstrap kubeconfig for hollow-node
2022-02-02 06:44:21 -08:00
Francesco Romani
7004a718d9 e2e: node: {cpu,topo}mgr: round up test requirement
A cpu/topology manager e2e test wants to require one exclusive CPU
and a share of CPU time; let's round up the allocatable CPU requirements
(from 1 to 2) to reduce the chances of false negatives.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 15:17:09 +01:00
Francesco Romani
c92d9f7974 e2e: node: {cpu,topo}mgr: don't assume cpu capacity >= 2
Even though CI machines _usually_ have at least two cpus,
let's rather not assume this holds true, and let's actually
check the allocatable CPUs, skipping even the simplest
tests if the assumption is broken, to avoid false negatives.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 15:17:05 +01:00
Francesco Romani
2d1503dae3 e2e: node: {cpu,topo}mgr: make logic on allocatable
The existing cpu/topology manager tests correctly check for the
node resources and skip if the detected resources are not enough
to run the tests, to avoid false negatives.

Unfortunately they do the check against the node capacity, while
the correct approach is to check the allocatable resources.
The existing check is correct only on a narrow set of cases;
otherwise can still lead to false negatives.

This PR fixes that.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 14:10:46 +01:00
Francesco Romani
60585da68f e2e: node: {cpu,top}omgr: report node capacity/allocatable
Make sure to log out the cpu capacity and allocatable for
the node running the tests, to make the troubleshooting
of test failures easier.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 14:10:44 +01:00
jlsong01
d66b3edd65 allocate a unique scheme for each test to fix concurrent usage issue 2022-02-02 15:22:59 +08:00
Kubernetes Prow Robot
d4b49be81a
Merge pull request #105300 from nckturner/ccm-flags
Allow cloud controller manager flags to be set in ./hack/local-up-cluster.sh
2022-02-01 23:02:21 -08:00
Mike Miranda
c6d903eb27 Increase timeout for initial /stats/summary validation 2022-02-02 06:17:44 +00:00
Kubernetes Prow Robot
a4f559bfe1
Merge pull request #107904 from sabbey37/update_azure_auth
Update azure auth plugin deprecation to warning
2022-02-01 20:30:22 -08:00
Kubernetes Prow Robot
f11dbaea2f
Merge pull request #106883 from calvin0327/move-well-know-systemConstant
kubeadm: move well-known system constants to constants.go
2022-02-01 17:28:21 -08:00
Kubernetes Prow Robot
229270700b
Merge pull request #107903 from endocrimes/dani/remove-dkc-tests
e2e_node: Remove Dynamic Kubelet Config tests
2022-02-01 16:26:21 -08:00
Abu Kashem
4a9b902815
refactor: rename webhook duration tracker 2022-02-01 16:01:34 -05:00
sabbey37
c94b4bb2ac Update azure auth plugin deprecation to warning 2022-02-01 15:35:36 -05:00
Danielle Lancashire
c2fa286334 e2e_node: Remove Dynamic Kubelet Config tests
These tests don't currently run in any job, and the feature has been
removed from the kubelet (remaining references exist for API Server
compatibility to allow upgrading API Servers before Kubelets).

Remove them for good test hygiene.
2022-02-01 21:28:14 +01:00
Kubernetes Prow Robot
f95c70080f
Merge pull request #106062 from ahrtr/replace_ioutil_with_io_os_cmd
Replace the deprecated io/ioutil with os and io for cmd
2022-02-01 11:35:50 -08:00
Gunju Kim
7c3dd0eb7b
Add an e2e test for updating a static pod while it restarts 2022-02-01 13:22:56 -05:00
Danielle Lancashire
9e5fac5bb2 make: test-e2e-node: default to containerd
Since removing dockershim, `make test-e2e-node` will fail by default as
there is no provided container runtime endpoint.

This commit defaults us to using containerd's default socket path as the
local test target, rather than failing hard.
2022-02-01 16:36:06 +01:00
Kubernetes Release Robot
0b5dbbeef1 CHANGELOG: Update directory for v1.24.0-alpha.2 release 2022-02-01 13:29:01 +00:00
Cezary Zawadka
3f5a8754d0 Applied review comments 2022-02-01 14:16:18 +01:00
Marcel Zięba
27336259ba Add option to bootstrap kubeconfig for hollow-node 2022-02-01 11:56:02 +00:00
Kubernetes Prow Robot
954fa57f0e
Merge pull request #107470 from jlsong01/optimize_cj_status_update
Optimize cronjob controller status updates
2022-02-01 00:14:18 -08:00
ahrtr
972dc46a1f replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
Kubernetes Prow Robot
6dd234d85c
Merge pull request #107386 from ZeusPerez/fix-kubetest-errors-when-executing-local-provider
Fix kubetest errors when executing local provider
2022-01-31 19:56:17 -08:00
Kubernetes Prow Robot
3b7e8da669
Merge pull request #100883 from xychu/add-lessthan-ut
Add tests for LessThanOrEqual
2022-01-31 18:07:52 -08:00
Jyoti Mahapatra
a1b52fb17a
extend sa token if audience is apiserver (#105954)
Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>
2022-01-31 16:01:52 -08:00
Kubernetes Prow Robot
7c2e612569
Merge pull request #106597 from claudiubelu/remove-windows-docker-tag
tests: Removes [Excluded:WindowsDocker] tag from Windows
2022-01-31 10:42:03 -08:00
Kubernetes Prow Robot
2fb24de42b
Merge pull request #107775 from denkensk/add-postfilter-info-to-event
Add details about preemption in the event for scheduling failed
2022-01-31 09:38:23 -08:00
Alex Wang
52275fc831 add preemption info in scheduling failed event 2022-02-01 00:37:16 +08:00
Kubernetes Prow Robot
0038bcfad4
Merge pull request #107863 from bryfry/master
apiserver: correct references to service-account-signing-key-file flag
2022-01-30 23:04:23 -08:00
Nick Turner
5adc316c13 Allow cloud controller manager flags to be set 2022-01-31 05:00:38 +00:00
Aditi Sharma
a251acdfc7 Source containerd env for repo installation
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2022-01-31 09:29:46 +05:30
Kubernetes Prow Robot
1c03e36f9a
Merge pull request #107869 from justinsb/e2e_feature_must_be_square_bracketed
e2e: Feature tags must be in square brackets
2022-01-30 17:38:23 -08:00
Kubernetes Prow Robot
ce52600a3a
Merge pull request #107847 from thockin/decorator-in-update-loop
apiserver: Call .Decorator inside update func
2022-01-30 12:42:24 -08:00
Tim Hockin
e927ce85b6 service REST: Call Decorator(old) on update path
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.

Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)

In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).

Test by aojea
2022-01-30 11:25:17 -08:00
justinsb
a905d7bfaf e2e: Feature tags must be in square brackets
Otherwise the feature regexes that we use don't detect them.

This was relatively hidden because we don't have many e2e tests that
test multizone.
2022-01-30 13:10:04 -05:00
bryfry
038ad9b3a5 correct references to service-account-signing-key-file flag 2022-01-30 04:24:25 +00:00
Kubernetes Prow Robot
2e68fd2857
Merge pull request #107841 from aojea/fix_race_socks5
deflake TestRoundTripSocks5AndNewConnection unit test
2022-01-29 02:48:01 -08:00
Kubernetes Prow Robot
807cee8ad2
Merge pull request #107575 from andyzhangx/azurefile-volumeid-uuid
fix Azurefile volumeid conflict issue in csi migration
2022-01-28 19:04:02 -08:00
Kubernetes Prow Robot
a5d28a638f
Merge pull request #107816 from DuC-cnZj/master
fix flushBackoffQCompleted: remove defer
2022-01-28 10:16:31 -08:00
Antonio Ojea
5a43a45232 deflake TestRoundTripSocks5AndNewConnection unit test
The test was asserting the error from the proxy server, to avoid false
positives it was using a channel to communicate that the test has been
 ended and the error was legit.

However, the channel was executed using a defer statement, and the connection
on the server could be closed accidentally by the connection request,
that was done later and used another defer statement to close it.
Since the connection defer was done later, it was executed before the
channel close.
2022-01-28 18:27:31 +01:00
SataQiu
ce50eed941 code-generator: fix the bug that ApplyConfiguration constructor missing WithKind/WithAPIVersion methods 2022-01-28 17:05:43 +08:00
Kubernetes Prow Robot
f49a15ae50
Merge pull request #107831 from liggitt/key-pod-by-uid
Include pod UID in secret/configmap cache key
2022-01-28 00:16:30 -08:00
Di Yi
9996c154cb resolve casing issue 2022-01-28 15:50:43 +08:00
Kubernetes Prow Robot
83ca745412
Merge pull request #107797 from tkashem/revert-107456
Revert "Merge pull request #107456 from tkashem/apf-ssa"
2022-01-27 23:14:30 -08:00
Dave Chen
29a870da2e kubeadm: warn only when config value is different with default value
Compare with two pointers will always show that they are different value,
so it will always print the warning message.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-01-28 13:04:40 +08:00
Kubernetes Prow Robot
1c216c6ec8
Merge pull request #107777 from hxietkg/hxietkg/windows-numberofworkers-3
Increase number of workers to 3 for Windows
2022-01-27 20:50:30 -08:00
Jordan Liggitt
1d27942efc Include pod UID in secret/configmap cache key 2022-01-27 22:21:52 -05:00
Kubernetes Prow Robot
0fe90ac48b
Merge pull request #107729 from tkashem/apf-pl-first
apf: create suggested pl before flowschema
2022-01-27 17:58:30 -08:00
Kubernetes Prow Robot
5949e8595f
Merge pull request #107793 from dgrisonnet/instrumentation-approver
Add dgrisonnet to sig-instrumentation approvers
2022-01-27 15:33:19 -08:00
Kubernetes Prow Robot
4dba52cdf4
Merge pull request #107821 from liggitt/kubelet-secret-manager
Move kubelet secret and configmap manager calls to sync_Pod functions
2022-01-27 08:26:58 -08:00