Commit Graph

99657 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
9c9af69ea6
Merge pull request #100573 from pacoxu/upgrade-corefile-migration
Update the kubelet log pod status to level 6 as it is so big
2021-03-26 11:26:43 -07:00
Paco Xu
54606db1b4
Update pkg/kubelet/pleg/generic.go
Co-authored-by: Elana Hashman <ehashman@users.noreply.github.com>
2021-03-26 13:19:51 +08:00
ZP-AlwaysWin
b56d8dd513 Add unit test 2021-03-26 11:10:30 +08:00
Kubernetes Prow Robot
30a261d97c
Merge pull request #100566 from dekkagaijin/patch-1
Update image base to `gcr.io/distroless/base-debian10:latest`
2021-03-25 20:04:43 -07:00
pacoxu
3fc1e0891b Update the kubelet log status to level 6 as it is so big
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-26 10:09:20 +08:00
Kubernetes Prow Robot
9af6f70f8f
Merge pull request #100571 from puerco/conformance-on-tarballs
Add KUBE_BUILD_CONFORMANCE on package-tarballs target
2021-03-25 19:00:45 -07:00
Adolfo García Veytia (Puerco)
999a1f5c76 Add KUBE_BUILD_CONFORMANCE on package-tarballs target
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
2021-03-25 18:20:36 -06:00
Kubernetes Prow Robot
931516a87b
Merge pull request #100191 from jingxu97/mar/deployment
Fix deployment lifecycle test issue
2021-03-25 17:13:49 -07:00
Kubernetes Prow Robot
447e338e26
Merge pull request #100552 from BenTheElder/prometheus-visibility
add a verify equivilant to prometheus visibility rules
2021-03-25 15:43:46 -07:00
Benjamin Elder
7ede8a2647 add a verify equivilant to prometheus visibility rules 2021-03-25 14:42:10 -07:00
tiloso
dc16cf4285 Fix staticcheck in k8s.io/client-go/discovery 2021-03-25 22:29:37 +01:00
Kubernetes Prow Robot
01f7495b65
Merge pull request #100563 from msau42/revert-azure
Revert #97417 "fix azure file secret not found issue"
2021-03-25 14:27:46 -07:00
Davanum Srinivas
91ca1b12bb
Set jwks uri in local-up-cluster.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-25 17:09:58 -04:00
Jake Sanders
2c165506bd
Update image base to gcr.io/distroless/base-debian10:latest
This change:
* Updates the base image be based on `buster` (vs. the default `stretch`)
* Consumes the fix for [CVE-2021-3449](https://security-tracker.debian.org/tracker/CVE-2021-3449) in https://github.com/GoogleContainerTools/distroless/pull/700
2021-03-25 12:52:34 -07:00
Kubernetes Prow Robot
4333e5caa7
Merge pull request #100553 from adtac/suspend-intfail
job controller: don't mutate shared cache object
2021-03-25 10:31:29 -07:00
David Eads
cbd762814f use a non-deprecated API to check kube-proxy 2021-03-25 12:41:50 -04:00
Michelle Au
9c169a2122 Revert "fix azure file secret not found issue"
This reverts commit 8d43976b74.

Change-Id: Iefaa0e76489883830ba1c9bdcbc3101bcc33082c
2021-03-25 09:28:50 -07:00
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