Commit Graph

80500 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d11eb67c02
Merge pull request #79621 from egernst/admission-fixups
RuntimeClass-admission: fixup comment, simplify nested ifs
2019-07-11 05:36:55 -07:00
Kubernetes Prow Robot
529255865d
Merge pull request #80018 from snowplayfire/fixnonode-for-predicate
keep processing other nodes for the nil node error
2019-07-11 04:02:55 -07:00
Kubernetes Prow Robot
9138514fab
Merge pull request #80015 from mborsz/patch-5
Remove support for KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
2019-07-11 01:44:55 -07:00
jingxueli
6a1bbff60c keep processing other nodes for the nil node error 2019-07-11 15:34:40 +08:00
Maciej Borsz
bb47330bd7 Remove support for KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS 2019-07-11 08:28:01 +02:00
Kubernetes Prow Robot
ab960c612c
Merge pull request #80007 from liggitt/populate-version-authorization-check
Populate API version in synthetic authorization requests
2019-07-10 22:59:07 -07:00
Kubernetes Prow Robot
12c5e2037e
Merge pull request #79968 from sukeesh/improveNoResource
Flush out current namespace when resources are not found
2019-07-10 22:58:54 -07:00
Kubernetes Prow Robot
a7c619a158
Merge pull request #79949 from liyanhui1228/firstbranch
Add timestamps to the docker test logs
2019-07-10 21:39:45 -07:00
Kubernetes Prow Robot
b168ab1f99
Merge pull request #79892 from mikebrow/todo-cleanup-status-manager
update code docs around old todo that is not going to happen
2019-07-10 21:39:33 -07:00
Kubernetes Prow Robot
4c68fa8243
Merge pull request #79239 from apelisse/400-instead-of-500
Return 400 on invalid patch requests
2019-07-10 21:39:20 -07:00
Kubernetes Prow Robot
b7757ffbb9
Merge pull request #78280 from sevensees/master
Trace step should be at the end of calls rather than the begin.
2019-07-10 21:39:07 -07:00
Kubernetes Prow Robot
514a157adf
Merge pull request #74691 from cpuguy83/epoll_use_cloexec
Use EPOLL_CLOEXEC to prevent fd leaks.
2019-07-10 21:38:55 -07:00
Himanshu Pandey
a5eedcde61 Added custom error message when wrong file is provided with KUBECONFIG (#78185)
* Added custom error message when wrong file is provided with KUBECONFIG

* Modified test case

* Updated the code to warn the missing files

* Renamed the variable
2019-07-10 20:24:54 -07:00
Kubernetes Prow Robot
8a1c9e2b41
Merge pull request #79924 from cwdsuzhou/July/projected_test_cleanup
Fix projected volume test clean up
2019-07-10 18:49:44 -07:00
Kubernetes Prow Robot
8341344b75
Merge pull request #79862 from draveness/feature/add-expect-not-equal
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 18:49:31 -07:00
Kubernetes Prow Robot
1974ebdcc9
Merge pull request #79505 from tedyu/deploy-new-rs
Remove unnecessay call to findNewReplicaSet
2019-07-10 18:49:19 -07:00
Kubernetes Prow Robot
f2093cc383
Merge pull request #79366 from yastij/dep-path-update-yaml
reference paths to bump dependencies
2019-07-10 18:49:06 -07:00
Kubernetes Prow Robot
ca6cc69bd4
Merge pull request #78744 from smarterclayton/client_ns
Update namespace controller to use the metadata client
2019-07-10 18:48:53 -07:00
Jordan Liggitt
2899abb65c Populate API version in synthetic authorization requests 2019-07-10 21:29:25 -04:00
Kubernetes Prow Robot
7b9afe00f1
Merge pull request #79998 from yastij/owners-events
add wojtek-t and yastij as approvers/reviewers for events package
2019-07-10 16:25:18 -07:00
Kubernetes Prow Robot
ca43c670a5
Merge pull request #79960 from tedyu/desc-ref
Remove incorrect ampersand in front of AverageValue in describeHorizontalPodAutoscalerV2beta2
2019-07-10 16:25:06 -07:00
Kubernetes Prow Robot
d74ec66be4
Merge pull request #79947 from BenTheElder/bentheelder-builds
promote bentheelder to build/ approver, move zmerlynn and jbeda to emeritus
2019-07-10 16:24:53 -07:00
Kubernetes Prow Robot
79564ebff7
Merge pull request #79877 from draveness/feature/use-scheduler-cache-instead
fix: use schedulerCache instead of podlister in config factory
2019-07-10 16:24:40 -07:00
Kubernetes Prow Robot
9e5018ba20
Merge pull request #79453 from chendave/short-circuit
Short-circuit the evaluation of `cpuFraction` and `memoryFraction`
2019-07-10 16:24:27 -07:00
Antoine Pelisse
7e96438748 Return 400 on invalid patch requests 2019-07-10 15:22:10 -07:00
Angela Li
c0c29586a9 Add EntryType 2019-07-10 14:09:44 -07:00
Kubernetes Prow Robot
e3a125a64e
Merge pull request #79979 from SataQiu/cleanup-kubeadm-20190710
kubeadm: cleanup code about cobra
2019-07-10 13:58:40 -07:00
Kubernetes Prow Robot
e2b21c8a7c
Merge pull request #79946 from apelisse/add-apply-benchmarks
Add benchmarks for FieldManager handling
2019-07-10 13:58:28 -07:00
Benjamin Elder
357bebc987 move jbeda to emeritus 2019-07-10 12:51:29 -07:00
Yassine TIJANI
a2994a296e add wojtek-t and yastij as approvers/reviewers for events package
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-10 21:41:04 +02:00
Benjamin Elder
5abbf34e84 move zmerlynn to emeritus 2019-07-10 11:35:34 -07:00
Kubernetes Prow Robot
57eef32041
Merge pull request #79657 from josephburnett/hpastuck
Ignore unschedulable pods
2019-07-10 11:34:29 -07:00
Clayton Coleman
50fd47258d
Switch the namespace controller to use the metadata client
The metadata client uses protobuf and returns only a subset of object
data (the metadata) which allows operations that act only on objects
generically to work much faster. Use the metadata client in the
namespace controller to reduce the amount of work the namespace controller
has to do in large namespaces.
2019-07-10 14:31:18 -04:00
Clayton Coleman
bc89c37f32
Add fake client, informer factory, and lister to metadata client
These will be used by the garbage collector controller and others that
use higher level primitives.
2019-07-10 14:31:18 -04:00
Clayton Coleman
baf091e9db
Fake ObjectReaction should handle PartialObjectMetadata special
When a client requests a PartialObjectMetadata returned from the
ObjectReaction type, if the object has a GVK set use that instead
of what the schema returns, since the majority of clients getting
partial object metadata will be doing so using the metadata client
or server side conversion.
2019-07-10 14:31:14 -04:00
Yassine TIJANI
4bed9b7046 reference paths to update to bump dependencies
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-10 20:11:40 +02:00
Angela Li
a97d544475 Changed to use select-object to filter the log properties 2019-07-10 10:25:38 -07:00
Kubernetes Prow Robot
978c38d488
Merge pull request #70470 from dtaniwaki/fix-auto-completion
Avoid conflicts with other cobra auto completions
2019-07-10 09:36:26 -07:00
Kubernetes Prow Robot
79aab0b90d
Merge pull request #78246 from mborsz/kubemark
Migrate kubemark to e2e-up/e2e-down scripts
2019-07-10 07:42:27 -07:00
draveness
d3158b2c71 feat: use framework.ExpectNotEqual in e2e test 2019-07-10 21:36:26 +08:00
Kubernetes Prow Robot
021ad88ac4
Merge pull request #79894 from odinuge/csi-client-dead-code
Remove dead code from csi_client
2019-07-10 06:20:25 -07:00
SataQiu
b837f8d96f kubeadm: cleanup the code about cobra 2019-07-10 18:45:28 +08:00
Joseph Burnett
80e279d353 Ignore pending pods.
This change adds pending pods to the ignored set first before
selecting pods missing metrics. Pending pods are always ignored when
calculating scale.

When the HPA decides which pods and metric values to take into account
when scaling, it divides the pods into three disjoint subsets: 1)
ready 2) missing metrics and 3) ignored. First the HPA selects pods
which are missing metrics. Then it selects pods should be ignored
because they are not ready yet, or are still consuming CPU during
initialization. All the remaining pods go into the ready set. After
the HPA has decided what direction it wants to scale based on the
ready pods, it considers what might have happened if it had the
missing metrics. It makes a conservative guess about what the missing
metrics might have been, 0% if it wants to scale up--100% if it wants
to scale down. This is a good thing when scaling up, because newly
added pods will likely help reduce the usage ratio, even though their
metrics are missing at the moment. The HPA should wait to see the
results of its previous scale decision before it makes another
one. However when scaling down, it means that many missing metrics can
pin the HPA at high scale, even when load is completely removed. In
particular, when there are many unschedulable pods due to insufficient
cluster capacity, the many missing metrics (assumed to be 100%) can
cause the HPA to avoid scaling down indefinitely.
2019-07-10 12:16:33 +02:00
Kubernetes Prow Robot
a29243775a
Merge pull request #79889 from mborsz/kubemarkclient
Hollow-node should use separate client for heartbeats
2019-07-10 02:44:25 -07:00
Maciej Borsz
4646594f29 Migrate kubemark to e2e-up/e2e/down scripts. 2019-07-10 11:23:55 +02:00
Maciej Borsz
ed41078f05 Hollow-node should use separate client for heartbeats. 2019-07-10 10:31:04 +02:00
Kubernetes Prow Robot
abe94ce9b3
Merge pull request #79937 from mm4tt/deployment_improve
Deployment Controller - avoid unnecessary copying of pod objects in getPodMapForDeployment
2019-07-10 01:24:25 -07:00
Matt Matejczyk
8140bbc4f5 Deployment Controller - don't copy pods in getPodMapForDeployment
As the benchmark shows it speeds up the method~x4 and reduces memory
consumption ~x20.

```
benchmark                              old ns/op     new ns/op     delta
BenchmarkGetPodMapForDeployment-12     276121        72591         -73.71%

benchmark                              old allocs     new allocs     delta
BenchmarkGetPodMapForDeployment-12     241            238            -1.24%

benchmark                              old bytes     new bytes     delta
BenchmarkGetPodMapForDeployment-12     554025        28956         -94.77%
```
2019-07-10 09:14:15 +02:00
Sukeesh
b7d2478ac9 flush current namespace when resources are not found 2019-07-10 16:12:48 +09:00
Kubernetes Prow Robot
bd628bc792
Merge pull request #79128 from SataQiu/fix-kubeadm-20190618
Update caddy vendor dependency to v1.0.1
2019-07-10 00:12:37 -07:00