Commit Graph

84849 Commits

Author SHA1 Message Date
Jingyi Hu
ccf4caf30f Update etcd.sh to use v3 endpoint 2019-10-29 13:10:29 -07: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
John Belamaric
c0e6a8704c Add conformance-behavior-approvers to OWNERS_ALIASES 2019-10-29 11:24:06 -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
SataQiu
24f374a395 move test specific functions from rc_util.go 2019-10-29 13:04:59 +08: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
Jingyi Hu
706cde51c5 Update default etcd server to 3.4.3 2019-10-28 18:29:37 -07: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
Roy Hvaara
e40c473334
Fix golint errors in pkg/credentialprovider/gcp 2019-10-28 21:54:45 +01: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
Yassine TIJANI
f970b34137 add a fallback for kube-scheduler when events.k8s.io is disabled
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-28 19:09:47 +01:00
Kubernetes Prow Robot
a8220072ec
Merge pull request #84283 from serathius/remove-prometheus-test-integration
Remove prometheus references in test/integration
2019-10-28 10:04:42 -07:00
Kubernetes Prow Robot
badcd4af3f
Merge pull request #84084 from wojtek-t/migrate_scheduler_to_endpoints_lease_lock
Migrate components to EndpointsLeases leader election lock
2019-10-28 08:43:27 -07:00
Kubernetes Prow Robot
58563975c1
Merge pull request #84437 from hex108/snapshot
Run snapshot before PreFilter plugins when schedule begins
2019-10-28 06:37:26 -07:00
louisgong
7d996aa97f fix TestInterPodAffinity case 2019-10-28 21:30:32 +08:00
Yecheng Fu
d8c465c8d7 better HostExec
- separate stdout and stderr
- return command exit code
- remove kubectl dependency
2019-10-28 19:20:26 +08:00