Commit Graph

97895 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
c5759ab86d
Merge pull request #98787 from smarterclayton/pass_zones
test/e2e: Allow zones to be passed to e2e cloud provider
2021-02-04 19:44:51 -08:00
Joseph Anttila Hall
6499d4a730 Bump konnectivity-client to v0.0.15
$ ./hack/pin-dependency.sh \
  sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15
$ ./hack/update-vendor.sh
2021-02-04 19:42:20 -08:00
Clayton Coleman
9830cc911f
test/e2e: Allow zones to be passed to e2e cloud provider
Instead of allowing the cloud provider to guess at the zones that
should be applied for a cluster under test, allow the explicit list
of zones to consider to be passed as a new test context flag -gce-zones.

Only the GCE test cloud provider recognizes this value because only
the GCE test cloud provider makes assumptions about zones for verifying
values, and the default assumptions for GKE do not always match non-GKE
providers.
2021-02-04 21:53:54 -05:00
Han Kang
73d797d474 Wire up static-analysis so that it executes in the normal 'hack' flow 2021-02-04 18:48:03 -08:00
chymy
4c198dc9eb Repeated err judgment in ns_conditions_test.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-05 10:44:37 +08:00
Kubernetes Prow Robot
f5fb1c93db
Merge pull request #96021 from huffmanca/dont-remove-volume
Dont remove volumes when saveVolumeData fails
2021-02-04 18:20:51 -08:00
Clayton Coleman
286d989d8d
test/e2e: Allow test invokers to skip test waits before and after
A number of e2e tests are useful to run after the system has been
disrupted or is in the progress of being disrupted, but the current
suite and test logic blocks progress waiting for all nodes to be
healthy.

By passing -1 to --minStartupPods or --allowed-not-ready-nodes flags
the caller can bypass wait logic before and after test suites that
would prevent running e2e during disruption. This allows use of parts
of the e2e suite during cluster duress to verify that controllers or
components still function.
2021-02-04 20:14:05 -05:00
Kubernetes Prow Robot
85ea0dca78
Merge pull request #98705 from mcshooter/master
Disable sample submission and MAPS Reporting from Windows Defender
2021-02-04 16:46:52 -08:00
Kubernetes Prow Robot
861ef46f64
Merge pull request #98747 from lauchokyip/fixtypo
Fixed typo in create_priorityclass
2021-02-04 15:55:25 -08:00
Kubernetes Prow Robot
4eb9d825d5
Merge pull request #98489 from alculquicondor/job-testtable
Make sync Job test tables more readable
2021-02-04 15:55:16 -08:00
Kubernetes Prow Robot
6031faee4b
Merge pull request #98464 from chymy/kctl-topnode-20210127
Remove heapster flag in 'kubectl top'
2021-02-04 15:55:06 -08:00
Kubernetes Prow Robot
c14465cafb
Merge pull request #98424 from rphillips/fixes/98142
kubelet: Pods created and rapidly terminated get stuck
2021-02-04 15:54:58 -08:00
Kubernetes Prow Robot
c1b3797f4b
Merge pull request #97824 from hanlins/fix/97225/hc-rules
Explicitly add iptables rule to allow healthcheck nodeport
2021-02-04 15:54:52 -08:00
Kubernetes Prow Robot
7be6c1c393
Merge pull request #97863 from qfen/master
97657: Removed "FromPort" in netpol tests
2021-02-04 15:02:52 -08:00
Michelle Tandya
904f0b628b Disable sample submission and MAPS Reporting from Windows Defender
Include logging when setting windows defender preferences

Log Window Defender preferences to show configuration changes

Move Defender configuration to be a part of Set-PrerequisiteOptions
2021-02-04 23:02:09 +00:00
Kubernetes Prow Robot
81d8ccfa8e
Merge pull request #97224 from tanjing2020/fix_SA2002
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-02-04 13:23:03 -08:00
Kubernetes Prow Robot
7bbffd1126
Merge pull request #96911 from munnerz/fix-typo-admission-chain
Fix typo in API docs for sideEffects field on admission webhook resources
2021-02-04 13:22:52 -08:00
Michael Taufen
8418fd9b15 Use FQDN for SERVICEACCOUNT_ISSUER in tests 2021-02-04 10:40:40 -08:00
Kubernetes Prow Robot
aacd157c2e
Merge pull request #97457 from claudiubelu/test-images-readme-updates
test images: Updates Image Builder process in the README
2021-02-04 09:52:47 -08:00
Kubernetes Prow Robot
11ab887ccd
Merge pull request #95567 from claudiubelu/test-images/linux-busybox
test images: Mirrors dockerhub images to staging
2021-02-04 09:52:29 -08:00
Ryan Phillips
f918e11e3a register all pending pod deletions and check for kill
do not delete the cgroup from a pod when it is being killed
2021-02-04 11:45:42 -06:00
Kubernetes Prow Robot
3416b6b0a4
Merge pull request #98715 from carlory/truncate-message
fix kube-scheduler cannot send event because the Note field is too large
2021-02-04 08:20:32 -08:00
Claudiu Belu
9b09d8752f test images: Adds Windows support (part 3)
Adds the httpd, nginx, images that are used in tests.

Two different versions of nginx have to build, and thus, the have
different folders. An ALIAS file was added to nginx-new in order to
keep the same image name.
2021-02-04 06:15:54 -08:00
wzshiming
48eb16797c Speed up pkg/volume/util/operationexecutor unit tests 2021-02-04 22:14:34 +08:00
andyzhangx
e22efa59da azure file migration go beta 2021-02-04 12:56:23 +00:00
Kubernetes Prow Robot
35bc0fbad5
Merge pull request #98721 from adtac/sprefunsched
scheduler_perf: remove implicit barrier at the end
2021-02-04 02:02:28 -08:00
Carlos Panato
e57ea32158
networking/validation: add endport range validation 2021-02-04 10:28:26 +01:00
Kubernetes Prow Robot
9273c3be12
Merge pull request #98750 from mortent/DisruptionControllerNilPointer
Fix nil pointer dereference in disruption controller
2021-02-03 23:36:29 -08:00
Kubernetes Prow Robot
5b3333a262
Merge pull request #98722 from yangjunmyfm192085/run-test10
Fix the error of kms_transformation_test about integration test
2021-02-03 21:28:28 -08:00
JunYang
256f891728 Fix the error of kms_transformation_test about integration test
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-02-04 19:23:59 +08:00
Manohar Reddy
a6ec62f76d add e2e tests for DeleteSnapshotsecrets 2021-02-04 10:46:00 +05:30
Morten Torkildsen
b63342af70 Fix nil pointer dereference in disruption controller 2021-02-03 21:04:29 -08:00
Kubernetes Prow Robot
ebe7380b38
Merge pull request #98518 from tanjing2020/change-log
migrate default_preemption.go to structured logging
2021-02-03 19:54:28 -08:00
Chok Yip Lau
2edbea60a5 Fixed typo in create_priorityclass 2021-02-03 21:46:10 -05:00
carlory
0b730f04ce fix kube-scheduler cannot send event because the Note field is too large 2021-02-04 10:36:11 +08:00
Kubernetes Prow Robot
bff6452893
Merge pull request #98738 from liyanhui1228/addvspheresetup
Add e2e test setup for windows vsphere driver
2021-02-03 18:08:28 -08:00
PingWang
4103ff490f Extract the const for ContainerStateReason
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update fmt

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update test

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2021-02-04 08:52:13 +08:00
Kubernetes Prow Robot
429eaca536
Merge pull request #98700 from Jiawei0227/update_label
Update gce-pd volume topology label to GA
2021-02-03 16:42:28 -08:00
liyanhui1228
390eee44ba Only add ntfs to vsphere driver 2021-02-03 15:59:04 -08:00
Kubernetes Prow Robot
aad16fd4cc
Merge pull request #98737 from liggitt/nytimes-license
Update github.com/NYTimes/gziphandler
2021-02-03 15:16:28 -08:00
liyanhui1228
cd8dc20f7f Add e2e test setup for windows vsphere driver 2021-02-03 13:57:44 -08:00
Jordan Liggitt
4e7a9e5bcc Update github.com/NYTimes/gziphandler 2021-02-03 16:57:36 -05:00
Kubernetes Prow Robot
0083786ca9
Merge pull request #98481 from gavinfish/sched-isstatusequal
Scheduler: add StatusEqual func for Status comparer
2021-02-03 13:32:28 -08:00
Matthew Wong
f3062a83d2 Warn instead of erroring if --gce-zone is not passed to e2e.test when --provider=aws 2021-02-03 12:54:32 -08:00
Kubernetes Prow Robot
af8594ff99
Merge pull request #97408 from KnicKnic/kubectl_wait
kubectl wait ensures observedGeneration >= generation
2021-02-03 12:42:28 -08:00
Kubernetes Prow Robot
10e11baa05
Merge pull request #98345 from ii/pod-service-proxy-with-path
Fix possible flake while testing service endpoints via proxy
2021-02-03 10:52:29 -08:00
Kubernetes Prow Robot
c884bf1648
Merge pull request #98728 from stmcginnis/kubeadm-plan
Improve wording in kubeadm upgrade plan
2021-02-03 10:02:28 -08:00
drfish
d15dacb57d Add Equal func for Status struct 2021-02-04 00:32:01 +08:00
Sean McGinnis
874ceb0fdf
Improve wording in kubeadm upgrade plan
Originally raised as an issue with invalid versions to plan, but it has
been determined with air gapped environments and development versions it
is not possible to fully address that issue.

But one thing that was identified was that we can do a better job in how
we output the upgrade plan information. Kubeadm outputs the requested
version as "Latest stable version", though that may not actually be the
case. For this instance, we want to change this to "Target version" to
be a little more accurate.

Then in the component upgrade table that is emitted, the last column of
AVAILABLE isn't quite right either. Also changing this to TARGET to
reflect that this is the version we are targetting to upgrade to,
regardless of its availability.

There could be some improvements in checking available versions,
particularly in air gapped environments, to make sure we actually have
access to the requested version. But this at least clarifies some of the
output a bit.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2021-02-03 09:44:15 -06:00
Hanlin Shi
4cd1eacbc1 Add rule to allow healthcheck nodeport traffic in filter table
1. For iptables mode, add KUBE-NODEPORTS chain in filter table. Add
   rules to allow healthcheck node port traffic.
2. For ipvs mode, add KUBE-NODE-PORT chain in filter table. Add
   KUBE-HEALTH-CHECK-NODE-PORT ipset to allow traffic to healthcheck
   node port.
2021-02-03 15:20:10 +00:00