Commit Graph

24955 Commits

Author SHA1 Message Date
Davanum Srinivas
caba23a508 cloud/gcp/cluster_upgrade should only run on GCE
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-03-28 11:42:23 -04:00
Kubernetes Prow Robot
f4e246bc93 Merge pull request #123908 from Nordix/esotsal/OOMKiller
oomkiller_linux_test: fix warnings
2024-03-27 11:42:19 -07:00
Kubernetes Prow Robot
20d0ab7ae8 Merge pull request #124011 from bart0sh/PR138-e2e_node-fix-podresurces-failure
e2e_node: fix podresources test
2024-03-22 08:16:08 -07:00
Kubernetes Prow Robot
95a6f2e4dc Merge pull request #124010 from bart0sh/PR137-e2e_node-fix-admission-error
Fix admission error on podresources e2e test
2024-03-21 14:14:13 -07:00
Ed Bartosh
6f5240b19c e2e_node: fix podresources test
Fixed `The phase of Pod e2e-test-pod is Succeeded which is unexpected`
error. `e2epod.NewPodClient(f).CreateSync` is unable to catch 'Running'
status of the pod as pod finishes too fast.
Using `Create` API should solve the issue as it doesn't query pod
status.
2024-03-21 13:11:03 +02:00
Ed Bartosh
9ce994af9f e2e_node: remove Dbus test case
The test case restarts dbus and systemd, which is considered dangerous
practice and caused slowdown of the test cases for CRI-O Serial jobs.
2024-03-20 18:38:11 +02:00
Ed Bartosh
247392271f Fix admission error
Fixed UnexpectedAdmissionError: Allocate failed due to not enough cpus
available to satisfy request: requested=2, available=1, which is unexpected
2024-03-20 18:03:13 +02:00
Anish Ramasekar
4f1c91b24a Fix for TestStorageVersionMigrationWithCRD integration test failure
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-03-18 23:12:50 -07:00
Kubernetes Prow Robot
a2a709077f Merge pull request #123956 from ii/add-alpha-getStoragemigrationAPIGroup
Add alpha endpoint getStoragemigrationAPIGroup to pending_eligible_endpoints.yaml
2024-03-18 14:57:18 -07:00
Kubernetes Prow Robot
2753078f7c Merge pull request #123939 from cici37/vapGAConformance
Change the API tests to conformance tests
2024-03-18 12:30:05 -07:00
Kubernetes Prow Robot
aa73f3163a Merge pull request #122292 from sanposhiho/nodeupdate
register Node/UpdateTaint event to plugins which has Node/Add only and doesn't have Node/UpdateTaint
2024-03-18 08:33:54 -07:00
Sotiris Salloumis
a7f23e46da Fix OOMKiller test warnings 2024-03-17 09:16:24 +01:00
Kensei Nakada
2b56de43e5 register Node/UpdateNodeTaint event to plugins which has Node/Add only, doesn't have Node/UpdateNodeTaint 2024-03-16 14:13:06 +00:00
Stephen Heywood
e5b497df4f Add alpha endpoint getStoragemigrationAPIGroup 2024-03-16 08:39:47 +13:00
Ed Bartosh
26881132bd kubelet: assign Node as an owner for the ResourceSlice
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-03-15 09:46:13 +02:00
Kubernetes Prow Robot
fa07055b1f Merge pull request #123944 from ii/remove-volumeattachment-endpoints
Remove VolumeAttachment endpoints from pending_eligible_endpoints.yaml
2024-03-14 21:32:51 -07:00
Stephen Heywood
80db011202 remove VolumeAttachment endpoints 2024-03-15 13:32:17 +13:00
Stephen Heywood
55302de991 Promote VolumeAttachment e2e test to Conformance 2024-03-15 10:54:25 +13:00
cici37
4048598620 Change the API operation e2e test to conformance test. 2024-03-14 20:59:41 +00:00
Kubernetes Prow Robot
d194e6d06c Merge pull request #123932 from pohly/dra-api-resource-model-rename
dra api: NodeResourceModel -> ResourceModel
2024-03-14 12:11:35 -07:00
Kubernetes Prow Robot
7de02b982e Merge pull request #123857 from cici37/vapGA
[ValidatingAdmissionPolicy]Add conformance tests for API
2024-03-14 12:11:21 -07:00
cici37
045d91d882 Add e2e tests for GA API 2024-03-14 17:12:22 +00:00
Patrick Ohly
a0add8d2c7 dra api: NodeResourceModel -> ResourceModel
When renaming NodeResourceSlice to ResourceSlice, the embedded
[Node]ResourceModel also should have been renamed.
2024-03-14 18:07:36 +01:00
Akihiro Suda
1dc05009fe api: NodeStatus: rename RuntimeClasses to RuntimeHandlers
The runtime classes are apiserver's concept, while the handlers are kubelet's concept.
For NodeStatus, it makes more sense to return the latter ones here.

This commit modifies the following files:

- pkg/apis/core/types.go
- staging/src/k8s.io/api/core/v1/types.go
- pkg/kubelet/nodestatus/setters.go
- pkg/kubelet/kubelet_node_status.go
- pkg/registry/core/node/strategy.go
- test/e2e_node/mount_rro_linux_test.go

Other changes were auto-generated by running `make update`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-14 08:06:39 +09:00
Gaurav Kumar Ghildiyal
6680700b5d Add e2e and integration tests for Service.spec.trafficDistribution (#123812)
* Add e2e tests for Service.spec.trafficDistribution

* Fix linting issue

* Fix spelling

* Add integration tests for trafficDistribution

* Use nodeSelection instead of nodeName to schedule pods on a specific zonal node

* Fix import alias corev1 -> v1 in e2e test

* Address comments

* Add a way to only print log lines in case of errors. This is deemed to be good behaviour by e2e tests guidelines
2024-03-13 14:46:21 -07:00
Kubernetes Prow Robot
f90461c43e Merge pull request #123904 from kannon92/innocent-eviction-potential-fix
innocent-pod should not be evicted due to exceeding requests/limits
2024-03-12 16:20:54 -07:00
Kubernetes Prow Robot
2e528db812 Merge pull request #123873 from jiahuif-forks/tests/validating-admission-policy/typechecking-manual-retry
ValidatingAdmissionPolicy: retry policy creation for CRD type checking E2E test
2024-03-12 14:38:18 -07:00
Jiahui Feng
4f6212fb0e generated: ./hack/update-conformance-yaml.sh 2024-03-12 13:35:50 -07:00
Jiahui Feng
2c2d424b01 make type checking tests non-conformance. 2024-03-12 11:15:30 -07:00
Kevin Hannon
19ae61bab0 innocent-pod should not be evicted due to exceeding requests/limits 2024-03-12 13:37:11 -04:00
Antonio Ojea
7ab1ef644e Revert "Implement a field selector for ClusterIP on Services" 2024-03-12 12:20:27 +00:00
Jiahui Feng
dc2974c646 retry policy creation for CRD type checking E2E test 2024-03-11 14:39:43 -07:00
Kubernetes Prow Robot
016d8b11ae Merge pull request #123865 from dims/disable-aws-drivers-for-in-tree-volumes-test
Disable `aws` drivers for `In-tree Volumes` test
2024-03-11 11:26:13 -07:00
Kubernetes Prow Robot
2010ca8c5a Merge pull request #123849 from AkihiroSuda/fix-123848
e2e_node: mount_rro: skip if feature gate is disabled; fix error string comparison
2024-03-11 08:51:34 -07:00
Davanum Srinivas
4aed5652ed Disable aws drivers for In-tree Volumes test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-03-11 11:08:39 -04:00
Anish Ramasekar
51c26b7002 fix test flake in TestStructuredAuthenticationConfigReload
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-03-10 22:36:26 -07:00
Akihiro Suda
ea14ccdf13 e2e_node: mount_rro: fix error string comparison
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-11 11:50:25 +09:00
Akihiro Suda
5cc1e56248 e2e_node: mount_rro: add SkipUnlessFeatureGateEnabled(RecursiveReadOnlyMounts)
Fix issue 123848

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-11 11:50:25 +09:00
Kubernetes Prow Robot
1f22594c9a Merge pull request #123742 from thockin/cleanup_underscore_tmp
Cleanup _tmp usage
2024-03-10 17:53:44 -07:00
Anish Ramasekar
62ac88b9ea Add metrics for authentication config reload
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-03-09 14:40:22 -08:00
Kubernetes Prow Robot
77ecfb7800 Merge pull request #123525 from enj/enj/f/authn_config_reload
Add dynamic reload support for authentication configuration
2024-03-09 14:13:37 -08:00
Monis Khan
b4935d910d Add dynamic reload support for authentication configuration
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-03-09 14:29:33 -05:00
Akihiro Suda
d4925ce8f8 e2e: KEP-3857: Recursive Read-only (RRO) mounts
Usage:
```
make test-e2e-node \
  TEST_ARGS='--service-feature-gates=RecursiveReadOnlyMounts=true --kubelet-flags="--feature-gates=RecursiveReadOnlyMounts=true"' \
  FOCUS="Mount recursive read-only" SKIP=""
```

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-10 03:00:59 +09:00
Kubernetes Prow Robot
28c4d00c7d Merge pull request #123344 from nilekhc/svm-controller
[Storage Version Migration] feat: implements Storage Version Migration
2024-03-08 13:45:16 -08:00
Nilekh Chaudhari
9161302e7f feat: implements svm controller
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2024-03-08 19:25:10 +00:00
Kubernetes Prow Robot
e0a142dc5c Merge pull request #123815 from mimowo/job-managed-by-test2
Follow up fix to the job status update test
2024-03-08 08:00:35 -08:00
Kubernetes Prow Robot
5639f8f848 Merge pull request #123723 from mimowo/job-managed-by-impl-test
Integration test for change in syncOrphanPod for managedBy jobs
2024-03-08 06:35:36 -08:00
Kubernetes Prow Robot
74b2f4d976 Merge pull request #123821 from dims/check-taints-as-well-for-control-plane
Check taints as well for control-plane
2024-03-08 05:32:32 -08:00
Davanum Srinivas
ee64b30d05 Check taints as well for control-plane
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-03-08 07:17:21 -05:00
Michal Wozniak
acf6b500ee Follow up fix to the job status update test 2024-03-08 07:33:10 +01:00