Kubernetes Prow Robot
b27670dfbd
Merge pull request #118740 from saschagrunert/kubelet-label-types
...
Make kubelet label types public
2023-09-06 23:46:57 -07:00
carlory
fc51a27c03
fix typecast missing
2023-09-07 14:25:29 +08:00
Francesco Romani
2ea47038b9
podresources: e2e: force eager connection
...
Add and use more facilities to the *internal* podresources client.
Checking e2e test runs, we have quite some
```
rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/lib/kubelet/pod-resources/kubelet.sock: connect: connection refused": rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/lib/kubelet/pod-resources/kubelet.sock: connect: connection refused"
```
This is likely caused by kubelet restarts, which we do plenty in e2e tests,
combined with the fact gRPC does lazy connection AND we don't really
check the errors in client code - we just bubble them up.
While it's arguably bad we don't check properly error codes, it's also
true that in the main case, e2e tests, the functions should just never
fail besides few well known cases, we're connecting over a
super-reliable unix domain socket after all.
So, we centralize the fix adding a function (alongside with minor
cleanups) which wants to trigger and ensure the connection happens,
localizing the changes just here. The main advantage is this approach
is opt-in, composable, and doesn't leak gRPC details into the client
code.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2023-09-07 08:24:49 +02:00
Kensei Nakada
87d49a51be
fix(queue_test): make sure the first bind failure via counter
2023-09-06 19:47:54 +00:00
Kubernetes Prow Robot
eb0724a699
Merge pull request #120404 from kerthcet/flaky-test/bind
...
Output the error message for better analysis
2023-09-06 12:35:08 -07:00
Kubernetes Prow Robot
cf8f9a8d07
Merge pull request #119334 from kmala/serverapply
...
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
2023-09-06 12:34:55 -07:00
Kubernetes Prow Robot
3ed537ab46
Merge pull request #119988 from bzsuni/cleanup/e2e/app
...
[e2e_app] stop using deprecated framework.ExpectNotEqual
2023-09-06 11:08:51 -07:00
Todd Neal
94afd6e3a4
skip the reason check for OOM tests if it will fail
...
This is currently flaking badly due to a race between cgroup deletion
and the runtime detecting the OOM kill.
2023-09-06 12:20:02 -05:00
Gunju Kim
b468e4eb1c
e2e_node: Assign enough time to finish the postStart hook
...
This deflakes the "Containers Lifecycle should not launch second
container before PostStart of the first container completed" test by
assigning enough time to finish the postStart hook.
2023-09-07 00:42:54 +09:00
Kubernetes Prow Robot
56cc5e77a1
Merge pull request #120441 from tzneal/revert-npd-update
...
Revert "bump npd to v0.8.14"
2023-09-06 06:39:04 -07:00
Kubernetes Prow Robot
c0a38d01aa
Merge pull request #120433 from enj/enj/f/kmsv2_default_enable_kdf
...
kmsv2: enable KMSv2KDF feature gate by default
2023-09-06 06:38:52 -07:00
Kubernetes Prow Robot
a759bf2b1e
Merge pull request #119461 from carlory/cleanup-e2e-auth-framework-equal
...
e2e_auth: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:19 -07:00
Kubernetes Prow Robot
ea5862ca4e
Merge pull request #119459 from carlory/cleanup-e2e-apimachinery-framework-equal
...
e2e_apimachinery: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:12 -07:00
Kubernetes Prow Robot
8703ca2413
Merge pull request #118996 from cpanato/golang121
...
[go] Bump images, dependencies and versions to go 1.21.0
2023-09-06 05:34:54 -07:00
Kubernetes Prow Robot
a8aa3621f2
Merge pull request #120407 from shijinye/e2ecleanup-storage-errwaittimeout
...
cleanup:e2e:stop using deprecated wait.ErrWaitTimeout
2023-09-06 04:20:51 -07:00
carlory
36d3672249
e2e_auth: stop using deprecated framework.ExpectEqual
2023-09-06 18:29:28 +08:00
cpanato
67858e1ff0
Bump images, dependencies and versions to go 1.21.0
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-06 12:06:51 +02:00
Patrick Ohly
c682d2b8c5
scheduler: add ResourceClass events
...
When filtering fails because a ResourceClass is missing, we can treat the pod
as "unschedulable" as long as we then also register a cluster event that wakes
up the pod. This is more efficient than periodically retrying.
2023-09-06 11:14:08 +02:00
carlory
15a402eefb
e2e_apimachinery: stop using deprecated framework.ExpectEqual
2023-09-06 14:43:45 +08:00
Kubernetes Prow Robot
04292dd94b
Merge pull request #120369 from Gauravpadam/update-generated-html
...
Generated new documentation.md for kubernetes metrics reference
2023-09-05 23:02:50 -07:00
Kubernetes Prow Robot
debe30de70
Merge pull request #120281 from gjkim42/feature-gate-sidecar-containers-in-kuberuntime
...
Feature-gate SidecarContainers code in pkg/kubelet/kuberuntime
2023-09-05 18:34:54 -07:00
Todd Neal
355ae44a3c
Revert "bump npd to v0.8.14"
...
This reverts commit 7b44d73f73
.
2023-09-05 20:28:53 -05:00
Stephen Heywood
e7ee3ae3d9
Create e2e test for StorageClass endpoints
...
e2e test validates the following 7 endpoints
- createStorageV1StorageClass
- deleteStorageV1CollectionStorageClass
- deleteStorageV1StorageClass
- listStorageV1StorageClass
- patchStorageV1StorageClass
- readStorageV1StorageClass
- replaceStorageV1StorageClass
2023-09-06 12:09:10 +12:00
Kubernetes Prow Robot
3ad8fb5dcf
Merge pull request #120350 from Gauravpadam/metrics-change
...
Changed the generator codes for the kubernetes metrics reference table
2023-09-05 13:09:02 -07:00
Kubernetes Prow Robot
f68c66f96d
Merge pull request #119142 from aramase/aramase/f/kep_3331_add_feature_flag
...
[StructuredAuthenticationConfig] Add feature flag and wire up `--authentication-config` flag
2023-09-05 13:08:51 -07:00
Gauravpadam
2144852f7c
Commits merged
...
Some label fixes
Wrapper class is now metric
merged commits
2023-09-06 01:32:09 +05:30
Monis Khan
657cc2045e
kmsv2: enable KMSv2KDF feature gate by default
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-09-05 15:20:10 -04:00
Gauravpadam
0024c7e166
Changed the generator codes for kubernetes metrics table
...
Corrected the gotemplate range call
Modified the wrapper class
Delete test/instrumentation/documentation/documentation.md
Removed documentation.md change as we're changing it over the other PR
Restored the original doc.md ; PR is solely for the generator code now
Some label fixes
merge commits
2023-09-05 23:32:36 +05:30
AxeZhan
059e8353b7
check labels/annotations in the beginning
2023-09-05 19:23:01 +08:00
jinye
a774887262
cleanup:e2e:stop using deprecated framework.ExpectNotEqual
2023-09-05 18:16:57 +08:00
wlq1212
ef235c4eac
e2e_framework:stop using deprecated wait.ErrwaitTimeout
2023-09-05 14:19:42 +08:00
wen.rui
622eac2347
e2e_storage:stop using deprecated framework.ExpectNotEqual
2023-09-05 09:44:43 +08:00
jinye
9795df456f
cleanup:e2e:stop using deprecated wait.ErrWaitTimeout
2023-09-04 21:53:08 +08:00
Kubernetes Prow Robot
294bde0079
Merge pull request #120119 from Ithrael/fix/kubectl-events-doesnt-filter-events-by-GroupVersion-for-resource-with-full-name
...
fix(kubectl): kubectl events doesn't filter events by GroupVersion fo…
2023-09-04 06:45:48 -07:00
wen.rui
fc25af7f54
using wait.Interrupted instead of deprecated wait.ErrWaitTimeout for apps
2023-09-04 21:36:53 +08:00
kerthcet
e6dfdb240f
Output the error message for better analylsis
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-09-04 20:31:48 +08:00
Kubernetes Prow Robot
6586296afc
Merge pull request #120305 from Rei1010/cleanUp
...
e2e_scheduling:stop using deprecated framework.ExpectError
2023-09-04 04:49:59 -07:00
Kubernetes Prow Robot
a800e8534e
Merge pull request #119487 from carlory/cleanup-e2e-autoscaling-framework-equal
...
e2e_autoscaling: stop using deprecated framework.ExpectEqual
2023-09-04 04:49:48 -07:00
AxeZhan
ff3cb43c30
remove labeld-deployment.yaml
2023-09-04 18:34:28 +08:00
Patrick Ohly
c74d045c4b
scheduler_perf: show name of one pending pod in error message
...
If pods get stuck, then giving the name of one makes it possible
to search for it in the log output. Without the name it's hard
to figure out which pods got stuck.
2023-09-04 09:54:26 +02:00
jinye
95118ec30c
e2e_network:stop using deprecated framework.ExpectError
2023-09-04 11:04:29 +08:00
Kubernetes Prow Robot
751058c0a4
Merge pull request #120285 from wlq1212/cleanup/e2e/clouod
...
e2e_cloud&common:stop using deprecated framework.ExpectError
2023-09-03 01:21:45 -07:00
Kubernetes Prow Robot
84faedfbfe
Merge pull request #119989 from bzsuni/cleanup/e2e/auth
...
[e2e_auth] stop using deprecated framework.ExpectNotEqual
2023-09-02 07:33:11 -07:00
Monis Khan
95121fe846
kmsv2: add legacy data integration test
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-09-01 15:33:28 -04:00
Kubernetes Prow Robot
a99e377a54
Merge pull request #120221 from enj/enj/i/kms_cache_metrics_lock
...
kmsv2: fix race in simpleCache.set when setting cache size metric
2023-09-01 10:00:31 -07:00
ithrael
39e433891b
fix(test): delete cronjobs.v1.example.com pi for clean up
2023-09-01 23:13:26 +08:00
Kubernetes Prow Robot
c3aa3ac3bd
Merge pull request #119468 from Songjoy/cleanup-e2e-upgrades-framework-equal
...
e2e_upgrades: stop using deprecated framework.ExpectEqual
2023-09-01 07:54:32 -07:00
ithrael
36e33cd88e
fix(test): Remove 'shortNames' Property from CronJob Fields in e2e-test
2023-09-01 22:16:06 +08:00
Kubernetes Prow Robot
9a0c389fd7
Merge pull request #120352 from saschagrunert/distroless-bump
...
Update distroless-iptables image version to v0.3.1
2023-09-01 06:52:43 -07:00
Kubernetes Prow Robot
b2499a1c28
Merge pull request #119558 from Songjoy/cleanup-e2e-storage-framework-equal
...
e2e_storage: stop using deprecated framework.ExpectEqual
2023-09-01 05:28:30 -07:00
Sascha Grunert
936d67f688
Update distroless-iptables image version to v0.3.1
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-09-01 13:10:15 +02:00
wlq1212
a56745c706
e2e_cloud:stop using deprecated framework.ExpectError
2023-09-01 17:53:37 +08:00
RuquanZhao
bfc3c2110f
e2e-node: fix TopologyManager test jobs.
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2023-09-01 17:53:16 +08:00
wen.rui
3d9b5d0577
e2e_node:stop using deprecated framework.ExpectError
2023-09-01 17:42:36 +08:00
Rei1010
f1051f34a7
Remove deprecated framework
2023-09-01 17:39:37 +08:00
Patrick Ohly
78f3b76390
scheduler_perf: use different log names for different DRA drivers
...
This helps when using -feature-gate=ContextualLogging=true and running the
SchedulingWithMultipleResourceClaims test case because then output from the two
driver instances is easy to distinguish.
2023-09-01 09:25:09 +02:00
Kubernetes Prow Robot
400059d025
Merge pull request #120194 from bzsuni/bz/bump/npd
...
bump npd to v0.8.14
2023-08-31 20:52:30 -07:00
Kubernetes Prow Robot
efadb94a74
Merge pull request #120259 from SataQiu/clean-apf-20230830
...
apf: remove v1alpha1 API
2023-08-31 19:44:42 -07:00
Monis Khan
b10697c788
kmsv2: fix race in simpleCache.set when setting cache size metric
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-08-31 16:26:58 -04:00
Kubernetes Prow Robot
dd0c2d4eb1
Merge pull request #120108 from tnqn/fix-appgregator
...
Fix OpenAPI aggregation cleanup
2023-08-31 10:42:47 -07:00
ithrael
903156daa2
fix(test): add e2e-test for kubectl events filter by GroupVersion
2023-08-31 23:51:54 +08:00
Kubernetes Prow Robot
8777747c98
Merge pull request #119150 from tnqn/external-traffic-policy-external-ips
...
Allow specifying ExternalTrafficPolicy for Services with ExternalIPs
2023-08-31 08:24:48 -07:00
Gunju Kim
63177db32c
Add an e2e test for the pod sandbox changed scenario
...
This adds an e2e test to ensure that a pod should restart its containers
in right order after the pod sandbox is changed.
2023-09-01 00:13:47 +09:00
Kubernetes Prow Robot
76b06ee239
Merge pull request #120288 from tzneal/fix-pid-pressure-flake
...
fix a PidPressure test flake
2023-08-31 05:46:48 -07:00
Kubernetes Prow Robot
def694bbe0
Merge pull request #119801 from wojtek-t/refactor_watch_encoders
...
Refactor apiserver endpoint transformers to more natively use Encoders
2023-08-31 01:44:48 -07:00
Kubernetes Prow Robot
887ac275a2
Merge pull request #120250 from liyuerich/apimachinery
...
e2e_apimachinery:stop using deprecated framework.ExpectError
2023-08-30 23:40:47 -07:00
Todd Neal
ede524e1a6
fix a pidpressure test flake
...
With the new busybox, ash has a built-in sleep command. Prior to this
change we were creating half the pids expected since `sleep` wasn't
actually launching a new binary. Use the full path to /bin/sleep which
avoids the built-in and actually launches a new process.
2023-08-30 22:44:36 -05:00
Anish Ramasekar
15c02f2a03
add integration tests
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-08-30 23:14:59 +00:00
Quan Tian
bf41b0462c
Fix OpenAPI aggregation cleanup
...
There were four issues in OpenAPI aggregation cleanup:
1. When removing an APIService, openAPIAggregationController was called
twice while openAPIV3AggregationController was never called, leading
to OpenAPI v3 for the APIService not cleaned up.
2. When removing a local APIService, v2 specAggregator should not return
ErrAPIServiceNotFound when it doesn't find the APIService because
local APIServices were never added to its cache, otherwise confusing
error logs would be generated. Besides, the method's comment
indicates that the desired behavior is that no error is returned if
the APIService does not exist.
3. When removing an APIService, v3 specProxier should update
openapiv2converter's cache, like when updating an APIService,
otherwise the API would not be removed from "/openapi/v3".
4. When v3 AggregationController reconciles an APIService, it should
stop requeueing it if it fails with ErrAPIServiceNotFound as the
APIService has been removed, like what v2 AggregationController does,
otherwise it would keep reconciling the APIService forever.
Signed-off-by: Quan Tian <qtian@vmware.com>
2023-08-31 00:01:14 +08:00
Quan Tian
16a7b53602
Fix typos in comments
...
Signed-off-by: Quan Tian <qtian@vmware.com>
2023-08-30 23:56:47 +08:00
Quan Tian
2b69daa960
Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs
...
When defining a ClusterIP Service, we can specify externalIP, and the
traffic policy of externalIP is subject to externalTrafficPolicy.
However, the policy can't be set when type is not NodePort or
LoadBalancer, and will default to Cluster when kube-proxy processes the
Service.
This commit updates the defaulting and validation of Service to allow
specifying ExternalTrafficPolicy for ClusterIP Services with
ExternalIPs.
Signed-off-by: Quan Tian <qtian@vmware.com>
2023-08-30 23:56:47 +08:00
SataQiu
2825519da2
apf: remove v1alpha1 API
2023-08-30 20:48:42 +08:00
bzsuni
7b44d73f73
bump npd to v0.8.14
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-08-30 19:03:33 +08:00
Kubernetes Prow Robot
c723f46603
Merge pull request #119463 from Songjoy/cleanup-e2e-windows-framework-equal
...
e2e_windows: stop using deprecated framework.ExpectEqual
2023-08-30 00:36:47 -07:00
liyuerich
53cb35d6d4
e2e_apimachinery:stop using deprecated framework.ExpectError
...
Signed-off-by: liyuerich <yue.li@daocloud.io>
2023-08-30 14:31:58 +08:00
宋文杰
8a368afa27
e2e_storage: stop using deprecated framework.ExpectEqual
2023-08-30 14:00:34 +08:00
宋文杰
209f23ecd7
e2e_upgrades: stop using deprecated framework.ExpectEqual
2023-08-30 11:28:17 +08:00
Kubernetes Prow Robot
3dd93d2bd7
Merge pull request #114717 from kerthcet/fix/bind-skip-status
...
Add new testcases to integration test TestBindPlugin
2023-08-29 12:25:56 -07:00
Kubernetes Prow Robot
2a23eba15b
Merge pull request #120231 from MartinForReal/patch-1
...
Extend npd e2e timeout to fix npd e2e error
2023-08-29 11:21:33 -07:00
Kubernetes Prow Robot
f9e9d38a88
Merge pull request #119488 from carlory/cleanup-e2e-cloud-framework-equal
...
e2e_cloud: stop using deprecated framework.ExpectEqual
2023-08-29 04:53:21 -07:00
Fan Shang Xiang
8d9517318a
Extend npd e2e timeout to fix npd e2e error
2023-08-29 17:22:28 +08:00
Kubernetes Prow Robot
8428655308
Merge pull request #119963 from pohly/dra-scheduler-perf-multiple-claims
...
dra: scheduler_perf test case with multiple claims per pod
2023-08-29 00:25:34 -07:00
Wojciech Tyczyński
b2c0d80c37
Test watch converter encoder
2023-08-29 09:04:12 +02:00
Kubernetes Prow Robot
27c9d32d46
Merge pull request #120101 from lowang-bh/Hotfix
...
fix: concurrent map writes in e2e test
2023-08-28 23:19:20 -07:00
Kubernetes Prow Robot
f3d0392e07
Merge pull request #119695 from ii/create-pv-pvc-lifecycle-test
...
Write e2e test for PersistentVolume & PersistentVolumeClaim Endpoints + 13 Endpoints
2023-08-28 13:27:20 -07:00
Kubernetes Prow Robot
9c25ce6f3e
Merge pull request #119540 from SataQiu/clean-apiserver-20230724
...
Remove the deprecated kube-apiserver identity lease garbage collector for k8s.io/component=kube-apiserver
2023-08-28 10:49:42 -07:00
kerthcet
c29234d3e1
Add integration tests for all bind plugins skipped in TestBindPlugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-08-28 22:05:58 +08:00
Han Kang
dbbce2aaba
sort stability list of metrics in the shell command ( #120197 )
...
* sort stability list of metrics in the shell command
* remove used vars
* fix verify errors
2023-08-28 04:43:54 -07:00
Kubernetes Prow Robot
c7a04e10a6
Merge pull request #120153 from SataQiu/clean-scheduler-20230824
...
using wait.PollUntilContextTimeout instead of deprecated wait.Poll/PollWithContext/PollImmediate/PollImmediateWithContext methods for scheduler
2023-08-28 02:11:42 -07:00
宋文杰
484510863b
e2e_windows: stop using deprecated framework.ExpectEqual
2023-08-28 17:04:03 +08:00
carlory
f5681f8817
e2e_autoscaling: stop using deprecated framework.ExpectEqual
2023-08-28 16:22:17 +08:00
carlory
05bb01d27a
e2e_cloud: stop using deprecated framework.ExpectEqual
2023-08-28 16:17:25 +08:00
AxeZhan
ff10df107a
remove fake deployment
2023-08-25 21:52:33 +08:00
Kubernetes Prow Robot
8b132ea40a
Merge pull request #120151 from Penguin-zlh/cleanup-e2e-framework-havekey
...
cleanup: e2e : stop using deprecated framework.ExpectHaveKey
2023-08-25 06:02:52 -07:00
AxeZhan
dec1c36125
add kubectl rollout e2e test
2023-08-25 20:17:16 +08:00
Kubernetes Prow Robot
10c622e99a
Merge pull request #119994 from SataQiu/remove-scheduler-v1beta3
...
scheduler: remove deprecated v1beta3 KubeSchedulerConfiguration component config
2023-08-24 15:31:17 -07:00
Kubernetes Prow Robot
46e8cfd7d6
Merge pull request #119508 from nayihz/fix_finalizer_validation
...
validate crd finalizer name
2023-08-24 05:22:20 -07:00
SataQiu
5524f1651a
using wait.PollUntilContextTimeout instead of deprecated wait.Poll/PollWithContext/PollImmediate/PollImmediateWithContext methods for scheduler
2023-08-24 18:35:59 +08:00
penguin
c9c83d1af4
cleanup: e2e : stop using deprecated framework.ExpectHaveKey
2023-08-24 18:21:27 +08:00
nayihz
13b52a1848
fix crd finalizer validation
2023-08-24 13:43:57 +08:00
Kubernetes Prow Robot
232d343d58
Merge pull request #119969 from saschagrunert/cni-plugins
...
Update CNI plugins to v1.3.0
2023-08-23 12:41:57 -07:00
Kubernetes Prow Robot
2e6eafca3f
Merge pull request #119503 from wojtek-t/pagination_ga
...
Graduate APIListChunking to GA
2023-08-23 10:39:29 -07:00
Wojciech Tyczyński
f752ca2dc8
Make API chunking conformance test deterministic
2023-08-23 12:18:23 +02:00
Kubernetes Prow Robot
95bb02943d
Merge pull request #118950 from ndixita/node-allocatable-oom
...
Adding coverage for OOM Kill scenario due to node allocatable memory …
2023-08-22 14:41:54 -07:00
Kubernetes Prow Robot
c0691f3784
Merge pull request #119789 from thockin/deprecate_svc_lb_ingress_with_clusterip
...
Gate: disallow .status.loadBalancer on non-LB svc
2023-08-22 10:02:55 -07:00
lowang-bh
bd06c26d58
fix: concurrent map writes in e2e test
...
Signed-off-by: lowang-bh <lhui_wang@163.com>
2023-08-22 16:57:41 +08:00
Antonio Ojea
826f3a130a
promote to conformance Service multiprotocol tests
...
Services can expose network applications that are running on
one or more Pods. User need to specify the Port and Protocol of the
network application, and network implementations must forward only
the traffic indicated in the Service, as it may present a security
problem if you allow to forward traffic to a backend if the user
didn't specify it.
Change-Id: I77fbb23c6415ed09dd81c4f2deb6df7a17de46f0
2023-08-22 08:36:17 +00:00
tao.yang
c6e54169fc
e2e_apps: stop using deprecated framework.ExpectConsistOf
...
Signed-off-by: tao.yang <tao.yang@daocloud.io>
2023-08-22 11:17:26 +08:00
bzsuni
93832de624
stop using deprecated framework.ExpectNotEqual
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-08-22 11:12:39 +08:00
bzsuni
145dbb6acc
stop using deprecated framework.ExpectNotEqual
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-08-22 09:53:04 +08:00
Dixita Narang
d2dbc583a0
Adding coverage for OOM Kill scenario due to node allocatable memory limits, when pod level memory limits are not set
2023-08-22 00:45:17 +00:00
Kubernetes Prow Robot
f852d7fead
Merge pull request #118653 from pohly/volume-resource-requirements
...
Volume resource requirements
2023-08-21 14:08:05 -07:00
Davanum Srinivas
3e9a4c15a8
Restrict what imports get into code within test/e2e_node
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-08-21 15:04:23 -04:00
Kubernetes Prow Robot
70a28449a7
Merge pull request #120038 from liyuerich/expectempty
...
e2e: stoping using deprecated framework.ExpectEmpty
2023-08-21 08:03:23 -07:00
Antonio Ojea
039859b9b7
e2e network test for udp services with hostNetwork clients
...
There are some implementations of service that use socket loadbalancing
instead of NAT. These implementations don't need to deal with the
conntrack cleanup, however, they need to cleanup the sockets that are
no longer needed, so the application does not get stuck forever.
This can happen in both TCP or UDP, but since UDP is stateless, the
situation is much complicated because does not have mechanisms like TCP
to detect that socket is no longer needed.
Change-Id: Ic2cfbdf6c8b1f1335e8b5964825dd1fa716fef53
2023-08-21 13:39:39 +00:00
Patrick Ohly
2472291790
api: introduce separate VolumeResourceRequirements struct
...
PVC and containers shared the same ResourceRequirements struct to define their
API. When resource claims were added, that struct got extended, which
accidentally also changed the PVC API. To avoid such a mistake from happening
again, PVC now uses its own VolumeResourceRequirements struct.
The `Claims` field gets removed because risk of breaking someone is low:
theoretically, YAML files which have a claims field for volumes now
get rejected when validating against the OpenAPI. Such files
have never made sense and should be fixed.
Code that uses the struct definitions needs to be updated.
2023-08-21 15:31:28 +02:00
Kubernetes Prow Robot
4dee8398ae
Merge pull request #120078 from tzneal/investigate-test-failure
...
expect the new resource_scape_error metric
2023-08-21 04:13:34 -07:00
liyuerich
3546831ceb
e2e_storage: stoping using deprecated framework.ExpectEmpty
2023-08-21 09:18:18 +08:00
Tim Hockin
a930892769
Gate: disallow .status.loadBalancer on non-LB svc
...
The fact that the .status.loadBalancer field can be set while .spec.type
is not "LoadBalancer" is a flub. Any spec update will already clear
.status.ingress, so it's hard to really rely on this. After this
change, updates which try to set this combination will fail validation.
Existing cases of this will not be broken. Any spec/metadata update
will clear it (no error) and this is the only stanza of status.
New gate "AllowServiceLBStatusOnNonLB" is off by default, but can be
enabled if this change actually breaks someone, which seems exceeedingly
unlikely.
2023-08-20 16:40:41 -07:00
Todd Neal
b8512cfe24
expect the new resource_scape_error metric
2023-08-20 14:17:54 -05:00
Todd Neal
905f07f1ac
Revert "mark the OOM killer as serial to reduce flakes"
...
This reverts commit bd6f548746
.
Running as serial didn't completely eliminate the flake so I think
there's something more going on here. Reverting the change to serial
since its not a solution.
2023-08-20 13:38:07 -05:00
Kubernetes Prow Robot
db64cc4a55
Merge pull request #119714 from ritazh/kmsv2-feature-enablement-ut
...
kmsv2 test feature enablement unit test
2023-08-18 20:27:31 -07:00
Kubernetes Prow Robot
c2bddad813
Merge pull request #119454 from pacoxu/fix-ip-mode
...
use LoadBalancer type service for e2e service test to patch ingress status
2023-08-18 20:27:19 -07:00
Kubernetes Prow Robot
8a8d63a732
Merge pull request #120059 from tzneal/mark-oomkiller-test-as-serial
...
mark the OOM killer as serial to reduce flakes
2023-08-18 18:19:31 -07:00
Paco Xu
30ff937aaf
add a fake load balancer class to fix e2e test failure
2023-08-19 08:50:13 +08:00
Kubernetes Prow Robot
addc0391e7
Merge pull request #116897 from Richabanker/kubelete-resource-metrics-ga
...
Graduate kubelet resource metrics to GA
2023-08-18 16:03:37 -07:00
Rita Zhang
d86e72202c
kmsv2 test feature enablement unit test
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-08-18 15:28:32 -07:00
Todd Neal
bd6f548746
mark the OOM killer as serial to reduce flakes
...
In testing I could only reproduce the flake by running stress-ng to load
the CPU. Running it as serial should reduce and hopefully eliminate the
flakiness.
2023-08-18 13:18:50 -05:00
Kubernetes Prow Robot
fbac8388bf
Merge pull request #120018 from liggitt/validating-admission-beta
...
Store validating admission as beta
2023-08-18 07:12:28 -07:00
Kubernetes Prow Robot
5929d49f87
Merge pull request #119494 from carlory/cleanup-e2e-network-framework-equal
...
e2e_network: stop using deprecated framework.ExpectEqual
2023-08-18 03:06:28 -07:00
carlory
e290b4cb3b
e2e_network: stop using deprecated framework.ExpectEqual
2023-08-18 14:54:15 +08:00
Kubernetes Prow Robot
ee265c92fe
Merge pull request #119937 from RyanAoh/kep-1860-dev
...
Make Kubernetes aware of the LoadBalancer behaviour
2023-08-17 14:00:28 -07:00
Todd Neal
577197559a
remove the legacy test dependency
...
This removes the import which added a bunch of apparently
old failing tests.
2023-08-17 12:54:20 -05:00
Richa Banker
4712025ea8
Graduate kubelet resource metrics to GA
2023-08-17 09:22:48 -07:00
Kubernetes Prow Robot
93bf570d46
Merge pull request #119746 from SataQiu/cleanup-scheduler-20230803
...
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for scheduler
2023-08-17 09:07:21 -07:00
Jordan Liggitt
af9bf7b41e
Prefer non-alpha storage versions when available
2023-08-17 10:35:46 -04:00
Jordan Liggitt
09fa21ab87
Store validating admission policies and bindings as v1beta1
2023-08-17 10:35:45 -04:00
Kubernetes Prow Robot
d4d9f7deee
Merge pull request #119489 from carlory/cleanup-e2e-common-framework-equal
...
e2e_common: stop using deprecated framework.ExpectEqual
2023-08-17 03:25:22 -07:00
SataQiu
ef7d404702
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for pkg/scheduler
...
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for test/integration/scheduler
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for test/e2e/scheduling
using wait.ConditionWithContextFunc for PodScheduled/PodIsGettingEvicted/PodScheduledIn/PodUnschedulable/PodSchedulingError
2023-08-17 17:25:09 +08:00
Sascha Grunert
7933368460
Update CNI plugins to v1.3.0
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-08-17 09:50:53 +02:00
SataQiu
427b703c37
scheduler: remove deprecated v1beta2 KubeSchedulerConfiguration
2023-08-17 13:27:21 +08:00
Kubernetes Prow Robot
9ee7185be6
Merge pull request #119501 from Songjoy/cleanup-e2e-node-framework-equal
...
e2e_node: stop using deprecated framework.ExpectEqual
2023-08-16 16:36:30 -07:00
Kubernetes Prow Robot
4d166947cf
Merge pull request #119097 from pacoxu/fix-eviction-pid
...
PIDPressure condition is triggered slow on CRI-O with large PID pressure/heavy load
2023-08-16 16:36:19 -07:00
Kubernetes Prow Robot
88d14edc26
Merge pull request #119197 from saschagrunert/stop-container-runtime-err
...
Check dbus error on container runtime start/stop
2023-08-16 15:27:52 -07:00
Kubernetes Prow Robot
b1e35d5616
Merge pull request #119974 from tzneal/bump-busybox-test-version
...
bump the busybox test version to resolve test failures
2023-08-16 12:44:13 -07:00
Kubernetes Prow Robot
ad4418516f
Merge pull request #119939 from dims/kubectl-lookup-host-in-kubeconfig-when-needed
...
[kubectl] Lookup Host from kubeconfig when needed
2023-08-16 12:44:06 -07:00
Kubernetes Prow Robot
dd44792cec
Merge pull request #119880 from saschagrunert/seccomp-filter
...
Make seccomp status checks in e2e tests more robust
2023-08-16 12:43:54 -07:00
Kubernetes Prow Robot
18290bfdc8
Merge pull request #119966 from aojea/fixfix
...
e2e framework util subtle bug checking endpoints
2023-08-16 09:33:08 -07:00
git-jxj
a5b3a4b738
cleanup: Update deprecated FromInt to FromInt32 ( #119858 )
...
* redo commit
* apply suggestions from liggitt
* update Parse function based on suggestions
2023-08-16 09:33:01 -07:00
Kubernetes Prow Robot
c5a675808b
Merge pull request #119745 from tsmetana/fix-local-stress-flake
...
Local PV Stress test: don't fail on deleting missing PV
2023-08-16 09:32:53 -07:00
Kubernetes Prow Robot
dd177629ca
Merge pull request #119654 from p0lyn0mial/upstream-watch-list-e2e-panic
...
e2e/apimachinery/watchlist: stop panicking when run against unsupported cluster/environment
2023-08-16 09:32:46 -07:00
Todd Neal
b75c5d33e5
bump the busybox test version to resolve test failures
...
- bump busybox version
- specify the path to /bin/sleep to avoid calling a new shell
builtin
2023-08-16 08:50:20 -05:00
Kubernetes Prow Robot
e298e92115
Merge pull request #119819 from pohly/dra-performance-test-driver
...
dra test: enhance performance of test driver controller
2023-08-16 04:32:26 -07:00
Antonio Ojea
8314122382
e2e framework util subtle bug checking endpoints
...
Change-Id: Ied14efcb75a45e3bbd5f76d4ee4c89703161df54
2023-08-16 08:18:11 +00:00
Kubernetes Prow Robot
b57b2dcfcf
Merge pull request #119928 from aojea/fixe2e
...
e2e WaitForServiceEndpointsNum take into account the address family
2023-08-16 00:24:27 -07:00
Patrick Ohly
1e961af858
scheduler_perf: test case for DRA with multiple claims
...
The new test case covers pods with multiple claims from multiple drivers. This
leads to different behavior (scheduler waits for information from all drivers
instead of optimistically selecting one node right away) and to more concurrent
updates of the PodSchedulingContext objects.
The test case is currently not enabled for unit testing or integration
testing. It can be used manually with:
-bench=BenchmarkPerfScheduling/SchedulingWithMultipleResourceClaims/2000pods_100nodes
... -perf-scheduling-label-filter=
2023-08-16 08:32:36 +02:00
Patrick Ohly
0331e98957
scheduler_perf: fix installing DRA test driver multiple times
...
The driver name configuration option was ignored, so a second driver
would have used the same name.
2023-08-16 08:32:36 +02:00
Kubernetes Prow Robot
c41c448b80
Merge pull request #119890 from tzneal/containers-lifecycle-flake
...
crio: increase test buffer to eliminate test flakes
2023-08-15 23:13:45 -07:00
Kubernetes Prow Robot
130a5a423f
Merge pull request #119785 from sanposhiho/waitonpermit-fiterror
...
fix: register the plugin rejects Pods in WaitOnPermit to UnschedulablePlugins
2023-08-15 23:13:04 -07:00
Kubernetes Prow Robot
57212647e9
Merge pull request #119769 from Huang-Wei/bug/prefilter-preemption
...
Fix a bug that PostFilter plugin may don't function if previous PreFilter plugins return Skip
2023-08-15 23:12:50 -07:00
Kubernetes Prow Robot
061ae8a68b
Merge pull request #119765 from tzneal/detect-nfsv3-and-change-mount-path
...
fix mirror pod nfs test failure due to differing NFS versions
2023-08-15 23:12:44 -07:00
Kubernetes Prow Robot
55c3cd9a30
Merge pull request #119761 from soltysh/fix-sset-test
...
Statefulset should wait for new replicas when removing .start.ordinal
2023-08-15 23:12:37 -07:00
Kubernetes Prow Robot
251c17113c
Merge pull request #119741 from humblec/cloudbuild
...
Update the container images used in cloudbuild to their latest version
2023-08-15 19:44:07 -07:00
Kubernetes Prow Robot
ef533decd7
Merge pull request #119715 from logicalhan/ExponentialBucketsRange
...
add support for ExponentialBucketsRange
2023-08-15 19:43:53 -07:00
Kubernetes Prow Robot
3111fee8bf
Merge pull request #119670 from lengrongfu/fix/oomkill-multi-target-container
...
fix OOM killer
2023-08-15 19:43:40 -07:00
Kubernetes Prow Robot
22d90ebde2
Merge pull request #119636 from tzneal/update-busybox-test-image
...
update the busybox test image to 1.36.1
2023-08-15 19:43:25 -07:00
Kubernetes Prow Robot
59f81980a1
Merge pull request #119579 from yt2985/cleanSA
...
Fix the flaky legacy_service_account_token_clean_up_test.
2023-08-15 19:43:12 -07:00
Kubernetes Prow Robot
de8c36cb56
Merge pull request #119502 from Songjoy/cleanup-e2e-scheduling-framework-equal
...
e2e_scheduling: stop using deprecated framework.ExpectEqual
2023-08-15 19:42:43 -07:00
Kubernetes Prow Robot
3455845b15
Merge pull request #119492 from carlory/cleanup-e2e-instrumentation-framework-equal
...
e2e_instrumentation: stop using deprecated framework.ExpectEqual
2023-08-15 19:42:36 -07:00
Kubernetes Prow Robot
e725d10960
Merge pull request #119490 from carlory/cleanup-e2e-dra-framework-equal
...
e2e_dra: stop using deprecated framework.ExpectEqual
2023-08-15 19:42:25 -07:00
Kubernetes Prow Robot
3525255622
Merge pull request #119212 from CoderSherlock/master
...
Added oomkill test for init container and fix typos
2023-08-15 15:17:48 -07:00
Heba Elayoty
224087abfa
Add Pod Scheduling SLI Duration metric ( #119049 )
...
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-08-15 15:17:41 -07:00
Kubernetes Prow Robot
d486180eb0
Merge pull request #118748 from andreaskaris/kubectl-wait-for
...
Kubectl: Improve conditionFuncFor expression parsing for wait --for jsonpath
2023-08-15 15:17:26 -07:00
Kubernetes Prow Robot
67c33faddd
Merge pull request #117631 from skitt/intstr-fromint32-testing
...
Test: use new intstr functions
2023-08-15 15:16:27 -07:00
Antonio Ojea
a0f07f2b4d
e2e WaitForServiceEndpointsNum take into account the address family
...
Since EndpointSlices can carry dual stack families, but Endpoints can
only have one single family, the function must take this into account
and only compare the addresses of the same family, otherwise it will
always fail for Services with dual stack endoints, because the endpoint
slices will have always twice addresses than the Endpoints.
Change-Id: Id08cb22f8a2adc103a4f5a4fe3eec25f448cd21b
2023-08-14 17:02:50 +00:00
Davanum Srinivas
a161fa8017
pull Host from kubeconfig when needed
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-08-14 10:16:24 -04:00
Aohan Yang
03415ebc1d
Integration tests for IP mode field
2023-08-14 17:21:54 +08:00
Kensei Nakada
cf3f0bd778
fix: register the plugin rejects Pods in WaitOnPermit to UnschedulablePlugins
2023-08-12 07:18:01 +00:00
Todd Neal
e258228e4a
use a buffer equivalent to grace period to eliminate test flakes
...
This modifies the test to wait up to 2x the grace period for the pod to
be removed.
2023-08-11 14:08:11 -05:00
Todd Neal
717c149a73
fix mirror pod nfs test failure due to differing NFS versions
...
/exports *(rw,fsid=0,insecure,no_root_squash)
can be mounted as `/exports` using NFSv3 and `/` using NFSv4
Mount as '/', since clients that support both can try both.
2023-08-11 07:27:05 -05:00
Roman Bednar
dd7b7073c3
e2e: add test for verification of timestamp for new PVs
2023-08-11 11:39:47 +02:00
Roman Bednar
8e66149870
e2e: remove extra spaces
2023-08-11 11:28:11 +02:00
Wei Huang
765f3916c2
Fix a bug that PostFilter plugin may not function if previous PreFilter plugins return Skip
2023-08-10 13:43:00 -07:00
Kubernetes Prow Robot
a287fd6aa6
Merge pull request #119869 from a-hilaly/e2e-tests/match-conditions/flake-fix
...
Remove `matchConditions` flaky test
2023-08-10 01:01:28 -07:00
Sascha Grunert
8ab6bee676
Make seccomp status checks in e2e tests more robust
...
The tests have been introduced in
ca7be7dc6d
and checked for `ecc` in `/proc/self/status` since its creation.
We got a new field `Seccomp_filters:` with the Linux commit
c818c03b66
,
means that `ecc` would now match both and interfere with possible test
results depending on the host.
The field `Seccomp:` got introduced in
2f4b3bf6b2
and has never changed since then, means we can use it directly to make
the tests more strict.
Refers to https://github.com/kubernetes-sigs/cri-tools/pull/1236
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-08-10 09:51:03 +02:00
Kubernetes Prow Robot
e6218f3d3b
Merge pull request #119876 from marosset/revert-118895
...
Revert "Merge pull request #118895 from RyanAoh/kep-1860"
2023-08-09 19:27:31 -07:00
Mark Rossetti
0d90d1ffa5
Revert "Merge pull request #118895 from RyanAoh/kep-1860"
...
This reverts commit 890a6c8f70
, reversing
changes made to 4f60a8d493
.
2023-08-09 15:51:20 -07:00
Kubernetes Prow Robot
3d941afece
Merge pull request #119835 from liggitt/mitigate-aggregated-discovery-npe
...
Avoid returning nil responseKind in v1beta1 aggregated discovery
2023-08-09 15:37:30 -07:00
Kubernetes Prow Robot
201f807036
Merge pull request #119784 from sanposhiho/bug-fix
...
fix: broadcast when pod is pushed back to activeQ directly in AddUnschedulableIfNotPresent
2023-08-09 13:05:31 -07:00
Jordan Liggitt
1876ddf714
Avoid returning nil responseKind in v1beta1 aggregated discovery
2023-08-09 14:45:33 -04:00
Amine Hilaly
55ca1a6ee1
Remove leases test case from AdmissionWebhookMatchConditions suit
...
Signed-off-by: Amine Hilaly <hilalyamine@gmail.com>
2023-08-09 18:39:01 +02:00
Kensei Nakada
050c0437e6
fix: broadcast when pod is pushed back to activeQ directly in AddUnschedulableIfNotPresent
2023-08-09 03:32:14 +00:00
Stephen Heywood
74053e2151
Create e2e test for PV/PVC endpoints
...
e2e test validates the following 15 endpoints
- createCoreV1NamespacedPersistentVolumeClaim
- createCoreV1PersistentVolume
- deleteCoreV1CollectionNamespacedPersistentVolumeClaim
- deleteCoreV1CollectionPersistentVolume
- deleteCoreV1NamespacedPersistentVolumeClaim
- deleteCoreV1PersistentVolume
- listCoreV1NamespacedPersistentVolumeClaim
- listCoreV1PersistentVolume
- listCoreV1PersistentVolumeClaimForAllNamespaces
- patchCoreV1NamespacedPersistentVolumeClaim
- patchCoreV1PersistentVolume
- readCoreV1NamespacedPersistentVolumeClaim
- readCoreV1PersistentVolume
- replaceCoreV1NamespacedPersistentVolumeClaim
- replaceCoreV1PersistentVolume
2023-08-09 09:12:42 +12:00
Jeremy Rickard
38a81ca04f
Bump distroless-iptables to 0.2.7
...
Signed-off-by: Jeremy Rickard <jeremyrrickard@gmail.com>
2023-08-08 07:14:14 -06:00
Kubernetes Prow Robot
68d79b0d69
Merge pull request #119798 from aojea/endpoints_and_slices
...
Fix flaky test depending on EndpointSlices to be ready
2023-08-08 04:52:14 -07:00
Patrick Ohly
0e23840929
dra test: enhance performance of test driver controller
...
Analyzing the CPU profile of
go test -timeout=0 -count=5 -cpuprofile profile.out -bench=BenchmarkPerfScheduling/.*Claim.* -benchtime=1ns -run=xxx ./test/integration/scheduler_perf
showed that a significant amount of time was spent iterating over allocated
claims to determine how many were allocated per node. That "naive" approach was
taken to avoid maintaining a redundant data structure, but now that performance
measurements show that this comes at a cost, it's not "premature optimization"
anymore to introduce such a second field.
The average scheduling throughput in
SchedulingWithResourceClaimTemplate/2000pods_100nodes increases from 16.4
pods/s to 19.2 pods/s.
2023-08-08 13:36:35 +02:00
Jeremy Rickard
72c8cf9fce
[go] Bump images, versions and deps to use Go 1.20.7
...
Signed-off-by: Jeremy Rickard <jeremyrrickard@gmail.com>
2023-08-07 13:25:59 -06:00
Antonio Ojea
2ceca1c78d
e2e WaitForServiceEndpointsNum should watch EndpointSlices
...
EndpointSlices is the evolution of the Endpoint object and most of the
components are using it for implementing Services, this menas that
despite the Endpoint object is up to date, the EndpointSlices may
lag behind, so test must ensure that both objects are in sync to
avoid race conditions.
Change-Id: I5d9bc7774c68f321537379d1f20b2a1fe0b39e6e
2023-08-07 18:34:06 +00:00
Maciej Szulik
ef51dbfa0c
Drop [Feature: tag to make sure this tests runs on pre-submits
...
In v1.27 StatefulSetStartOrdinal became beta, which makes it on by
default, but we forgot to turn these tests on along with it. This makes
these tests run always.
2023-08-07 13:38:43 +02:00
carlory
3e908c5bde
e2e_common: stop using deprecated framework.ExpectEqual
2023-08-07 01:15:33 +08:00