Commit Graph

83928 Commits

Author SHA1 Message Date
caiweidong
a890bf1175 Merge attach and detach common func 2019-09-30 17:36:14 +08:00
fabriziopandini
b77b8bdb47 bump versions for v1.17 cycle 2019-09-30 11:08:03 +02:00
Krzysztof Siedlecki
99eeab35a3 adding fakeGetPodsAssignedToNode 2019-09-30 11:03:36 +02:00
Wojciech Tyczynski
25a728ae5e Cache serializations 2019-09-30 10:48:06 +02:00
Wojciech Tyczynski
4cd81549f9 CachingObject 2019-09-30 10:48:06 +02:00
wojtekt
970f103e2c Implement support for CacheableObject 2019-09-30 08:58:54 +02:00
wojtekt
1dd43724ce Fix transformObject to work with CacheableObject. 2019-09-30 08:58:54 +02:00
wojtekt
1397b80f77 CacheableObject test 2019-09-30 08:58:54 +02:00
wojtekt
cd4215ad8b Implement Encoder.Identifier() method 2019-09-30 08:58:54 +02:00
wojtekt
36300c8c9f Add Identifier method to GroupVersioner interface 2019-09-30 08:58:54 +02:00
wojtekt
248549ba79 Extend interfaces to support CacheableObject 2019-09-30 08:58:54 +02:00
Kubernetes Prow Robot
974f201363
Merge pull request #82368 from m3ngyang/sch-util-ut
complete pkg/scheduler/util unit test
2019-09-29 23:27:37 -07:00
Justin SB
747d4481db
e2e: on aws, tag volumes we want the cluster to mount
Locked down IAM configurations will prevent mounting of arbitrary
volumes, so when we create volumes that we intend the cluster to
mount, we must set the appropriate EC2 tags.
2019-09-30 00:51:49 -04:00
RainbowMango
1395acba4a Add bazel by hack/update-bazel.sh 2019-09-30 12:09:16 +08:00
RainbowMango
159163247e Introduce testutil package to support metrics testing. 2019-09-30 11:53:18 +08:00
mengyang02
a638431e4d complete pkg/scheduler/util unit tests 2019-09-30 10:58:11 +08:00
Kubernetes Prow Robot
2b795b9825
Merge pull request #83284 from odinuge/node-e2e-host-reuse
Fix host reuse for e2e tests
2019-09-29 16:47:50 -07:00
Kubernetes Prow Robot
7066107ae3
Merge pull request #83117 from zouyee/valid
using short flags instead of validate
2019-09-29 16:47:37 -07:00
Kubernetes Prow Robot
14e5adfc85
Merge pull request #82683 from davidz627/fix/translationStruct
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing
2019-09-29 10:11:37 -07:00
Odin Ugedal
d17dc136a0
Fix host reuse for e2e tests
This will now filter the hosts in gcloud by project, instance name and
zone, to make sure we only reuse the correct hosts. Previously it would
try to reuse images outside the selected zone, resulting in a crash.

The resulting command will look like this:
$ gcloud compute instances list --project="my-project-123" --filter="name:'test-cos-beta-78-12499-16-0' AND zone:'europe-west6-b'"
2019-09-29 11:10:08 +02:00
Kubernetes Prow Robot
654aa1d846
Merge pull request #83234 from SataQiu/scheduler-cleanup-20190927
scheduler: change PredicateMetadata.AddPod to use *v1.Node insead of rich *schedulernodeinfo.NodeInfo
2019-09-28 23:49:37 -07:00
RainbowMango
f57bb81e95 Update bazel by hack/update-bazel.sh 2019-09-29 11:52:30 +08:00
RainbowMango
3b89ade154 Remove direct reference to Prometheus 2019-09-29 11:41:28 +08:00
Kubernetes Prow Robot
77d0ebe39f
Merge pull request #83102 from feiskyer/fix-too-many-calls
Fix aggressive VM calls for Azure VMSS
2019-09-28 20:11:38 -07:00
SataQiu
bcaa991676 scheduler: code clean up for predicates/metadata 2019-09-29 10:11:53 +08:00
Kubernetes Prow Robot
29f23e6647
Merge pull request #83220 from RainbowMango/pr_remove_direct_reference_to_label
Remove direct reference to label
2019-09-28 11:47:38 -07:00
Kubernetes Prow Robot
0a6a465cf9
Merge pull request #83269 from RainbowMango/pr_remove_direct_reference_to_promethues_from_openstack
Remove direct reference to prometheus from openstack
2019-09-28 08:35:39 -07:00
RainbowMango
1c2ccc4197 Update bazel by hack/update-bazel.sh 2019-09-28 21:29:56 +08:00
RainbowMango
b8395a50ee Remove direct reference to Prometheus from openstack 2019-09-28 21:27:56 +08:00
Kubernetes Prow Robot
e89023cff3
Merge pull request #82890 from chewong/orphaned-public-ips
Fix #80571: Update service controller to prevent orphaned public IP addresses
2019-09-28 06:05:38 -07:00
Kubernetes Prow Robot
39286f3962
Merge pull request #83255 from misterikkit/vsphere_stress
E2E: Add missing Bootstrap() call
2019-09-28 00:13:38 -07:00
Kubernetes Prow Robot
be1574b741
Merge pull request #83196 from zouyee/cmq
using online file instead to fix NUMA nodes init
2019-09-27 22:51:39 -07:00
Connor Doyle
389853894d Delegate topology hint gen to CPU manager policy
- The previous implementation depended on a fixed set of policies.
2019-09-27 22:29:02 -07:00
Kubernetes Prow Robot
74d2822662
Merge pull request #72535 from tallclair/content-type
Always set content-type & nosniff
2019-09-27 18:43:39 -07:00
Mayank Gaikwad
99475f9499 Update e2e testing nodePort service listening on same port but different protocols 2019-09-28 06:36:27 +05:30
Kubernetes Prow Robot
fe29e0f444
Merge pull request #83131 from apelisse/remove-extra-yaml-parsing
Apply currently parses the yaml object 3 times, please remove 2
2019-09-27 16:09:40 -07:00
Ted Yu
55583be725 Add nil checks for Azure CSI translation 2019-09-27 13:33:50 -07:00
John Schnake
2dab911ac2 Use imageutils instead of hardcoded image paths
A number of tests were using hardcoded image paths instead of
going through the imageutils package. The reason for centralizing
the logic there is to keep an eye on what images we use and where
they come from.
2019-09-27 15:01:08 -05:00
David Zhu
92cb06a2e7 Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing in future 2019-09-27 12:59:53 -07:00
Clayton Coleman
67283da28b
test/e2e: Delete test namespaces asynchronously
Now that namespace deletion is reliable, use the suite tear down
to catch non terminated namespaces and stop waiting within each test
for deletion.

Serial tests that need a clean set of namespaces must use the
appropriate flag to control whether they wait for clean namespaces
on startup.
2019-09-27 15:58:05 -04:00
Kubernetes Prow Robot
a5135ecdc5
Merge pull request #83250 from liggitt/deflake-watch-based-manager
Deflake TestWatchBasedManager
2019-09-27 12:47:36 -07:00
Kubernetes Prow Robot
7342823f3e
Merge pull request #83223 from RainbowMango/pr_remove_direct_reference_to_prom_label
Remove direct reference to prometheus.Label
2019-09-27 11:21:36 -07:00
David Haupt
a723e8ad33 Upgrade Calico to 3.8.2
Release note: https://docs.projectcalico.org/v3.8/release-notes/
2019-09-27 11:10:22 -07:00
Jonathan Basseri
378a074212 E2E: Add missing Bootstrap() call
One of the vsphere storage test suites was hitting a nil panic because
it did not call Bootstrap().
2019-09-27 11:01:27 -07:00
Kubernetes Prow Robot
cd95e57c71
Merge pull request #83071 from chendotjs/bytes-equal
replace bytes.Compare() with bytes.Equal()
2019-09-27 09:57:36 -07:00
Jordan Liggitt
c7932e18b5 Deflake TestWatchBasedManager 2019-09-27 12:23:35 -04:00
Stefan Bueringer
fa36b19e79
Fix golint issues in pkg/util/env 2019-09-27 17:25:19 +02:00
fang duan
13a37abb8b
Fix help text in kubectl top -h
close https://github.com/kubernetes/kubernetes/issues/82843

[heapster deprecation timeline](https://github.com/kubernetes-retired/heapster/blob/master/docs/deprecation.md)
2019-09-27 23:05:02 +08:00
Kubernetes Prow Robot
898042007c
Merge pull request #83231 from SataQiu/scheduler-err-handle
scheduler:  add error handling for *podSpreadCache.removePod
2019-09-27 06:53:36 -07:00
Kubernetes Prow Robot
dd5efc420b
Merge pull request #82511 from abursavich/keyusage
Fix typos in KeyUsage constant names
2019-09-27 03:23:35 -07:00