Commit Graph

80452 Commits

Author SHA1 Message Date
Matthew Wong
e18f7a9ec6 Fix no audit policy by default in hack/local-up-cluster.sh 2019-07-15 23:52:32 +00: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
Kubernetes Prow Robot
57eef32041
Merge pull request #79657 from josephburnett/hpastuck
Ignore unschedulable pods
2019-07-10 11:34:29 -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
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
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
Kubernetes Prow Robot
dc8829df5c
Merge pull request #75922 from humblec/stateful_set
Remove unwanted `else` block from statefulset controller.
2019-07-10 00:12:25 -07:00
Kubernetes Prow Robot
88808aa89f
Merge pull request #79774 from shiyan2016/cancel-process-node
cancel process node when error occurs
2019-07-09 23:02:51 -07:00
Kubernetes Prow Robot
3c09a870a4
Merge pull request #79692 from chendave/issue_79689
Address couple of issue on image build for ARM arch
2019-07-09 23:02:38 -07:00
Kubernetes Prow Robot
f3e7350cca
Merge pull request #78085 from mikedanese/tropenapi
serviceaccounts/token should return 405 instead of 404
2019-07-09 23:02:26 -07:00
Daisuke Taniwaki
4200d6c2cc
Avoid conflicts with other cobra auto completion 2019-07-10 13:32:29 +09:00
Kubernetes Prow Robot
886af6aa26
Merge pull request #79807 from dims/force-python2-for-bazel-release
build_defs/pkg/make_deb.py needs python2
2019-07-09 20:20:50 -07:00
Kubernetes Prow Robot
2c912e3516
Merge pull request #79685 from oomichi/use-ExpectEqual-apimachinery
Use ExpectEqual under e2e/apimachinery
2019-07-09 20:20:38 -07:00
Kubernetes Prow Robot
98a1c25203
Merge pull request #78801 from aramase/dualstacke2e
Add e2e tests for ipv6 dual stack feature
2019-07-09 20:20:25 -07:00
shiyan2016
c329d5117d cancel process node if error occurs 2019-07-09 19:50:48 -07:00
Kubernetes Prow Robot
d59a603f1b
Merge pull request #78267 from mucahitkurt/cleanup/operation-generator-migration-scenarios-unit-tests
unit tests for operationGenerator.GenerateUnmapVolumeFunc
2019-07-09 18:20:25 -07:00
Kubernetes Prow Robot
08a36f6e55
Merge pull request #79933 from mm4tt/deployment_benchmark
Add micro-benchmark for DeploymentController.getPodMapForDeployment method
2019-07-09 16:16:38 -07:00
Kubernetes Prow Robot
69c9467124
Merge pull request #78470 from nikhita/security-contacts-psc
Update SECURITY_CONTACTS with current PSC
2019-07-09 16:16:26 -07:00
Antoine Pelisse
92cf3764f9 Add benchmarks for FieldManager handling
We don't have a lot of data on allocations and how much time it takes to
run apply or update on objects, so adding some benchmark will help us
investigate possible improvements.
2019-07-09 15:59:58 -07:00
Kubernetes Prow Robot
df346787d2
Merge pull request #79932 from oke-py/leading-slash
kubectl book: added a leading slash to apis path
2019-07-09 13:47:16 -07:00
Kubernetes Prow Robot
2d1ee3db83
Merge pull request #79864 from draveness/feature/use-framework-expect-equal-instead
feat: use framework.ExpectEqual instead of should
2019-07-09 13:47:03 -07:00
Kubernetes Prow Robot
88bac0bd4a
Merge pull request #79856 from tedyu/metric-stat-ampers
Remove unintended ampersand in front of in.Current.AverageValue
2019-07-09 13:46:50 -07:00
Kubernetes Prow Robot
6653a490fb
Merge pull request #79532 from snowplayfire/update-errMsg
improve error msg for predicate meta data
2019-07-09 13:46:37 -07:00
Kubernetes Prow Robot
5625eadd2a
Merge pull request #72416 from liggitt/watch-event-type
Include event type in `kubectl get -w` output
2019-07-09 13:46:24 -07:00
Mike Danese
b9c7007ca0 enable token review when openapi is generated 2019-07-09 13:45:41 -07:00
Davanum Srinivas
3b949f2a43
Add comments as to why we force python2 2019-07-09 16:33:46 -04:00
Kubernetes Prow Robot
5a7e336689
Merge pull request #79944 from liggitt/golang-deps
Allow hack/lint-dependencies.sh to skip golang.org/x/... deps, verify in verify-vendor.sh
2019-07-09 12:17:30 -07:00
Jordan Liggitt
dd2766251a Allow hack/lint-dependencies.sh to skip golang.org/x/... deps, verify in verify-vendor.sh 2019-07-09 14:07:55 -04:00
Kubernetes Prow Robot
b7faf3ef76
Merge pull request #79880 from SataQiu/clean-kubeadm-20190708
kubeadm: move klog.InitFlags into app/kubeadm.go
2019-07-09 10:12:42 -07:00
Kubernetes Prow Robot
f56cfbeb6d
Merge pull request #79725 from jaypipes/issue79721
Output boolean for AllowPrivilegeEscalation
2019-07-09 10:12:29 -07:00
Kubernetes Prow Robot
4f917a06a9
Merge pull request #77467 from dixudx/csrsigning_controller_warning
add warning logs for csr controllers
2019-07-09 10:12:16 -07:00
Kubernetes Prow Robot
437b967fdf
Merge pull request #76321 from danielqsj/ssh
remove SSHTunnelList TODO
2019-07-09 10:12:04 -07:00
Kubernetes Prow Robot
b130ff4502
Merge pull request #79724 from deads2k/update-raw
make kubectl --raw consistent for create, update, get, delete
2019-07-09 08:26:17 -07:00
Kubernetes Prow Robot
c88bda6a20
Merge pull request #78601 from loqutus/aws-encrypted-check-exponential-backoff
change aws encryptedCheck to exponential backoff
2019-07-09 08:26:04 -07:00
Kubernetes Prow Robot
b45bfef437
Merge pull request #78473 from xichengliudui/deleteTODO
delete TODO: remove when we stop supporting the legacy group version
2019-07-09 06:34:03 -07:00
David Eads
09c55bd117 make kubectl --raw consistent for create, update, get, delete 2019-07-09 09:03:56 -04:00
Matt Matejczyk
3e363c5c46 Add micro-benchmark for DeploymentController.getPodMapForDeployment method 2019-07-09 15:00:18 +02:00
Naoki Oketani
9c5c787360 kubectl book: added a leading slash to apis path 2019-07-09 21:33:40 +09:00
Kubernetes Prow Robot
99ff994948
Merge pull request #79911 from javier-b-perez/patch-1
kube-cross makefile add REGISTRY
2019-07-09 04:20:17 -07:00
Kubernetes Prow Robot
84e5b851de
Merge pull request #79906 from tedyu/az-new-http
Handle error return from http.NewRequest()
2019-07-09 04:20:04 -07:00
Kubernetes Prow Robot
c36e1493a5
Merge pull request #79819 from yasongxu/fix-staging-file-lint
staging file fix lint error: receiver name should not be an underscor…
2019-07-09 03:10:28 -07:00