Commit Graph

81322 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2c2ca27bfc
Merge pull request #80630 from mborsz/patch-8
Bump kube-addon-manager's version to v9.0.2
2019-07-26 09:56:51 -07:00
Kubernetes Prow Robot
614544f2cf
Merge pull request #80608 from seans3/move-kubectl-bindata
Moves pkg/kubectl/util/i18n to staging
2019-07-26 09:56:38 -07:00
Kubernetes Prow Robot
8f1eeacb78
Merge pull request #80573 from bart0sh/PR0075-kubeadm-handle-ResetClusterStatusForNode-errors
kubeadm: handle ResetClusterStatusForNode errors
2019-07-26 09:56:25 -07:00
Kubernetes Prow Robot
75e7e974d3
Merge pull request #80524 from ethan-daocloud/patch-5
cleanup: log message typo fix
2019-07-26 09:56:12 -07:00
Kubernetes Prow Robot
688f567698
Merge pull request #80307 from bart0sh/PR0073-kubeadm-remove-pkg-kubeapiserver-authorizer-modes-dependency
kubeadm: remove dependency on pkg/kubeapiserver/authorizer/modes
2019-07-26 09:55:59 -07:00
Odin Ugedal
2522e782dd Fix error handling issue in kubeadm upgrade
The error was unintentionally set inside the scope of the if statement,
hiding possible errors.
2019-07-26 18:51:29 +02:00
Dan Winship
28526721b8 Un-[Slow] a bunch of networking tests 2019-07-26 12:25:03 -04:00
Lee Verberne
db5c348e43 Assign OWNERS for pod integration tests 2019-07-26 15:57:29 +00:00
Kubernetes Prow Robot
ee84c95bdb
Merge pull request #80634 from aojea/translatev4v6
Don´t translate to IPv6 empty addresses
2019-07-26 08:06:12 -07:00
Kubernetes Prow Robot
2c17bc39cb
Merge pull request #80617 from SataQiu/cleanup-e2e_kubeadm
e2e_kubeadm: clean up non-recommended import
2019-07-26 08:05:59 -07:00
Jordan Liggitt
2e6440fbeb Avoid echoing request URL in proxy error 2019-07-26 10:40:17 -04:00
Stephen Augustus
081dd8154b build: Add Release Engineering OWNERS
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-07-26 09:59:26 -04:00
Kevin Klues
9f36f1a173 Add tests for proactive init Container removal in the CPUManager static policy 2019-07-26 14:34:51 +02:00
Kevin Klues
6a7db380de Add tests for new containertMap type in the CPUManager 2019-07-26 14:34:51 +02:00
Kevin Klues
c6d9bbcb74 Proactively remove init Containers in CPUManager static policy
This patch fixes a bug in the CPUManager, whereby it doesn't honor the
"effective requests/limits" of a Pod as defined by:

    https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources

The rule states that a Pod’s "effective request/limit" for a resource
should be the larger of:
    * The highest of any particular resource request or limit
      defined on all init Containers
    * The sum of all app Containers request/limit for a
      resource

Moreover, the rule states that:
    * The effective QoS tier is the same for init Containers
      and app containers alike

This means that the resource requests of init Containers and app
Containers should be able to overlap, such that the larger of the two
becomes the "effective resource request/limit" for the Pod. Likewise,
if a QoS tier of "Guaranteed" is determined for the Pod, then both init
Containers and app Containers should run in this tier.

In its current implementation, the CPU manager honors the effective QoS
tier for both init and app containers, but doesn't honor the "effective
request/limit" correctly.

Instead, it treats the "effective request/limit" as:
    * The sum of all init Containers plus the sum of all app
      Containers request/limit for a resource

It does this by not proactively removing the CPUs given to previous init
containers when new containers are being created. In the worst case,
this causes the CPUManager to give non-overlapping CPUs to all
containers (whether init or app) in the "Guaranteed" QoS tier before any
of the containers in the Pod actually start.

This effectively blocks these Pods from running if the total number of
CPUs being requested across init and app Containers goes beyond the
limits of the system.

This patch fixes this problem by updating the CPUManager static policy
so that it proactively removes any guaranteed CPUs it has granted to
init Containers before allocating CPUs to app containers. Since all init
container are run sequentially, it also makes sure this proactive
removal happens for previous init containers when allocating CPUs to
later ones.
2019-07-26 14:34:51 +02: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
Maciej Borsz
f1e6309560
Retry metadata requests in get-credentials and valid-storage-scope 2019-07-26 14:09:55 +02:00
Antonio Ojea
be8bedef7b
Don´t translate to IPv6 empty addresses 2019-07-26 12:43:26 +02: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
Maciej Borsz
9f71739623
Bump kube-addon-manager's version to v9.0.2 2019-07-26 11:36:37 +02: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
Yi Tang
8c13f9dea3 fix pv controller not find pv for pvc provisioning 2019-07-26 16:24:30 +08: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
Sean Sullivan
70984d8385 Moves pkg/kubectl/util/i18n to staging 2019-07-25 23:09:34 -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
SataQiu
e35a7b1ba1 use correct format verb 2019-07-26 12:24:40 +08:00
SataQiu
fc2d6aea48 e2e_kubeadm: clean up non-recommended import 2019-07-26 12:02:26 +08: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
AllenZMC
8833e4072c
fix typos in csi_attacher.go 2019-07-26 09:48:51 +08: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
Andrew Sy Kim
c5ccc38362 document API guarentees and deprecation policies for cloud config files
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-07-25 17:45:19 -04:00
Aditya Dani
ab72c09937 Update pkg/volume/portworx OWNERs 2019-07-25 14:39:24 -07:00