Patrick Ohly
25c646cbdd
json: never call fsync for stdout or stderr
...
We don't need to worry about data loss once the data has been written to an
output stream. Calling fsync unnecessarily has been the reason for performance
issues in the past.
2022-01-11 09:56:22 +01:00
Patrick Ohly
9a867c555c
logs: benchmark write performance
...
The recent regression https://github.com/kubernetes/kubernetes/issues/107033
shows that we need a way to automatically measure different logging
configurations (structured text, JSON with and without split streams) under
realistic conditions (time stamping, caller identification).
System calls may affect the performance and thus writing into actual files is
useful. A temp dir under /tmp (usually a tmpfs) is used, so the actual IO
bandwidth shouldn't affect the outcome. The "normal" json.Factory code is used
to construct the JSON logger when we have actual files that can be set as
os.Stderr and os.Stdout, thus making this as realistic as possible.
When discarding the output instead of writing it, the focus is more on the rest
of the pipeline and changes there can be investigated more reliably.
The benchmarks automatically gather "log entries per second" and "bytes per
second", which is useful to know when considering requirements like the ones
from https://github.com/kubernetes/kubernetes/issues/107029 .
2022-01-11 09:56:22 +01:00
Patrick Ohly
b8501fc10b
logs: work around logcheck
...
logcheck complains:
Additional arguments to ErrorS should always be Key Value pairs. Please check if there is any key or value missing.
That check is intentional, but not applicable here. The check can be worked
around by calling the functions through variables.
2022-01-11 09:56:22 +01:00
Patrick Ohly
072859c967
logs: create separate test/integration directory
...
The benchmark depends on k8s.io/api (for v1.Container). Such a dependency is
not desirable for k8s.io/component-base/logs, even if it's just for
testing. The solution is to create a separate directory where such a dependency
isn't a problem.
The alternative, a separate package with its own go.mod file under
k8s.io/component-base/logs wouldd have been more complicated to maintain (yet
another go.mod file and different whitelisted dependencies).
2022-01-11 09:56:22 +01:00
Kubernetes Prow Robot
ca4af7a981
Merge pull request #104716 from sanposhiho/feature/scheduler_perf/unused-template-params
...
test/integration/scheduler_perf: check for unused template parameters
2022-01-10 16:21:16 -08:00
Antonio Ojea
742dd6b9c7
use a community owned domain for the invalid registry
2022-01-10 19:37:46 +01:00
Kubernetes Prow Robot
559091ba4f
Merge pull request #107339 from andrewsykim/internal-traffic-policy-external-name-validation
...
Add Service integration tests for internalTrafficPolicy when Type=ExternalName
2022-01-09 02:47:12 -08:00
Kubernetes Prow Robot
d2c9456963
Merge pull request #106287 from Dragoncell/update_cadvisor_version
...
update cadvisor version in test
2022-01-08 15:50:19 -08:00
Jiaming Xu
d6d63b44fa
update cadvisor version in test
...
update NodePrePullImageList
fix conflicts
fix conflicts
remove script
add cadvisor as dependency
address comments
2022-01-07 22:29:12 +00:00
Kubernetes Prow Robot
595bc88f17
Merge pull request #107392 from johngmyers/ipv6-echoserver
...
Support IPv6 in echoserver
2022-01-06 18:50:35 -08:00
Kubernetes Prow Robot
1007fb9e95
Merge pull request #107338 from bostrt/e2e-check-multi-zone
...
Skip tests unless multizone
2022-01-06 18:50:28 -08:00
Kubernetes Prow Robot
858895da81
Merge pull request #103252 from pacoxu/defer-fix
...
custom-metrics: do cleanup even if the creation is not full succeed
2022-01-06 12:50:00 -08:00
Kubernetes Prow Robot
8c9837ed0f
Merge pull request #106624 from Ahmed-Aghadi/codeEnhanceCommonStorage
...
test/e2e/common/storage: enhance assertions
2022-01-06 08:57:25 -08:00
Kubernetes Prow Robot
a18b0272e6
Merge pull request #103967 from pacoxu/probe-warning
...
add probe warning message body for terminated redirect
2022-01-06 08:57:01 -08:00
John Gardiner Myers
55201f9c4a
Support IPv6 in echoserver
2022-01-05 21:48:25 -08:00
Kubernetes Prow Robot
1c2f24f106
Merge pull request #107349 from Riaankl/add-HPA-1
...
Update ineligible_endpoints.yaml to include HPA
2022-01-05 19:08:48 -08:00
Kubernetes Prow Robot
2b0ddeb23b
Merge pull request #106621 from shuheiktgw/check_private_ssh_key_existence
...
Check the private SSH key existence in the node e2e tests
2022-01-05 18:06:35 -08:00
Kubernetes Prow Robot
691e89a917
Merge pull request #107312 from mauriciopoppe/e2e-test-sync-before-snapshot
...
Execute sync before taking the snapshot
2022-01-05 14:56:11 -08:00
Kubernetes Prow Robot
e045e5c875
Merge pull request #107337 from derek-pryor/vsphere-session-leak
...
Fix the leak of vSphere client sessions
2022-01-05 13:54:36 -08:00
Kubernetes Prow Robot
faf1590950
Merge pull request #107179 from hakman/remove_dockershim_tests
...
Clean up dockershim in tests
2022-01-05 13:54:21 -08:00
Riaan Kleinhans
d42d547f0f
Update ineligible_endpoints.yaml
2022-01-06 09:52:27 +13:00
Andrew Sy Kim
aead636249
add integration test validating that converting a Service to ExternalName results in the field being dropped on read
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2022-01-05 12:41:53 -05:00
Andrew Sy Kim
9c3c3d8a3a
add integration test to validate that ExternalName Services can set internalTrafficPolicy, but the field is dropped on read
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2022-01-05 12:41:53 -05:00
Andrew Sy Kim
7aa20122bc
add integration test to check that Service internalTrafficPolicy is no longer defaulting when Type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2022-01-05 12:41:53 -05:00
Kubernetes Prow Robot
adfc35d249
Merge pull request #107200 from pacoxu/test/cronjob-conflict-flake
...
flake: remove the error handler for cronjob integration test
2022-01-05 09:23:09 -08:00
Mauricio Poppe
50b2ec2add
Execute sync before taking the snapshot
2022-01-05 01:22:22 +00:00
Kubernetes Prow Robot
84f1d6834f
Merge pull request #106619 from chendave/ga
...
Graduate `PreferNominatedNode` to GA
2022-01-04 15:21:19 -08:00
Robert Bost
9ab07e1814
Skip tests unless multizone
2022-01-04 15:26:11 -07:00
Kubernetes Prow Robot
710cc5c2a1
Merge pull request #106283 from SergeyKanzhelev/noMoreScalabilityTests
...
There are no more Feature:Performance tests any longer, removing the …
2022-01-04 13:06:26 -08:00
Kubernetes Prow Robot
2036bf0ba3
Merge pull request #106856 from pmorie/cronjob-e2e-typo
...
conformance: correct typo for cronjob forbidconcurrent
2022-01-04 11:27:14 -08:00
Kubernetes Prow Robot
7c013c3f64
Merge pull request #106200 from NikhilSharmaWe/betterOutputAutoscaling
...
Changed code to improve output for files under test/e2e/autoscaling
2021-12-29 16:30:49 -08:00
Kubernetes Prow Robot
1df88a8a42
Merge pull request #107137 from crisboarna/feat/101172_windows-sync-cleanup
...
chore(kubectl_utils): remove windows specifc command addition for sync
2021-12-24 04:30:15 -08:00
Paco Xu
fd099ffaf2
flake fix: remove the error handler for cronjob integration test
2021-12-23 16:50:12 +08:00
Kubernetes Prow Robot
a6299aa2ab
Merge pull request #107173 from mauriciopoppe/fix-snapshot-refactor
...
Fix order of commands in the snapshot tests for persistent volumes
2021-12-22 15:54:36 -08:00
Ciprian Hacman
a0abe5aa33
Clean up dockershim in tests
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev >
2021-12-22 13:05:34 +02:00
Mauricio Poppe
028de6a8cb
Fix order of commands in the snapshot tests for persistent volumes
2021-12-22 00:14:45 +00:00
Kubernetes Prow Robot
ba8410ea5f
Merge pull request #106821 from justinsb/use_non_deprecated_zone_selector
...
e2e: Stop using deprecated zone nodeSelector
2021-12-21 15:59:47 -08:00
Derek Pryor
70e0f8197a
Fix the leak of vSphere client sessions
...
Implement the test cleanup callback method to close any open vSphere
client connections. Without this clean up sessions were leaking during
testing.
2021-12-21 14:07:53 -08:00
Kubernetes Prow Robot
d76c1c56c7
Merge pull request #106831 from gxglls/master
...
docs: fix error link path in storage e2e test doc
2021-12-21 12:44:12 -08:00
Kubernetes Prow Robot
d56558ecaf
Merge pull request #106822 from justinsb/log_volume_when_creating_volume
...
e2e tests: log zone when creating volume
2021-12-21 12:44:01 -08:00
Cristian Boarna
bcb7b938a6
feat(netpol tests): added netpol probeConnectivity args improvement
2021-12-21 12:32:09 +02:00
Cristian Boarna
e755c1cf2a
chore(kubectl_utils): remove windows specifc command addition for sync
2021-12-20 14:24:52 +02:00
Fabio Bertinatto
434741ecb7
Don't log vSphere configuration data in storage e2e tests
2021-12-20 09:20:57 -03:00
Kubernetes Prow Robot
62faf2cdc2
Merge pull request #106721 from aojea/apiserver_dual_service
...
apiserver endpoint reconciler ip families
2021-12-17 15:23:54 -08:00
Kubernetes Prow Robot
a1e8a5bf39
Merge pull request #107027 from Nordix/disable-nodeport-ga
...
Prepare AllocateLoadBalancerNodePorts for GA
2021-12-17 13:24:05 -08:00
Kubernetes Prow Robot
8ade75465a
Merge pull request #104799 from RyanAoh/cronjob_dev
...
fix the error when cleaning up finished jobs for cronjob
2021-12-17 13:23:53 -08:00
Kubernetes Prow Robot
e30e7f6861
Merge pull request #107087 from jsturtevant/remove-hostprocess-feature-flag
...
Remove Hostprocess flag from e2e test
2021-12-17 11:12:15 -08:00
Kubernetes Prow Robot
712745cb67
Merge pull request #106816 from Huang-Wei/fix-nnn-not-cleared
...
clear pod's .status.nominatedNodeName when necessary
2021-12-16 19:36:28 -08:00
Kubernetes Prow Robot
69df976769
Merge pull request #107030 from claudiubelu/tests/serial-gc-test
...
tests: Lowers the number of pods returned by estimateMaximumPods
2021-12-16 13:50:51 -08:00
James Sturtevant
fcb4967039
hostprocess is on by default, no longer needed
2021-12-16 13:31:52 -08:00