Commit Graph

82464 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3f0a486cbf
Merge pull request #81244 from liggitt/crd_startup_503
Return 503 for custom resource requests during server start
2019-08-13 19:36:49 -07:00
Kubernetes Prow Robot
77c9e98198
Merge pull request #81199 from liggitt/narrow-aggregation-permissions
Use the escalate verb for clusterroleaggregator rather than cluster-admin permissions
2019-08-13 19:36:37 -07:00
Kubernetes Prow Robot
1e82e1ca1f
Merge pull request #81099 from oomichi/remove-golint-e2e-framework
Rename MetricsForE2E for golint failure
2019-08-13 19:36:24 -07:00
Han Kang
11f2b6c44b change deprecatedVersion type to string for static analysis parsing ease 2019-08-13 18:48:31 -07:00
Mayank Gaikwad
eddd7da462 Add service reachability polling to avoid flakiness 2019-08-14 06:22:33 +05:30
Christoph Blecker
5f971d6d88
Update vendor 2019-08-13 17:51:45 -07:00
Christoph Blecker
ebadc53f50
Pin golang.org/x/net to cdfb69a 2019-08-13 17:45:53 -07:00
Kenichi Omichi
cd24b24725 Remove fail argument from ReadOrDie()
Every caller of ReadOrDie() specified ginkgo.Fail as fail argument,
and that was intentional to avoid depending on Ginkgo.
However that just spreaded the dependency on Ginkgo to caller sides.
Especially that was unnecessary e2e test framework "ingress" depended
on Ginkgo only for the above reason.
Now we are cleaning up the dependencies on e2e tests, so let's just
remove such dependencies.
2019-08-14 00:35:51 +00:00
Kenichi Omichi
2efa60b849 Move GetGPUDevicePluginImage to the test
GetGPUDevicePluginImage() was called in some e2e node test only.
So it is not worth keeping the function as a part of e2e test
framework. This moves GetGPUDevicePluginImage() to the e2e node
test for code cleanup.
2019-08-14 00:01:50 +00:00
Kubernetes Prow Robot
125fb72850
Merge pull request #81372 from alvaroaleman/bump-sets
Bump gengo to have set insert|delete return the set
2019-08-13 16:52:23 -07:00
Kenichi Omichi
2cd45b2c54 Move ProxyRequest to kubelet e2e fw
In e2e test framework, ProxyRequest() is called in kubelet e2e test
framework only. In addition, the function works for kubelet as tests
which call the function do. So this moves the function into kubelet
e2e test framework to make the dependency simple.
2019-08-13 23:25:47 +00:00
Eric Ernst
f137a9cdb9 resource: cleanup helpers_test.go
No test content changes - just improvements for readability

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-08-13 16:23:28 -07:00
Eric Ernst
476c1c7a2b kube-eviction: use common resource summation functions
Utilize resource helpers' GetResourceRequestQuantity instead of
duplicating the logic here.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-08-13 16:23:28 -07:00
Eric Ernst
9d2d37be27 resource: modify resource helpers for better reuse
Update GetResoureqRequest function to utilize a new helper,
GetResourceRequestQuantity. This logic was duplicated in a couple of
areas in the K/K codebase, so consolidating for better test coverage.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-08-13 16:23:28 -07:00
Han Kang
b052c2cee9 bump go-grpc-prometheus since 1.2.0 actually exposes the metrics
v1.1.0 (which is what we currently use), does not expose metrics which
makes it impossible to migrate.
2019-08-13 16:06:10 -07:00
Lubomir I. Ivanov
3ecf3c6a44 kubeadm: add v1.17 to the list versions that map to etcd version 2019-08-14 01:49:25 +03:00
Alvaro Aleman
08d380e3b9
Re-Generate k8s.io/apimachinery/pkg/util/sets 2019-08-13 23:55:47 +02:00
Alvaro Aleman
c4fd0d4f99
Update k8s.io/gengo to 955ffa8fcfc983717cd9de5d2a1e9f5c465f4376 2019-08-13 23:55:47 +02:00
Kubernetes Prow Robot
d2eecfe2ef
Merge pull request #80785 from oomichi/add-expectequal-hack
Add code check for framework.ExpectEqual()
2019-08-13 14:16:19 -07:00
Kubernetes Prow Robot
e2e5a9e9b7
Merge pull request #80664 from thockin/document-port-names
Update docs for service/endpoints port names
2019-08-13 14:16:06 -07:00
Kubernetes Prow Robot
aa3b150e58
Merge pull request #80285 from d-kuro/feature/fix-code-block
Fix code block for kubectl book.
2019-08-13 14:15:52 -07:00
Kubernetes Prow Robot
9dad928e6b
Merge pull request #76463 from j-griffith/add_datasource_to_pvc_describe
Add DataSource to PVC describe
2019-08-13 14:15:38 -07:00
Kubernetes Prow Robot
703108860e
Merge pull request #75253 from yamt/update-a-comment
apiserver: Update a comment
2019-08-13 14:15:26 -07:00
Patrick Ohly
1db1263476 storage: add test for ValidateCSIDriverUpdate
Adding this test was forgotten when adding CSIDriver.
2019-08-13 23:12:52 +02:00
Patrick Ohly
7bbc06fcd4 storage: check CSIDriver.Spec.VolumeLifecycleModes
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- set CSIDriver.Spec.VolumeLifecycleModes such that it contains "ephemeral"

The default for that field is "persistent", so existing deployments
continue to work and are automatically protected against incorrect
usage.

For the E2E tests we need a way to specify the driver mode. The
existing cluster-driver-registrar doesn't support that and also was
deprecated, so we stop using it altogether and instead deploy and
patch a CSIDriver object.
2019-08-13 23:12:52 +02:00
Patrick Ohly
b60f08e24b storage: validate CSIDriver.Spec.VolumeLifecycleModes
This ensures that users get a good error message early on when trying
to do something that isn't okay:

  $ kubectl create -f csi-hostpath-driverinfo.yaml
  The CSIDriver "hostpath.csi.k8s.io" is invalid: spec.volumeLifecycleModes: Unsupported value: "foobar": supported values: "persistent", "ephemeral"
2019-08-13 23:12:48 +02:00
Patrick Ohly
f7742fd31a storage: generated files for CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:11:42 +02:00
Patrick Ohly
029fd47757 storage: introduce CSIDriver.Spec.VolumeLifecycleModes
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- list "ephemeral" as one of the supported modes

The default is "persistent", so existing deployments continue to work
and are automatically protected against incorrect usage.

This commit contains the API change. Generated code and manual code
which uses the new API follow.
2019-08-13 23:11:36 +02:00
Seth Jennings
23b69cf02d kubelet: add eviction counter to metrics 2019-08-13 15:21:38 -05:00
Han Kang
2e23788fda rename healthz methodNames to be more consistent w/ present day usages 2019-08-13 12:52:30 -07:00
Kubernetes Prow Robot
f22b67dd8f
Merge pull request #81305 from tedyu/evt-patch-err
Error code incorrectly hidden in recordEvent
2019-08-13 12:30:35 -07:00
Kubernetes Prow Robot
54b28ab60c
Merge pull request #81279 from feiskyer/fix-precondition-cancel
Fix Azure client requests stuck issues on http.StatusTooManyRequests
2019-08-13 12:30:21 -07:00
Kubernetes Prow Robot
461b2d8b9a
Merge pull request #81164 from dims/update-to-latest-klog-0.4.0
Update to latest klog 0.4.0
2019-08-13 12:30:08 -07:00
Kubernetes Prow Robot
f3c94c9c42
Merge pull request #81151 from mrkm4ntr/remove-node-lister
Remove algorithm.NodeLister from scheduler interface
2019-08-13 12:29:55 -07:00
Kubernetes Prow Robot
c505bb9533
Merge pull request #80985 from ethan-daocloud/patch-6
fixup: correct file name in log message
2019-08-13 12:29:42 -07:00
Hemant Kumar
596d5f7983 Fix event when Cinder volume can not be expanded when in-use 2019-08-13 14:46:30 -04:00
André Bauer
8cda6da27d use image in statefulset too
Signed-off-by: André Bauer <monotek23@gmail.com>
2019-08-13 19:45:52 +02:00
Ted Yu
010d838264 Hide bearer token in logs 2019-08-13 09:36:15 -07:00
Tariq Ibrahim
8056403823
Address review comments 2019-08-13 09:07:39 -07:00
Andrew Sy Kim
459bfb1ab7 proxy/ipvs: test cleanLegacyService with real servers
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-08-13 11:55:16 -04:00
Kubernetes Prow Robot
77fca12f66
Merge pull request #81296 from msau42/update-csi-e2e
Update csi-provisioner and snapshotter to get selflink fix
2019-08-13 07:56:34 -07:00
Kubernetes Prow Robot
f7473e78f2
Merge pull request #81275 from SataQiu/fix-kubeadm-20190812
kubeadm: cleanup unnecessary slice initialization statements
2019-08-13 07:56:21 -07:00
Kubernetes Prow Robot
43fa5ca693
Merge pull request #81087 from johnSchnake/addSkipsIfSSHNotPresent
Ensure tests which rely on SSH behavior are skipped if unavailable
2019-08-13 07:56:07 -07:00
Kubernetes Prow Robot
c08ee9d51b
Merge pull request #80905 from fabriziopandini/kubeadm-kustomize-core
Kubeadm: kustomize core
2019-08-13 07:55:55 -07:00
Kubernetes Prow Robot
6d921c0eb5
Merge pull request #80779 from andrewsykim/ipvs-test-tables
proxy/ipvs: refactor IPVS unit tests TestClusterIP and TestNodePort to use test tables
2019-08-13 07:55:42 -07:00
carlory
dc9bf6a955 run ./hack/update-vendor.sh 2019-08-13 20:20:38 +08:00
Anago GCB
0910ebfeee Kubernetes version v1.17.0-alpha.0 openapi-spec file updates 2019-08-13 11:57:13 +00:00
Kubernetes Prow Robot
4d9773e1ec
Merge pull request #81276 from SataQiu/fix-proxy-20190812
Fix spelling errors for messages
2019-08-13 04:50:33 -07:00
Wei Huang
a4d97cc47d kubectl: eliminate unnecessary blank ending line (#81229)
* kubectl: eliminate unnecessary blank ending line

* address comments and add more tests
2019-08-13 04:50:20 -07:00
Kubernetes Prow Robot
a12b648029
Merge pull request #81213 from nilo19/t-qini-add_annotation_to_lookup_pip_through_resource_name
Add service annotation for specifying load balancer's pip with name.
2019-08-13 04:50:07 -07:00