Commit Graph

99691 Commits

Author SHA1 Message Date
Daniela Lins
6c105c9e8a Linewrap for makePort calls and lint fixes
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 17:12:02 +01:00
Daniela Lins
22cc8dc3a8 Specify IPV4 on tweak names
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:57:11 +01:00
Daniela Lins
f4e469ee14 Standardize Namespace and Podselector tweaks
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:50:28 +01:00
Daniela Lins
5f47d0e8ef Reduce vertical space
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:41:06 +01:00
Daniela Lins
cb48e3cfca Handle int and string port in makePort
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:35:23 +01:00
drfish
aa0b284ca1 Make integration tests not depend on e2e tests 2021-03-25 23:02:52 +08:00
d-kuro
8eda5521c0
Fix data race for leaderelection package 2021-03-25 23:09:24 +09:00
Skyler Clark
c6b99025a6
adds sysctls conformance tests 2021-03-25 09:28:25 -04:00
Kubernetes Prow Robot
5ab4b580de
Merge pull request #100554 from nikhita/branch-smoketests-rules
staging/publishing: add branch-specific smoke tests
2021-03-25 03:49:31 -07:00
Nikhita Raghunath
a2e9727f9b staging/publishing: add branch-specific smoke tests
The `-mod=mod` option is only supported from go1.14. Since `release-1.18`
and `release-1.17` branches use go1.13.15, this commit adds smoke tests
per branch to only add the `-mod=mod` option to branches after
`release-1.18`.

The duplicate smoke test config can be removed once v1.21 is released
and v1.18 is out of support.
2021-03-25 12:48:48 +05:30
Kubernetes Prow Robot
2eb6911e83
Merge pull request #94334 from RaunakShah/volume_provision_perf
Add e2e test to validate performance metrics of volume lifecycle operations
2021-03-24 23:47:29 -07:00
Adhityaa Chandrasekar
0a21157c96 job controller: don't mutate shared cache object
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-25 06:36:15 +00:00
Adhityaa Chandrasekar
4118dff509 suspend integration tests: run all subtests in pre-submit
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-25 06:36:00 +00:00
Kubernetes Prow Robot
533931cfe5
Merge pull request #100549 from RaunakShah/fix_snapshot_cleanup
Fix check before deleting PV in Snapshot e2e test
2021-03-24 21:41:29 -07:00
Kubernetes Prow Robot
e34046c81d
Merge pull request #100537 from pohly/storage-capacity-e2e-test
storage e2e: verify CSIStorageCapacity publishing
2021-03-24 20:01:41 -07:00
Kubernetes Prow Robot
bacce2eca6
Merge pull request #100215 from pacoxu/fix/data-race
fix a data race in volume reconciler ut #99815
2021-03-24 20:01:29 -07:00
shahra
6a97ff529d Fix check before deleting PV in Snapshot e2e test 2021-03-24 18:34:44 -07:00
Jing Xu
787559581f Fix deployment lifecycle and ReplicaSet test issue
The pause image should not run sleep commands. This will cause pod fail
to start correctly.

See details in issue #100047. We discovered some behavior about
development in certain cases like new pod fail to start correctly, but will be further investigated.

Change-Id: I9761bbefa694f6fe51a6f1e7561fa7e566ce4d8f
2021-03-24 18:22:13 -07:00
Kubernetes Prow Robot
bcab4c35d2
Merge pull request #100540 from mauriciopoppe/remove-selinuxoptions
Remove SELinuxOptions double setup in pod spec
2021-03-24 18:01:28 -07:00
Kubernetes Prow Robot
68c021261c
Merge pull request #100519 from tanjing2020/validateOOMScoreAdjSettingIsInRange
Fix the wrong judgment of oom_score_adj
2021-03-24 16:23:28 -07:00
Kubernetes Prow Robot
2a41853329
Merge pull request #100502 from soltysh/nil_in_printerflags
Prevent nil-pointer exception when constructing PrinterFlags
2021-03-24 15:17:29 -07:00
Patrick Ohly
d7a086ddd8 storage e2e: simplify CSIStorageCapacity test
We can support topology detection for all drivers with a single
topology key by allowing different nodes to have the same topology
value. This makes the test a bit more generic and its configuration
simpler.
2021-03-24 22:31:43 +01:00
shahra
34e4a5f22c Add e2e test to validate performance metrics of volume lifecycle operations.
This test currently validates latency and throughput of volume
provisioning against a high baseline.
2021-03-24 13:50:32 -07:00
Kubernetes Prow Robot
d8193c9503
Merge pull request #100464 from listx/remove-listx-from-owners
test/utils/image: remove listx from OWNERS
2021-03-24 13:49:42 -07:00
Kubernetes Prow Robot
e57223876d
Merge pull request #100295 from adtac/suspend-int
add integration test for suspended jobs
2021-03-24 13:49:30 -07:00
Davanum Srinivas
5238a8675d
Set some kube-proxy parameters for local-up-cluster.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-24 15:42:39 -04:00
Mauricio Poppe
d9c4d8bff8 remove selinuxoptions because it's configured before 2021-03-24 18:58:54 +00:00
Kubernetes Prow Robot
e71e284b74
Merge pull request #100505 from lauchokyip/fixDescribe
Fixed kubectl describe ingress causing SEGFAULT if API Group is not specified
2021-03-24 10:50:08 -07:00
Patrick Ohly
b9b5d13b6d storage e2e: verify CSIStorageCapacity publishing
Drivers need to opt into the new test. Depending on how the driver
describes its behavior, the check can be more specific. Currently it
distinguishes between getting any kind of information about the
storage class (i.e. assuming that capacity is not exhausted) and
getting one object per node (for local storage). Discovering nodes
only works for CSI drivers.

The immediate usage of this new test is for csi-driver-host-path with
the deployment for distributed provisioning and storage capacity
tracking. Periodic kubernetes-csi Prow and pre-merge jobs can run this
test.

The alternative would have been to write a test that manages the
deployment of the csi-driver-host-path driver itself, i.e. use the E2E
manifests. But that would have implied duplicating the
deployments (in-tree and in csi-driver-host-path) and then changing
kubernetes-csi Prow jobs to somehow run for in-tree driver definition
with newer components, something that currently isn't done. The test
then also wouldn't be applicable to out-of-tree driver deployments.

Yet another alternative would be to create a separate E2E test suite
either in csi-driver-host-path or external-provisioner. The advantage
of such an approach is that the test can be written exactly for the
expected behavior of a deployment and thus be more precise than the
generic version of the test in k/k. But this again wouldn't be
reusable for other drivers and also a lot of work to set up as no such
E2E test suite currently exists.
2021-03-24 18:18:27 +01:00
tanjing2020
d0882e69e2 Fix the wrong judgment of oom_score_adj 2021-03-24 16:13:20 +08:00
Kubernetes Prow Robot
b11d0fbdd5
Merge pull request #100171 from chenyw1990/fixGlobalFlagChange
add normalize function to global FlagSet
2021-03-23 22:08:04 -07:00
Chok Yip Lau
12f8468fe0 Fixed describe ingress causing SEGFAULT 2021-03-23 23:55:56 -04:00
tanjing2020
d4465b995e Scheduler: skip updates of assumed pods 2021-03-24 10:01:22 +08:00
Wei Huang
b697cacf27
sched: dedupe logic of building kubeConfig 2021-03-23 17:15:45 -07:00
Kubernetes Prow Robot
ea07644522
Merge pull request #99926 from gjkim42/deflake-TestWatchFileChanged
kubelet_test: Deflake TestWatchFileChanged
2021-03-23 16:30:05 -07:00
Abu Kashem
a8ff821a19
refactor finishRequest 2021-03-23 19:21:41 -04:00
Abu Kashem
393a1f73fb
move FinishRequest to its own package 2021-03-23 19:21:33 -04:00
Kubernetes Prow Robot
e471fa419e
Merge pull request #100362 from CaoDonghui123/fixissues6
Fix a panic in "e2e.test --help"
2021-03-23 14:24:07 -07:00
Maciej Szulik
81d9606554
Prevent nil-pointer exception when constructing PrinterFlags 2021-03-23 20:42:35 +01:00
Kubernetes Prow Robot
16610bbb2f
Merge pull request #100472 from liggitt/endpoint-slice-v1beta1
Mark v1beta1 EndpointSlice deprecated in favor of v1
2021-03-23 12:09:48 -07:00
Kubernetes Prow Robot
42261726ed
Merge pull request #100254 from tkashem/apf-post-start-hook-handle-error
apf PostStartHook: handle error from PollImmediateUntil
2021-03-23 12:09:36 -07:00
Jan Safranek
408d67dcc5 Fix mounting partitions on NVMe devices 2021-03-23 19:01:47 +01:00
Hemant Kumar
0c9138a204 reduce volume length for vsphere volumes further 2021-03-23 13:43:51 -04:00
Kubernetes Prow Robot
bbb58fa085
Merge pull request #100465 from chrishenzie/nil-ptr-deref-in-logs
Fix nil ptr dereference in log line
2021-03-23 09:41:36 -07:00
Antonio Ojea
f05998f582 add aojea as sig-network approver 2021-03-23 17:08:21 +01:00
Kubernetes Prow Robot
be2eb33b96
Merge pull request #100438 from dims/fix-providerless-kubelet
Ensure providerless kubelet does not pull cloud providers
2021-03-23 07:49:37 -07:00
Kubernetes Prow Robot
375c9abfa2
Merge pull request #99873 from liggitt/etcd-compatibility
Add Etcd compatibility test
2021-03-23 05:27:36 -07:00
Lukasz Szaszkiewicz
c40a780f9b DynamicControllerClientBuilder: use already provided config when creating new clients
It is the caller's responsibility to remove sensitive information prior to creation.
This allows for potential extensions in the future.
For example, it preserves HTTP wrappers for custom behavior per request.
2021-03-23 11:32:53 +01:00
Lukasz Szaszkiewicz
fa118e23ec DynamicControllerClientBuilder: allows for plugging HTTP wrappers for custom behaviour
There might be cases in which callers want to preserve HTTP wrappers for custom behavior per request.
For example, there might be distributions that would like to add custom HTTP Headers for each HTTP request.
This PR allows for that.

It uses the Wrap method that adds a transport middleware function that will give the caller an opportunity to wrap the underlying http.RoundTripper prior to the first API call being made.
We cannot use WrapTransport because it simply overwrites RoundTrippers for the current config instead of appending to already existing ones.
2021-03-23 11:29:07 +01:00
houjun
d9939a34d9 Missing return on error 2021-03-23 17:21:07 +08:00