Commit Graph

24494 Commits

Author SHA1 Message Date
kerthcet
f77a4543d1 Unregister events in schedulingGates plugin
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-11-06 10:01:13 +08:00
Kubernetes Prow Robot
24e6b03780
Merge pull request #121708 from aravindhp/add-azure-framework-ssh-provider
framework: add SSH support for Azure
2023-11-04 17:19:13 +01:00
Dan Winship
e48aa09340 Make verify-typecheck.sh only check valid targets for a platform
e.g., don't try to compile kube-proxy on darwin, since we don't build
it there anyway.
2023-11-04 10:24:19 -04:00
Paco Xu
70c9eefff3 add --sbom=false --provenance=false for windows servercore cache build 2023-11-04 21:11:05 +08:00
Kubernetes Prow Robot
9f319c3206
Merge pull request #113374 from ahmedtd/kep-3257-projected-types
Implement ClusterTrustBundlePEM projected volume
2023-11-04 01:44:56 +01:00
Kubernetes Prow Robot
953afbb328
Merge pull request #121193 from sohankunkerkar/kubelet-config-dir
Retarget drop-in kubelet configuration dir feature to Alpha
2023-11-03 23:59:29 +01:00
Aravindh Puthiyaparambil
6b6be38896
test: Fix NodeLogQuery tests
- Remove redundant tests
- Fix formatting of the query command by using fmt.Sprintf to
  prevent spurious characters from being introduced
- Fix running of the journalctl command on the node by add the
  default options
- Restrict running the tests on a single node
2023-11-03 15:21:49 -07:00
Sohan Kunkerkar
ad7b9b56f5 test/e2e_node: add e2e test for Kubeletconfig drop-in dir
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com>
Co-authored-by: Peter Hunt <pehunt@redhat.com>
2023-11-03 17:49:22 -04:00
Taahir Ahmed
bd6431323a ClusterTrustBundle projection: e2e test 2023-11-03 12:08:35 -07:00
Kubernetes Prow Robot
66e20ff891
Merge pull request #121394 from pohly/e2e-framework-test-labels
e2e: test labels
2023-11-03 17:35:03 +01:00
Abu Kashem
e5bba37f20
apiserver: promote flowcontrol tests to conformance 2023-11-03 11:08:07 -04:00
Kubernetes Prow Robot
3716bd7681
Merge pull request #121717 from neolit123/1.29-cleanup-kube-dns-service-e2e-tests
test/e2e_kubeadm/dns_addon_test.go: drop kube-dns tests
2023-11-03 14:13:54 +01:00
Kubernetes Prow Robot
f883370b8a
Merge pull request #121679 from bzsuni/fix/integration/apiserver/discovery/service-go/WaitForReady
Fix parameter passing error in function WaitForReady in file test/integration/apiserver/discovery
2023-11-03 13:02:46 +01:00
Kubernetes Prow Robot
edb39d703b
Merge pull request #121583 from bzsuni/fix/e2e/apimachinery
Fix the e2e bug related to the Garbage collector in api-machinery
2023-11-03 13:02:34 +01:00
Lubomir I. Ivanov
b565fbeac0 test/e2e_kubeadm/dns_addon_test.go: drop kube-dns tests
kube-dns as an alternative DNS addon to CoreDNS hasn't been supported
since 1.22 when kubeadm's v1beta3 API was added.

Remove the related tests from the e2e_kubeadm test framework.
2023-11-03 12:05:22 +02:00
kerthcet
50f092c136 Add kubernetes.io/hostname to faked nodes in tests
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-11-03 11:47:36 +08:00
Kubernetes Prow Robot
fb9c94b3a5
Merge pull request #121705 from liggitt/authz-config-webhook-test
Add multi-webhook integration test
2023-11-03 01:29:52 +01:00
Jordan Liggitt
0112d91a05
Add multi-webhook integration test 2023-11-02 19:21:06 -04:00
Aravindh Puthiyaparambil
34b2c4e1ed
framework: add SSH support for Azure
Add Azure to the list of providers that support accessing nodes
using SSH.
Note: This will require a follow up PR adding the required
environment variables, AZURE_SSH_KEY, KUBE_SSH_BASTION to the test
configuration.
2023-11-02 15:01:31 -07:00
Kubernetes Prow Robot
6eee80fa9a
Merge pull request #121633 from mimowo/backoff-limit-per-index-remaining-e2e-test
Add remaining e2e tests for Job BackoffLimitPerIndex based on KEP
2023-11-02 16:11:31 +01:00
Kubernetes Prow Robot
6c64593ba1
Merge pull request #120616 from kannon92/kubelet-disk-api-changes
Kubelet disk api changes
2023-11-02 16:11:20 +01:00
Kevin Hannon
baebc376ff missed a few summary upper limits for major page faults 2023-11-02 10:26:43 -04:00
Kubernetes Prow Robot
1f69e12148
Merge pull request #121653 from tkashem/apf-conformance-test
Add conformance tests for flowcontrol APIs
2023-11-02 14:44:47 +01:00
Kubernetes Prow Robot
73ef630138
Merge pull request #121566 from mzaian/etcd-3510
etcd: Update to version 3.5.10
2023-11-02 14:44:38 +01:00
carlory
1186e25a45 Remove ability to re-enable serving deprecated storagev1beta1 and storagev1alpha1 APIs
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2023-11-02 20:51:06 +08:00
Kubernetes Prow Robot
3240e2b28e
Merge pull request #121674 from neolit123/1.29-super-admin-conf
test/e2e_kubeadm: add test for the kubeadm:cluster-admins CRB
2023-11-02 12:10:08 +01:00
Mohamed Omar Zaian
3c268b7524 etcd: Update to version 3.5.10 2023-11-02 10:30:41 +01:00
Kubernetes Prow Robot
515d1ce6c0
Merge pull request #121393 from mimowo/backoff-limit-per-index-load-test
Benchmark job with backoff limit per index
2023-11-02 09:58:26 +01:00
Lubomir I. Ivanov
4c532213ae test/e2e_kubeadm: add test for the kubeadm:cluster-admins CRB
Add a test that checks if the CRB (kubeadm:cluster-admins)
used for binding admin.conf file users (part of the
kubeadm:cluster-admins Group) to the "cluster-admins"
ClusterRole exists in kubeadm clusters.

It does that only for versions newer than the version
when this feature was added.
2023-11-02 09:49:29 +02:00
Michal Wozniak
ae73cf9cfb Add remaining e2e tests for backoffLimitPerIndex based on KEP 2023-11-02 08:23:41 +01:00
Kubernetes Prow Robot
6b8b188149
Merge pull request #121686 from logicalhan/update-inst-docs
update docs for v1.29 release (note this must be committed after code freeze)
2023-11-02 02:34:57 +01:00
Han Kang
85b10c06fa update docs for v1.29 release (note this must be committed after code freeze) 2023-11-01 15:00:48 -07:00
Kubernetes Prow Robot
4c54ff0e16
Merge pull request #121671 from kannon92/fix-swap-summary-failure
increase bounded limits for major page faults
2023-11-01 20:07:30 +01:00
Kevin Hannon
26923b91e8 implementation of split disk kep 2023-11-01 14:46:33 -04:00
bzsuni
003e4886c6 Fix parameter passing error
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-11-02 01:14:45 +08:00
bzsuni
b2c743154c Fix the e2e bug related to the Garbage collector in api-machinery.
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-11-02 00:23:08 +08:00
Patrick Ohly
338fe7ad55 e2e framework: validate test definitions
This checks that the With* label functions are used instead of the previous
inline tags. To catch strings passed to Ginkgo directly instead of the
framework wrapper functions, the final test specs are checked.
2023-11-01 15:17:34 +01:00
Patrick Ohly
f2cfbf44b1 e2e: use framework labels
This changes the text registration so that tags for which the framework has a
dedicated API (features, feature gates, slow, serial, etc.) those APIs are
used.

Arbitrary, custom tags are still left in place for now.
2023-11-01 15:17:34 +01:00
Kevin Hannon
ecb32a3e29 increase bounded limits for major page faults 2023-11-01 09:57:37 -04:00
Patrick Ohly
833156b77e e2e: define environment 2023-11-01 09:38:59 +01:00
Kubernetes Prow Robot
6abff7457e
Merge pull request #116516 from aojea/servicecidr
KEP-1880 Multiple ServiceCIDR ( and IPAddress allocation)
2023-11-01 03:52:24 +01:00
Kubernetes Prow Robot
593a17d3b6
Merge pull request #121575 from apelisse/update-smd
Update sigs.k8s.io/structured-merge-diff to v4.4.0
2023-11-01 01:51:17 +01:00
Kubernetes Prow Robot
e0d6b7eaaa
Merge pull request #121650 from soltysh/fix_ginkgo_setup
Move invocation to not to cause ginkgo panic
2023-11-01 00:33:32 +01:00
Kubernetes Prow Robot
fafccc0c9a
Merge pull request #121078 from aramase/aramase/f/kep_3331_cel_integration
Implement CEL for StructuredAuthenticationConfig
2023-11-01 00:33:21 +01:00
Abu Kashem
cac26737cd
apiserver: add conformance tests for flowcontrol API 2023-10-31 17:33:05 -04:00
Antonio Ojea
9917c727a1 test e2e: use new ServiceCIDR API
Change-Id: I82075c4252d8734886f80dd68327fe73e2ed4ba5
2023-10-31 21:05:57 +00:00
Antonio Ojea
5d90d07f2d test integration: use new ServiceCIDR API
Change-Id: I7aaa978842fbe8d75383f8a3159ca4fce01ffdcb
2023-10-31 21:05:57 +00:00
Antonio Ojea
271900a0f0 integration etcd data: use new ServiceCIDR API
Change-Id: I68a91815b3220a41e97667d8f8f4a3bdf5a91e8a
2023-10-31 21:05:57 +00:00
Antonio Ojea
cb509b01f3 e2e for ServiceCIDRs
Change-Id: Id7b711e30def4ac02f9e55425b1997d2cfe100f9
2023-10-31 21:05:05 +00:00
Antonio Ojea
46b13d48e2 etcd data
Change-Id: I31c3a1c8fee7f3a681186b934bd7c6b36baee6df
2023-10-31 21:05:05 +00:00
Antonio Ojea
ccbcadb032 add integration test
Since ServiceCIDR and IPAddresses are mostly API driven integration
test will give us a good coverage, exercising real use cases like
the migration from one ServiceCIDR range to a new range.
2023-10-31 21:05:05 +00:00
Jordan Liggitt
df80775693 Include managed field comparison in test 2023-10-31 14:03:39 -07:00
Kubernetes Prow Robot
3631efd85c
Merge pull request #121651 from jiahuif-forks/fix/cel/type-resolver-safe-guard
CEL type resolvers: avoid infinite recursion for type resolvers.
2023-10-31 21:50:37 +01:00
Anish Ramasekar
cc190e0ace
add integration tests
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-10-31 20:16:12 +00:00
Kubernetes Prow Robot
dba565193c
Merge pull request #121104 from carlory/kep-3751-api-changes
[KEP-3571] introduce the VolumeAttributesClass API
2023-10-31 20:23:50 +01:00
Kubernetes Prow Robot
ac6f707155
Merge pull request #120620 from tzneal/sidecar-termination-ordering
sidecars: terminate sidecars after main containers
2023-10-31 19:16:11 +01:00
Kubernetes Prow Robot
a5ff0324a9
Merge pull request #120461 from gjkim42/do-not-reuse-device-of-restartable-init-container
Don't reuse the device of a restartable init container
2023-10-31 19:15:53 +01:00
Kubernetes Prow Robot
2c300ef6b0
Merge pull request #120269 from gjkim42/fix-restart-containers-in-right-order-after-podsandbox-changed
Restart containers in right order with SidecarContainers enabled
2023-10-31 19:15:35 +01:00
Kubernetes Prow Robot
bfeb3c2621
Merge pull request #119447 from gjkim42/do-not-reuse-cpu-set-of-restartable-init-container
Don't reuse CPU set of a restartable init container
2023-10-31 19:15:26 +01:00
Kubernetes Prow Robot
dea3f1a119
Merge pull request #112599 from fabi200123/Adding-Windows-Support-for-InPlaceVerticalScaling
Adding Windows support for InPlace Pod Vertical Scaling
2023-10-31 19:15:12 +01:00
Jiahui Feng
e4776e0f85 avoid infinite recursion for type resolvers. 2023-10-31 10:23:50 -07:00
Kubernetes Prow Robot
8f163470ea
Merge pull request #121636 from sairameshv/121444-fix
[Node E2E Tests] Minor fix to copy the required kubelet, service logs
2023-10-31 18:10:19 +01:00
Maciej Szulik
fba2d2fadc
Move invocation to not to cause ginkgo panic 2023-10-31 17:50:43 +01:00
Michal Wozniak
168e016947 Benchmark job with backoff limit per index 2023-10-31 17:35:39 +01:00
Kubernetes Prow Robot
74fefd877f
Merge pull request #121638 from tkashem/apf-ga
apiserver: set APF featuregate to stable
2023-10-31 15:57:57 +01:00
Abu Kashem
c7fcef1875
apiserver: set APF featuregate to ga 2023-10-31 08:46:24 -04:00
Kubernetes Prow Robot
d337523d62
Merge pull request #121588 from vlasebian/fix-issue-121209
Fix flaky test for services that shouldn't be available when PublishNotReadyAddresses is false
2023-10-31 13:14:06 +01:00
Sai Ramesh Vanka
8e52fc7266 Minor fix to copy the required kubelet, service logs after the execution of the node e2e tests
* It is observed in some of the periodic job results that the kubelet along with few other logs
are not getting copied to the artifacts directory once the node e2e tests are executed
* Following is the sample error log that is displayed once the tests are run
```
I1031 13:15:49.056897   40204 ssh.go:146] Running the command ssh, with args: [-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR -i /home/svanka/.ssh/google_compute_engine core@35.185.108.51 -- sudo ls core@35.185.108.51:/tmp/node-e2e-20231031T125637/results/*.log]
E1031 13:16:15.346641   40204 ssh.go:149] failed to run SSH command: out: ls: cannot access 'core@35.185.108.51:/tmp/node-e2e-20231031T125637/results/*.log': No such file or directory
, err: exit status 2
```
* This change fixes the above issue and helps in gathering the required test artifacts once the tests execution is completed

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2023-10-31 15:36:39 +05:30
Kubernetes Prow Robot
e8d45596df
Merge pull request #121049 from siyuanfoundation/refactor
k8s.io/apiserver/storage/etcd: refactor etcd GetList.
2023-10-31 10:49:33 +01:00
carlory
ae90a69677 volumeattributesclass and core api changes 2023-10-31 11:18:56 +08:00
Kubernetes Prow Robot
f5a5d83d7c
Merge pull request #121089 from tkashem/apf-v1
Promote APF API to v1
2023-10-31 02:39:30 +01:00
Kubernetes Prow Robot
ab13d0b47c
Merge pull request #120780 from munnerz/bound-token-improvements
Including JTI & node reference in issued service account tokens (kep 4193)
2023-10-31 01:22:56 +01:00
Kubernetes Prow Robot
2a4d5c5fd5
Merge pull request #120300 from wojtek-t/refactor_streaming_watch_encoder
Refactor streaming watch encoder to enable caching
2023-10-31 00:09:12 +01:00
Antoine Pelisse
5b268e6daf apply: Add test for duplicates in associative lists 2023-10-30 15:55:50 -07:00
Kubernetes Prow Robot
08070433cc
Merge pull request #121373 from cici37/crdGA
[KEP-2876] Promote CRD validation rule to GA
2023-10-30 22:42:09 +01:00
James Munnelly
76463e21d4 KEP-4193: bound service account token improvements 2023-10-30 21:15:10 +00:00
Kubernetes Prow Robot
05765a851c
Merge pull request #121389 from aleksandra-malinowska/sts-restart-always
Resubmit "Make StatefulSet restart pods with phase Succeeded"
2023-10-30 21:11:51 +01:00
Kubernetes Prow Robot
d4592dc70a
Merge pull request #121310 from nilekhc/polling
[KMSv2] feat: updates encryption config file watch logic to polling
2023-10-30 21:11:42 +01:00
Kubernetes Prow Robot
e4212878dd
Merge pull request #119208 from atosatto/separate-taint-manager
Decouple TaintManager from NodeLifeCycleController (KEP-3902)
2023-10-30 21:11:33 +01:00
Kubernetes Prow Robot
ceea5fd0cb
Merge pull request #119109 from jiahuif-forks/feature/validating-admission-policy/crd-typechecking
ValidatingAdmissionPolicy - Type Checking for API Expensions types
2023-10-30 21:11:19 +01:00
Siyuan Zhang
a968f51fa2 k8s.io/apiserver/storage/etcd: refactor etcd GetList.
Reorder some code.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-10-30 12:48:32 -07:00
Kubernetes Prow Robot
c7a7cb8e17
Merge pull request #121531 from saschagrunert/e2e-node-imageid
Make e2e node image ID test more flexible
2023-10-30 17:40:16 +01:00
Nilekh Chaudhari
e95b7c6d8b
feat: updates encryption config file watch logic to polling
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>

fix (#2)

Signed-off-by: Monis Khan <mok@microsoft.com>
2023-10-30 16:20:39 +00:00
Andrea Tosatto
ccda2d6fd4 kube-controller-manager: Decouple TaintManager from NodeLifeCycleController (KEP-3902) 2023-10-30 12:23:56 +00:00
Abu Kashem
9fd2ab419a
apiserver: allow zero value for the 'nominalConcurrencyShares' field 2023-10-30 08:18:40 -04:00
Abu Kashem
17bda3c3e0
apiserver: apf controller, bootstrap, tests should use flowcontrol v1 API 2023-10-30 08:18:35 -04:00
Abu Kashem
25aebca8d5
apiserver: add etcd data and storage version hash for apf v1 2023-10-30 07:48:23 -04:00
Abu Kashem
b24dd44904
apiserver: enable apf v1 API 2023-10-30 07:48:22 -04:00
Vlad Vitan
feb0e2fc2f Fix flaky test for services that shouldn't be available when PublishNotReadyAddresses is false 2023-10-29 17:15:06 +01:00
Shiming Zhang
3a308140cd Fix e2e 2023-10-29 23:16:13 +08:00
Kubernetes Prow Robot
e0a623d191
Merge pull request #121538 from mimowo/job-e2e-short-termination-time
Improve execution time of job e2e tests
2023-10-28 11:28:52 +02:00
Michal Wozniak
e50cc47a06 Improve execution time for job e2e tests 2023-10-27 19:50:04 +02:00
Kubernetes Prow Robot
f3c13d8d8a
Merge pull request #121366 from bzsuni/cleanup/test/PollImmediateUntilWithContext
use PollUntilContextCancel to replace PollImmediateUntilWithContext in test
2023-10-27 19:08:14 +02:00
Kubernetes Prow Robot
fe21e4d749
Merge pull request #120682 from yt2985/cleanSA
LegacyServiceAccountTokenCleanUp beta
2023-10-27 19:08:05 +02:00
Kubernetes Prow Robot
de4aa52171
Merge pull request #121476 from pohly/golangci-lint-update
golangci-lint v1.55.1
2023-10-27 17:43:21 +02:00
Kubernetes Prow Robot
0a36bcd11d
Merge pull request #121346 from carlory/fix-120840
fix volume conformance e2e test break other test
2023-10-27 17:43:07 +02:00
Kubernetes Prow Robot
6f4ad7a413
Merge pull request #121491 from dejanzele/pod-replacement-policy-e2e
Switch feature flag to beta for pod replacement policy and add e2e test
2023-10-27 14:49:16 +02:00
Kubernetes Prow Robot
f4f5d07f4b
Merge pull request #121557 from bart0sh/PR126-e2e-mark-CDI-test-as-NodeSpecialFeature
e2e_node: mark CDI test as NodeSpecialFeature
2023-10-27 13:41:01 +02:00
Kubernetes Prow Robot
1c0dbe2eef
Merge pull request #121551 from pohly/fix-klog-calls
sample device plugin: fix incorrect Errorf invocation
2023-10-27 13:40:47 +02:00
carlory
77dfd63d1d fix volume conformance e2e test break other test 2023-10-27 17:05:52 +08:00