Commit Graph

82854 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
967d4fbc18
Merge pull request #81162 from Pothulapati/cadvisor
Bump cadvisor to a latest commit
2019-08-13 04:49:54 -07:00
Kubernetes Prow Robot
ea59354d55
Merge pull request #79999 from tedyu/avail-ctrl-cache
Introduce cache for speeding up APIServices lookup
2019-08-13 04:49:41 -07:00
Kubernetes Prow Robot
2e72cdd7b1
Merge pull request #81081 from p0lyn0mial/gc_transition_delete
changes the way `gc` detect that an object needs to be deleted
2019-08-13 02:28:33 -07:00
Kubernetes Prow Robot
193c30fd01
Merge pull request #81069 from aojea/GlusterDynamicProvisioner
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-13 02:28:20 -07:00
Kubernetes Prow Robot
0eb2e21352
Merge pull request #81013 from Madhu-1/fix-err
Fix logging message during unmounting
2019-08-13 02:28:07 -07:00
Kubernetes Prow Robot
12a085f917
Merge pull request #80942 from gongguan/fix_ipvs_svc_del
fix ipvs_svc deletion
2019-08-13 02:27:54 -07:00
Kubernetes Prow Robot
b680c7c898
Merge pull request #80906 from serathius/static-analysis-prototype
Static analysis prototype
2019-08-13 02:27:41 -07:00
Kubernetes Prow Robot
ac2295a24d
Merge pull request #78587 from kad/socketmask-string
Use go standard library for common bit operations
2019-08-13 00:03:39 -07:00
carlory
9618bfcada add missing import required by build scripts 2019-08-13 14:33:37 +08:00
caiweidong
92851d213a Use RWMutex in watchBasedManager 2019-08-13 13:09:21 +08:00
tariqibrahim
06e1b38768 [k8s.io/client-go]fix typo in eventseries_test.go method 2019-08-12 21:16:23 -07:00
Jun Gong
d0d46fdc7b Fix flaky test TestPreemptWithPermitPlugin 2019-08-13 11:48:32 +08:00
Ted Yu
7db2c859bc Introduce cache for APIServices 2019-08-12 20:25:42 -07:00
Kubernetes Prow Robot
61af419d38
Merge pull request #81291 from danwinship/service-test-cleanup-1
Inline/simplify two used-only-once service test helper functions
2019-08-12 20:12:38 -07:00
Kubernetes Prow Robot
feb6da78f9
Merge pull request #81235 from oomichi/make-simple-dependency-endpoints
Remove core dependency from endpoints e2e fw
2019-08-12 20:12:25 -07:00
Kubernetes Prow Robot
76e19a1619
Merge pull request #81204 from codenrhoden/rename-hu-pathexists
Rename HostUtils.ExistsPath to PathExists
2019-08-12 20:12:12 -07:00
Kubernetes Prow Robot
56b5f8b47c
Merge pull request #80519 from ethan-daocloud/patch-1
fix typos in kubelet.go
2019-08-12 20:11:51 -07:00
Kubernetes Prow Robot
c2286aa9bd
Merge pull request #79263 from draveness/feature/remove-types-in-serializer
feat: remove several types in runtime serializer
2019-08-12 20:11:38 -07:00