Commit Graph

84797 Commits

Author SHA1 Message Date
wojtekt
4096a0aa48 tags 2019-10-30 08:18:44 +01:00
wojtekt
328295c635 Cleanup clientcmd conversion 2019-10-30 08:17:46 +01:00
Kubernetes Prow Robot
8d8a068486
Merge pull request #83963 from damemi/duplicate-policies
Add Scheduler validation check for redeclared policy configs
2019-10-29 23:14:53 -07:00
Kubernetes Prow Robot
d0d4572c82
Merge pull request #84411 from jfbai/move-funcs-of-framework-to-common
Move funcs of framework to common runtimeclass.
2019-10-29 21:18:52 -07:00
Kubernetes Prow Robot
ccf31742ea
Merge pull request #84496 from yliaog/windown
download cni plugin from gcs bucket
2019-10-29 19:55:07 -07:00
Kubernetes Prow Robot
e86878436f
Merge pull request #84410 from jfbai/move-funcs-of-expect-to-common
move funcs of expect.go to e2e/common
2019-10-29 19:54:52 -07:00
Kubernetes Prow Robot
a8727f0f04
Merge pull request #84449 from ahg-g/ahg-prioritymeta
Priorities use SharedLister interface instead of NodeInfo Map
2019-10-29 17:21:03 -07:00
Kubernetes Prow Robot
345bea9a6f
Merge pull request #84444 from cofyc/fix84233
Improve e2e HostExec utility
2019-10-29 17:20:52 -07:00
Kubernetes Prow Robot
f8b45a12f4
Merge pull request #84464 from wojtek-t/remove_conversion_funcs_1
Migrate couple manual conversions to the new AddConversionFunc() way
2019-10-29 15:39:07 -07:00
Kubernetes Prow Robot
6170296b66
Merge pull request #84383 from prameshj/patch-3
Use DNS_SERVER_IP as --cluster-dns in all cases.
2019-10-29 15:38:52 -07:00
Abdullah Gharaibeh
c6baa263a3 Update priorities to use SharedLister instead of using the snapshot directly 2019-10-29 16:22:00 -04:00
Kubernetes Prow Robot
5f900f6332
Merge pull request #84389 from ahg-g/ahg-interpod
Predicates use SharedLister interface instead of NodeInfo Map
2019-10-29 13:06:53 -07:00
prameshj
328f8dfe12 Use DNS_SERVER_IP as --cluster-dns in all cases.
NodeLocalDNS addon listens on both DNS_SERVER_IP as well as LOCAL_DNS_IP. So cluster-dns flag can continue to be DNS_SERVER_IP in all cases.
Documented the various variables in the yaml.
2019-10-29 12:38:46 -07:00
Yu Liao
573bf5cd49 switch cni plugin download to be from gcs bucket 2019-10-29 10:23:14 -07:00
Anago GCB
76d0ad9a82 Kubernetes version v1.18.0-alpha.0 openapi-spec file updates 2019-10-29 16:45:29 +00:00
Kubernetes Prow Robot
9731b51d23
Merge pull request #84501 from pohly/hostpath-dev-raw-block
e2e: share /dev with host in hostpath driver deployment
2019-10-29 08:22:43 -07:00
Kubernetes Prow Robot
f75ef82ece
Merge pull request #84506 from hex108/run_score_plugin
Make sure score plugins are executed when no prioritizer configured
2019-10-29 07:08:45 -07:00
Kubernetes Prow Robot
3f8b0a30ad
Merge pull request #84484 from zxl381/GL_framework
Prevent 2 goroutines in test from being leaked if proxy hangs
2019-10-29 05:52:56 -07:00
Kubernetes Prow Robot
c16f668799
Merge pull request #83881 from SataQiu/fix-kubelet-20191014
Fix bug of kubelet enable-cadvisor-json-endpoints flag
2019-10-29 05:52:43 -07:00
Kubernetes Prow Robot
362e17ff9f
Merge pull request #84469 from andrewsykim/cloud-node-controller-error
improve error handling in cloud node controller
2019-10-29 02:44:43 -07:00
Jun Gong
b4c2b00690 Make sure score plugins are executed when no priority configured 2019-10-29 17:25:35 +08:00
Kubernetes Prow Robot
a2eb319b31
Merge pull request #84450 from gongguan/fix_scheduler_predicate_test
Uncomment interpod affinity integration tests
2019-10-29 01:34:58 -07:00
Kubernetes Prow Robot
a8e819746d
Merge pull request #83442 from serathius/remove-prometheus-addon
Remove prometheus addon
2019-10-29 01:34:43 -07:00
Patrick Ohly
327a12cd08 e2e: share /dev with host in hostpath driver deployment
This is needed for raw block volumes. It mirrors a change made in the upstream
deployment in https://github.com/kubernetes-csi/csi-driver-host-path/pull/109

Raw block volumes use loop devices under the hood. "losetup --find
--show" uses LOOP_CTL_GET_FREE to get a free loop device. It then
expects to have the corresponding /dev/loopX already available. When
/dev inside the container is a static tmpfs which doesn't already have
those /dev/loop* devices (*) the new device fails to show up,
resulting in:

I1028 13:25:19.937846       1 server.go:117] GRPC call: /csi.v1.Controller/CreateVolume
I1028 13:25:19.938083       1 server.go:118] GRPC request: {"accessibility_requirements":{"preferred":[{"segments":{"topology.hostpath.csi/node":"pmem-csi-pmem-govm-worker3"}}],"requisite":[{"segments":{"topology.hostpath.csi/node":"pmem-csi-pmem-govm-worker3"}}]},"capacity_range":{"required_bytes":5368709120},"name":"pvc-24985a49-5638-4bf6-b789-bb99a28d1073","volume_capabilities":[{"AccessType":{"Block":{}},"access_mode":{"mode":1}}]}
I1028 13:25:19.961124       1 volume_path_handler_linux.go:41] Creating device for path: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004
I1028 13:25:20.391472       1 volume_path_handler_linux.go:75] Failed device create command for path: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004 exit status 1 losetup: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004: failed to set up loop device: No such file or directory
E1028 13:25:20.392916       1 server.go:121] GRPC error: rpc error: code = Internal desc = failed to create volume 635c6569-f986-11e9-baa6-0242ac110004: failed to attach device /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004: exit status 1

(*) It seems that the static tmpfs gets populated by Docker based on
what's currently on the host when the container starts. That would
explain why it worked in the Kubernetes Prow testing - the host must
have had enough loop devices already defined.
2019-10-29 08:52:12 +01:00
Kubernetes Prow Robot
6b1efb266d
Merge pull request #83957 from pohly/csi-sidecars-2.x
e2e storage: bump revision of sidecars and driver
2019-10-28 23:40:56 -07:00
Kubernetes Prow Robot
11ab52a74a
Merge pull request #83685 from aramase/cache
Allow unsafe read from cache for Azure
2019-10-28 23:40:43 -07:00
Kubernetes Prow Robot
d56aaf77b9
Merge pull request #83830 from RainbowMango/pr_introduce_gaugefunc_to_stability_framework
Provide a mechanism for GaugeFunc to use the metrics stability framework
2019-10-28 21:20:42 -07:00
Jianfei Bai
586261291f Remove unused functions in framework.go 2019-10-29 11:44:27 +08:00
Kubernetes Prow Robot
59e7a4f474
Merge pull request #84434 from yliaog/windows
removed powershell-yaml module dependency
2019-10-28 19:32:42 -07:00
RainbowMango
9b0e7a4676 Deal with auto-generated files.
Update bazel by hack/update-bazel.sh
2019-10-29 09:41:36 +08:00
RainbowMango
3ba6c2c004 Introduce GaugeFunc to stability framework 2019-10-29 09:41:36 +08:00
Kubernetes Prow Robot
28887de8cd
Merge pull request #84476 from neolit123/1.17-docker-19.03
kubeadm-validators: bump the latest validated Docker version to 19.03
2019-10-28 17:49:08 -07:00
Kubernetes Prow Robot
b8f03a12dd
Merge pull request #84294 from denkensk/remove-predicate-nodeinfo-kubelet
Remove predicates.NodeInfo dependency from kubelet
2019-10-28 17:48:56 -07:00
Kubernetes Prow Robot
0c88c4893f
Merge pull request #84275 from liggitt/beta-gate-runtimeclass-informers
Feature-gate RuntimeClass informer starts
2019-10-28 17:48:42 -07:00
Andrew Sy Kim
897b8d7476 improve error handling in cloud node controller
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-10-28 20:23:12 -04:00
Ziheng Liu
2ca513a15d Prevent 2 goroutines from being leaked if proxy hangs
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
2019-10-28 19:06:43 -04:00
Kubernetes Prow Robot
b6c8f4916d
Merge pull request #84468 from neolit123/1.17-kubeadm-flex-volumes
kubeadm: always mount a flex volume path for the controller-manager
2019-10-28 14:09:39 -07:00
Kubernetes Prow Robot
a45917008f
Merge pull request #84301 from yutedz/pvc-expand-fail
Add event for pvc in case node expansion fails
2019-10-28 14:09:29 -07:00
Kubernetes Prow Robot
e1dc959881
Merge pull request #84113 from enxebre/x-kubernetes-map-type
Adds x-kubernetes-map-type annotation as a CRD API extension
2019-10-28 14:09:15 -07:00
Kubernetes Prow Robot
ad47fe3962
Merge pull request #83925 from BurtonQin/framework_leak
framework: Fix a goroutine leak bug in resource_usage_gatherer.go
2019-10-28 14:08:58 -07:00
Kubernetes Prow Robot
486e2380bd
Merge pull request #83692 from yastij/fix-events-scheduler
add a fallback for kube-scheduler  when events.k8s.io is disabled
2019-10-28 14:08:43 -07:00
Mike Dame
0f15705328 Add unit test for scheduler custom policy redeclaration validation 2019-10-28 16:26:13 -04:00
Yu Liao
18f48e2cf6 removed powershell-yaml module dependency 2019-10-28 13:26:11 -07:00
Lubomir I. Ivanov
772e2e4e39 kubeadm-validators: bump the latest validated Docker version to 19.03 2019-10-28 22:24:46 +02:00
wojtekt
fc2332d843 Autogenerated 2019-10-28 21:14:20 +01:00
wojtekt
32759d33bf Cleanup conversions 2019-10-28 21:14:20 +01:00
Patrick Ohly
aacac747a0 e2e storage: bump revision of sidecars and driver
This updates to the releases meant to be used with Kubernetes 1.16
except for external-snapshotter, which is kept at the more recent
2.0.0-rc1 which targets 1.17.

The new external-attacher v2.0.0 needs updated RBAC rules, copied
verbatim from the v2.0.0 release.
2019-10-28 20:21:55 +01:00
Kubernetes Prow Robot
aae45e8dee
Merge pull request #84238 from danwinship/affinity-slower
Make e2eservice.CheckAffinity wait longer, to avoid flakes
2019-10-28 11:58:59 -07:00
Kubernetes Prow Robot
7129923e33
Merge pull request #84140 from leakingtapan/timeout
make ClaimProvisionTimeout a var
2019-10-28 11:58:45 -07:00
Lubomir I. Ivanov
7fa571bdb5 kubeadm: always add a flex volume path for the controller-manager
Checking if the path exists before creating the volume is
problematic because the path will be created regardless
after the initial call to "kubeadm init" and once the CM Pod
is running.

Then on subsequent calls to "kubeadm init" or the "control-plane"
phase the manifest for the CM will be different.

Always mount this path, but also consider the user provided
flag override from ClusterConfiguration.
2019-10-28 20:21:15 +02:00