Commit Graph

81063 Commits

Author SHA1 Message Date
Rong Gao
cda783699b change node-lease-renew-interval to 0.25 of renew-duration
0.25 is a dedicated value to align before default value
of renew-interval but get more heuristic interval
2019-07-29 15:02:11 +08:00
Kubernetes Prow Robot
78915a1094
Merge pull request #80624 from xuto2/master
Bug fix: set enableTcpReset to true for Azure SLB load balancer rules
2019-07-26 05:32:16 -07:00
Kubernetes Prow Robot
d5d6061c8e
Merge pull request #80476 from matte21/fix-pvcs-leaks
PVC protection controller: fix PVC leaks
2019-07-26 05:31:59 -07:00
Kubernetes Prow Robot
fc4cbf743a
Merge pull request #80543 from davidz627/fix/makePV
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-26 03:24:25 -07:00
Kubernetes Prow Robot
2e39f5f4dd
Merge pull request #80525 from figo/build
Allow customize base image and released image registry
2019-07-26 03:24:12 -07:00
Kubernetes Prow Robot
de73f62336
Merge pull request #80495 from adityadani/update_openstorage_to_v1.0.0
pkg/volume/portworx: Update vendor for libopenstorage/openstorage to v1.0.0
2019-07-26 03:23:59 -07:00
matte21
b4fed83a4a PVC protection controller: get rid of PVC leaks
Make the PVC protection controller robust to cases where a Pod X is deleted,
then a Pod Y with the same namespaced name is created and the two events are
delivered via a single update notification. Both pods should be processed,
because X might be blocking deletion of a PVC which is not referenced by Y.
Prior to this commit only the newer pod is processed, which means that it
is possible to leak PVCs.

Also, add unit tests to reflect the change.
2019-07-26 11:17:17 +02:00
Kubernetes Prow Robot
b72077410b
Merge pull request #80520 from ethan-daocloud/patch-2
fix wrong spells in events.go
2019-07-26 00:04:00 -07:00
Tony Xu
2badb2f216 Add annotation to disable tcp reset on SLB service 2019-07-25 22:56:49 -07:00
Tony Xu
a7ae07d949 Bug fix: Set enableTcpReset of lb rules to true for Azure Standard Load Balancer 2019-07-25 22:53:40 -07:00
Kubernetes Prow Robot
96594b6723
Merge pull request #80566 from BenTheElder/fix-image-ref
fix kube-proxy manifest
2019-07-25 22:36:36 -07:00
Kubernetes Prow Robot
6fc8a01544
Merge pull request #80562 from seans3/move-drain-staging
Move pkg/kubectl/drain to staging
2019-07-25 22:36:24 -07:00
Kubernetes Prow Robot
6f0f3c1680
Merge pull request #80551 from draveness/patch-3
doc: nominate Draven to scheduler reviewers.
2019-07-25 22:36:11 -07:00
Kubernetes Prow Robot
9e4b126e18
Merge pull request #80550 from spiffxp/promote-jobs-complete-after-restart
Promote job completion after failure e2e test to Conformance
2019-07-25 22:35:58 -07:00
Kubernetes Prow Robot
b234dd06aa
Merge pull request #80548 from seans3/move-kubectl-history
Move some pkg/kubectl into polymorphichelpers
2019-07-25 20:48:49 -07:00
Kubernetes Prow Robot
8497639221
Merge pull request #80544 from spiffxp/promote-jobs-adopt-release-orphan-pods
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-25 20:48:36 -07:00
Kubernetes Prow Robot
1a95199311
Merge pull request #80518 from jsafrane/cinder-detach-idempotent
Fix detachment of deleted volumes
2019-07-25 20:48:24 -07:00
Kubernetes Prow Robot
50a0d38e3a
Merge pull request #80503 from tedyu/spread-constaints
Refactor nested loop in getTPMapMatchingSpreadConstraints
2019-07-25 20:48:11 -07:00
Kubernetes Prow Robot
27dfcbe8a7
Merge pull request #80474 from SataQiu/fix-controllermanager-20190723
Small Fix: Use correct format verb
2019-07-25 20:47:58 -07:00
Kubernetes Prow Robot
cc0137cdc6
Merge pull request #80398 from aojea/ipfamily
Add ip family autodetection to the testing framework
2019-07-25 18:12:00 -07:00
hui luo
97087c66f7 Allow customize registry name of base and release images
default behavior does not change, it uses k8s.gcr.io by default
added two vars: KUBE_DOCKER_REGISTRY, KUBE_BASE_IMAGE_REGISTRY.
KUBE_BASE_IMAGE_REGISTRY is for base image registry of server binaries
KUBE_DOCKER_REGISTRY is for released images registry

user can interact with them by:
`KUBE_DOCKER_REGISTRY=### KUBE_BASE_IMAGE_REGISTRY=### make quick-release`

Signed-off-by: Hui Luo <luoh@vmware.com>
2019-07-25 17:43:01 -07:00
Kubernetes Prow Robot
2321d1e9e8
Merge pull request #80150 from ii/promote-statefulset-replica-scaling
Promote StatefulSet Replica scaling
2019-07-25 16:02:07 -07:00
Kubernetes Prow Robot
a3750501b0
Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
Peter Swica
f30af9dd6d Kubectl user exec should accept zero-length environment values #652 (#78875)
* Kubectl user exec should accept zero-length environment values #652

* Changing TestValidateAuthInfoExecInvalidEnv to allow for empty strings as Exec values
2019-07-25 16:01:41 -07:00
Kubernetes Prow Robot
ba989a1e2b
Merge pull request #77593 from tathagatachowdhury/tathagata-e2e-network-policy
Added code for e2e tests for network policy.
2019-07-25 16:01:27 -07:00
Kubernetes Prow Robot
a172e197b1
Merge pull request #77355 from apelisse/test-new-protoc
Use new reverse protobuf marshalling
2019-07-25 16:01:14 -07:00
Aditya Dani
ab72c09937 Update pkg/volume/portworx OWNERs 2019-07-25 14:39:24 -07:00
Aditya Dani
d6470636ea vendor: update for libopenstorage/openstorage to v1.0.0
- Portworx storage plugin under pkg/volume/portworx uses the libopenstorage/openstorage dependency.
- This change does not update any of the go files vendor'ed from libopenstorage/openstorage but simply
  updates the go modules vendor from a SHA to the v1.0.0 tag.
2019-07-25 14:39:24 -07:00
Kubernetes Prow Robot
69a34f6a6f
Merge pull request #80361 from wojtek-t/remove_get_reference
Remove unneeded directory
2019-07-25 14:34:37 -07:00
Kubernetes Prow Robot
d793279dee
Merge pull request #80094 from ZP-AlwaysWin/dev03
Fix golint failure in pkg/quota/v1/evaluator/core
2019-07-25 14:34:24 -07:00
Kubernetes Prow Robot
f243bd4787
Merge pull request #79955 from msau42/update-hostpath-csi
Update csi hostpath driver in e2e
2019-07-25 14:34:11 -07:00
Kubernetes Prow Robot
0e3b593ded
Merge pull request #79851 from jparklab/master
Fix nil pointer dereference error in volume_stat_calculator
2019-07-25 14:33:58 -07:00
Kubernetes Prow Robot
7fd8537564
Merge pull request #79062 from Huang-Wei/eps-preemption
Even Pods Spread - 4. Preemption Support
2019-07-25 14:33:45 -07:00
Kubernetes Prow Robot
63a43402a3
Merge pull request #77532 from WanLinghao/perf_refactor
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go file
2019-07-25 13:02:45 -07:00
Antoine Pelisse
6568325ca2 Regenerate 2019-07-25 11:54:00 -07:00
Antoine Pelisse
170bcd9262 Fix pkg-names script that doesn't select files properly 2019-07-25 11:54:00 -07:00
Antoine Pelisse
e7151ce294 Update gogo/protobuf to latest version 2019-07-25 11:54:00 -07:00
Antoine Pelisse
4f1daf0cf3 Update custom-serialization code to go backward 2019-07-25 11:54:00 -07:00
Sean Sullivan
775b670e8b Move some pkg/kubectl into polymorphichelpers 2019-07-25 11:36:04 -07:00
David Zhu
862ba3fc05 Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations 2019-07-25 10:57:29 -07:00
Kubernetes Prow Robot
a1f4c2ed21
Merge pull request #80575 from mborsz/patch-7
Fix leader election in kube-addon manager
2019-07-25 10:41:40 -07:00
Kubernetes Prow Robot
bf2dd03083
Merge pull request #80318 from davidxia/fix-err-caps
cleanup: fix some log and error capitalizations
2019-07-25 10:41:28 -07:00
Sean Sullivan
eaea71cf84 Move pkg/kubectl/drain to staging 2019-07-25 10:23:32 -07:00
Patrick Ohly
4bc5d065c9 updated Bazel files 2019-07-25 16:45:46 +02:00
Patrick Ohly
608b0e7097 e2e storage: csi-mock tests for ephemeral inline volumes
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.

Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Patrick Ohly
555ff7ef10 CSI: allow drivers that can handle persistent and ephemeral volumes
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.

Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.

The sanity check whether a CSI driver is being used correctly still
needs to be implemented.

Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Patrick Ohly
be9f9091ca e2e: remove unused ShortName from external driver definition
The name was meant to be used as shorter replacement for potentially
long CSI driver names, but was never used in practice.
2019-07-25 16:45:46 +02:00
Kubernetes Prow Robot
81684586db
Merge pull request #80558 from seans3/move-apply-util
Move pkg/kubectl/apply.go to staging
2019-07-25 07:36:34 -07:00
Kubernetes Prow Robot
16a820b906
Merge pull request #80556 from AllenZMC/patch-3
fix typos in pv_controller.go
2019-07-25 07:36:21 -07:00
Kubernetes Prow Robot
5153e242a7
Merge pull request #80554 from seans3/move-kubectl-apps
Move pkg/kubectl/apps to staging
2019-07-25 07:36:08 -07:00