Commit Graph

42458 Commits

Author SHA1 Message Date
k8s-ci-robot
703ac550a3 Merge pull request #68880 from houjun41544/20180920-downward
Remove unused function in downwardapi.go
2018-11-05 16:32:15 -08:00
Ryan McNamara
0aae852a3c Stably sort controllerrevisions
Fixes https://github.com/kubernetes/kubernetes/issues/61998

There are times when multiple "equal" controllerrevisions are created with
the same revision number. When this happens and this is the case for the
largest revision number, the statefulset controller will periodically
select one of the maximal controllerrevisions to be the target of the
underlying statefulset. The selection happens here: https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/statefulset/stateful_set_control.go#L212.
Prior to this change this selection was random as the sort was not
stable, which caused the pods of a stable set to continually roll.
2018-11-05 16:01:05 -08:00
Michelle Au
3e5139462c Move volume scheduling feature to GA 2018-11-05 15:31:18 -08:00
Bobby (Babak) Salamat
4bb57c440e Autogenerated files 2018-11-05 13:31:51 -08:00
Bobby (Babak) Salamat
7ce3245ca9 Add a scheduler cache dumper 2018-11-05 13:31:51 -08:00
Mike Danese
0ec4d6d396 remove webhook cache implementation and replace with the token cache
The striped cache used by the token cache is slightly more sophisticated
however the simple cache provides about the same exact behavior. I used
the striped cache rather than the simple cache because:

* It has been used without issue as the primary token cache.
* It preforms better under load.
* It is already exposed in the public API of the token cache package.
2018-11-05 13:08:45 -08:00
k8s-ci-robot
79e3d6c0f8 Merge pull request #70542 from wpalmeri/patch-2
fix typo in comment
2018-11-05 11:42:07 -08:00
k8s-ci-robot
15de3eed09 Merge pull request #70461 from mysunshine92/golint
fix golint errors in pkg/volume/*
2018-11-05 11:41:47 -08:00
k8s-ci-robot
2f837b15e4 Merge pull request #69681 from knightXun/patch-9
cleanup pkg/apis/core/types.go
2018-11-05 11:41:37 -08:00
k8s-ci-robot
c0daab0e03 Merge pull request #70274 from zhangmingld/combinesimilercode
combine similar code where calucate schedule priority
2018-11-05 08:14:05 -08:00
k8s-ci-robot
8fe6eb3076 Merge pull request #70420 from idealhack/fix-golint-pkg-kubectl
Fix some golint errors for packages in `pkg/kubectl`
2018-11-05 06:53:55 -08:00
Ke Wang
946c701b05 Fix Typo: mataData -> metaData; masquared -> masquerade 2018-11-05 21:19:25 +08:00
k8s-ci-robot
ad6d3b4de0 Merge pull request #70629 from code-sleuth/develop
Improve`kubectl get` sorting efficiency
2018-11-05 04:22:56 -08:00
Ibrahim Mbaziira
dba032d5e7 improve sorting efficiency 2018-11-05 14:13:37 +03:00
changyaowei
3f422d9784 if ephemeral-storage not exist in initialCapacity, don't upgrade ephemeral-storage in node status 2018-11-05 17:32:34 +08:00
k8s-ci-robot
c0d248ad3a Merge pull request #70398 from islinwb/fix_nf_conntrack
use 'nf_conntrack' instead of 'nf_conntrack_ipv4' for linux kernel >= 4.19
2018-11-05 01:19:47 -08:00
k8s-ci-robot
f44a8a4cac Merge pull request #69419 from humblec/pvc-rfc-63
glusterfs: Allow admin to enable or disable custom endpoint/service names
2018-11-04 22:36:40 -08:00
Weibin Lin
7a591ed361 update bazel 2018-11-05 10:33:31 +08:00
Weibin Lin
4b90559369 use 'nf_conntrack' instead of 'nf_conntrack_ipv4' for linux kernel >= 4.19 2018-11-05 10:33:31 +08:00
walter
2af982abb9 Fixes lint errors in kubeapiserver packages
Fixes lint errors in kubeapiserver/admission, kubeapiserver/authorizer,
kubeapiserver/authenticator. Also enables lint testing of these
directories.
Fixed go format.
Fixed changes from config.
2018-11-04 17:22:41 -08:00
k8s-ci-robot
774b18491f Merge pull request #70605 from bsalamat/affinity_lock_opt
Hold mutex lock shorter when processing inter-pod affinity/anti-affin…
2018-11-04 11:59:05 -08:00
k8s-ci-robot
5fdad5c19f Merge pull request #68771 from liyongxin/master
typo fix from utilites to utilities
2018-11-03 16:50:28 -07:00
Timo Derstappen
90d2c5ca5a flush iptable chains first and then remove them
while cleaning up ipvs mode. flushing iptable chains first and then
remove the chains. this avoids trying to remove chains that are still
referenced by rules in other chains.

fixes #70615
2018-11-03 11:36:14 +01:00
jianglingxia
0c79df1bcb delete some para no need used in local volume 2018-11-03 14:03:47 +08:00
jianglingxia
4ead52e0f5 fix local volume getVolumeSourceFSType func by golint 2018-11-03 12:56:10 +08:00
k8s-ci-robot
d50e920906 Merge pull request #70602 from bsalamat/optimize_memory
Do not allocate memory for pods that do not have inter-pod affinity/a…
2018-11-02 21:29:00 -07:00
k8s-ci-robot
faabfd9455 Merge pull request #70575 from houjun41544/20181102
Replace getPVCName() with a variable
2018-11-02 21:28:41 -07:00
k8s-ci-robot
0f3dff251e Merge pull request #70568 from andyzhangx/remove-retry-azuredisk
remove retry operation on attach/detach  azure disk
2018-11-02 21:28:31 -07:00
Bobby (Babak) Salamat
aa8b5b431b Hold mutex lock shorter when processing inter-pod affinity/anti-affinity priority function 2018-11-02 20:58:07 -07:00
k8s-ci-robot
d7f90253e9 Merge pull request #70553 from pbarker/webhook-refactor
refactors kubeapiserver webhook utility to be generic
2018-11-02 18:01:38 -07:00
k8s-ci-robot
af583b1c5f Merge pull request #70540 from gnufied/fix-csi-attach-limit-node-update
Fix csi attach limit node update
2018-11-02 16:44:30 -07:00
k8s-ci-robot
ba3651795d Merge pull request #70511 from seans3/conversion-remove-fix
kubectl: remove unnecessary internal->external conversion before PrintObj
2018-11-02 16:44:11 -07:00
k8s-ci-robot
bb07b9b410 Merge pull request #70465 from krmayankk/runasgroup
add more ut for runasuser/runasusername
2018-11-02 16:44:01 -07:00
Bobby (Babak) Salamat
7a352b2b92 Do not allocate memory for pods that do not have inter-pod affinity/anti-affinity 2018-11-02 15:15:45 -07:00
Chao Xu
3873d828bc enable --all flag for kubectl wait 2018-11-02 14:10:37 -07:00
k8s-ci-robot
69f5f5eff2 Merge pull request #67978 from WanLinghao/token_controller_improve
remove idle tokens in kubelet token manager
2018-11-02 12:28:47 -07:00
Lubomir I. Ivanov
9d02982372 pkg/controller: add SIG label to OWNERS 2018-11-02 21:25:59 +02:00
Hemant Kumar
889468b1ab Fix csi volume attach limit 2018-11-02 15:10:31 -04:00
k8s-ci-robot
6813ebb568 Merge pull request #67851 from aniket-s-kulkarni/flexvolume-resize-implementation
Flexvolume resize implementation
2018-11-02 10:47:01 -07:00
Patrick Barker
d33f347ba8 refactors kubeapiserver webhook utility to be generic generated 2018-11-02 11:42:04 -06:00
Patrick Barker
1081fffdd5 refactors kubeapiserver webhook utility to be generic 2018-11-02 11:41:58 -06:00
Sean Sullivan
68cea87cfd kubectl: remove unnecessary internal->external conversion before PrintObj 2018-11-02 10:03:52 -07:00
k8s-ci-robot
6c0684f010 Merge pull request #70548 from vladimirvivien/csi-plugin-deregister
CSI Kubelet Plugin Watcher DeRegistration
2018-11-02 08:39:06 -07:00
k8s-ci-robot
77fd16e0e7 Merge pull request #69266 from SataQiu/fix-20180930
Remove the redundant space
2018-11-02 08:38:37 -07:00
k8s-ci-robot
f2c9eb860f Merge pull request #70581 from humblec/validate-correct
Correct test name typo in validation.
2018-11-02 07:24:35 -07:00
k8s-ci-robot
dad6741530 Merge pull request #70572 from andyzhangx/ultrassd-savecost
change UltraSSD default perf
2018-11-02 05:29:24 -07:00
Humble Chirammal
e031513a9b Correct test name typo in validation.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-02 16:40:06 +05:30
WanLinghao
ea7065d471 fix a bug that --tail option does not take effects in 'kubectl logs --selector xx=xx --tail 3' 2018-11-02 18:20:58 +08:00
houjun
fc5dc1ffd8 Replace getPVCName() with a variable 2018-11-02 17:23:18 +08:00
andyzhangx
8abadbe3a0 remove retry operation on attach/detach disk
fix logging

fix build failure
2018-11-02 08:47:49 +00:00