Commit Graph

34770 Commits (b8bec43635808dcfd5a7c1e3de788b4290eb9a55)

Author SHA1 Message Date
David Zhu 8c8bf878fc Add passthrough for MountOptions for NodeStageVolume for CSI 2019-07-18 15:49:26 -07:00
Kubernetes Prow Robot 2be156dadc
Merge pull request #79727 from josephburnett/automated-cherry-pick-of-#79035-upstream-release-1.15
Automated cherry pick of #79035: There are various reasons that the HPA will decide not the
2019-07-04 08:00:38 -07:00
Kubernetes Prow Robot 7795e24751
Merge pull request #79759 from andyzhangx/automated-cherry-pick-of-#79529-upstream-release-1.15
Automated cherry pick of #79529: fix: change timeout value in csi plugin
2019-07-04 06:02:13 -07:00
Kubernetes Prow Robot a29b88ba37
Merge pull request #79570 from SataQiu/automated-cherry-pick-of-#79094-up-release-1.15
Automated cherry pick of #79094: fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-07-04 06:00:22 -07:00
andyzhangx 704048cee9 fix: change timeout value in csi plugin 2019-07-04 03:40:19 +00:00
Joseph Burnett dc4003cb70 There are various reasons that the HPA will decide not the change the current scale. Two important ones are when missing metrics might change the direction of scaling, and when the recommended scale is within tolerance of the current scale.
The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.

This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-03 15:42:14 +02:00
Odin Ugedal d17965006e
Fix closing of dirs in doSafeMakeDir
This fixes the issue where "childFD" from syscall.Openat is assigned to
a local variable inside the for loop, instead of the correct one in the
function scope. This results in that when trying to close the "childFD"
in the function scope, it will be equal to "-1", instead of the correct
value.
2019-07-02 18:23:02 +02:00
Rong Gao dfbdb9044b fix kubelet can not delete orphaned pod directory when the kubelet's root directory symbolically links to another device's directory 2019-06-30 13:18:16 +08:00
Kubernetes Prow Robot b812eaa172
Merge pull request #79460 from andyzhangx/automated-cherry-pick-of-#75234-upstream-release-1.15
Automated cherry pick of #75234: fix flexvol stuck issue due to corrupted mnt point
2019-06-28 06:45:39 -07:00
Kubernetes Prow Robot 09a05896f5
Merge pull request #79482 from yujuhong/automated-cherry-pick-of-#79451-upstream-release-1.15
Automated cherry pick of #79451: kubelet: retry pod sandbox creation when containers were
2019-06-28 05:35:49 -07:00
Yu-Ju Hong 7d16db5819 kubelet: retry pod sandbox creation when containers were never created
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-27 10:22:21 -07:00
andyzhangx fb32e1de9d fix flexvol stuck issue due to corrupted mnt point
fix comments about PathExists

fix comments

revert change in PathExists func
2019-06-27 07:03:18 +00:00
rafatio b8ed907eb1 Ignore cgroup pid support if related feature gates are disabled 2019-06-24 10:55:48 -03:00
Kubernetes Prow Robot e8462b5b5d
Merge pull request #79044 from andrewsykim/automated-cherry-pick-of-#78999-origin-release-1.15
Automated cherry pick of #78999: ipvs: fix string check for IPVS protocol during graceful
2019-06-14 17:58:09 -07:00
Andrew Sy Kim 917b434462 ipvs: fix string check for IPVS protocol during graceful termination
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-14 14:57:30 -04:00
j-griffith c2d836fc33 Fix nil pointer
add back lost test

Fix nil pointer
2019-06-14 12:09:15 -04:00
Jordan Liggitt 899d00a529 Fix incorrect procMount defaulting 2019-06-10 22:01:54 -04:00
Kubernetes Prow Robot 3d4124f2e0
Merge pull request #68108 from wenjun93/iscsiVol
add lun info when construct iscsi volumeSpec from mountPath
2019-06-09 20:45:06 -07:00
ahg-g ece3e3cdba
Revert "Faster scheduler" 2019-06-06 22:34:18 -04:00
Kubernetes Prow Robot 333081e79c
Merge pull request #78595 from gnufied/fix-aws-dangling-volumes
Add dangling volume as uncertain
2019-06-06 16:47:59 -07:00
Hemant Kumar 7bcebe98bb Add dangling volume as uncertain 2019-06-06 15:25:10 -04:00
Kubernetes Prow Robot 602fc4771a
Merge pull request #78725 from waynepeking348/waynepeking348-master
fix bug of replica_calculator to initialize replicaCount with currentReplicas
2019-06-06 10:48:27 -07:00
Kubernetes Prow Robot f3f2b4066b
Merge pull request #78713 from liggitt/crd-status-conversion-error
Set expected in-memory version when decoding unstructured objects from etcd
2019-06-06 10:48:13 -07:00
Jordan Liggitt a3bb81ff32 Ensure defaulting applies to custom resource items in list response 2019-06-06 09:17:31 -04:00
Kubernetes Prow Robot e168e558f4
Merge pull request #78696 from ravisantoshgudimetla/revert-78448-promote-resourcequota
Revert "Promote resourcequota scope selectors to GA"
2019-06-05 11:19:34 -07:00
waynepeking348 b8b1720f12 Fix bug of ObjectPerPodMetricReplicas to initialize replicaCount with currentReplicas 2019-06-05 11:54:03 +00:00
Kubernetes Prow Robot 88f8c785b4
Merge pull request #78711 from MrHohn/lb-finalizer-patch-err
Don't mask k8s error returned from patch
2019-06-04 22:31:52 -07:00
Kubernetes Prow Robot 714fcd910f
Merge pull request #78537 from liggitt/log-gc-test
Fix GC integration test
2019-06-04 20:35:53 -07:00
Kubernetes Prow Robot b3b1c7c1e1
Merge pull request #78704 from dashpole/fix_windows_podresources
Disable kubelet local endpoints on windows
2019-06-04 16:47:52 -07:00
Zihong Zheng 89a7a35607 Don't mask k8s error returned from patch 2019-06-04 16:40:51 -07:00
Kubernetes Prow Robot 304a2b191d
Merge pull request #78522 from croomes/bugfix-78517-storageos-mountref
StorageOS volume driver: Remove call to clear mount info if already set
2019-06-04 14:33:50 -07:00
Jordan Liggitt 6a7e7fc156 Fix TestStressingCascadingDeletion flake 2019-06-04 17:26:36 -04:00
David Ashpole 80ed28b15b disable kubelet local endpoints on windows 2019-06-04 14:07:10 -07:00
Kubernetes Prow Robot 8657b24d86
Merge pull request #78681 from yuxiangqian/e2efix
fix label mismatching which broke e2e serial test
2019-06-04 10:53:21 -07:00
RaviSantosh Gudimetla 3c3baf2ce6
Revert "Promote resourcequota scope selectors to GA" 2019-06-04 11:19:03 -04:00
xiangqian d616c6fb5a fix label mismatching which broke e2e serial test 2019-06-03 23:33:37 -07:00
Kubernetes Prow Robot 9f85c5c4b5
Merge pull request #78503 from gjtempleton/Multiple-Metrics-HPA
Multiple metrics hpa
2019-06-03 19:34:59 -07:00
Kubernetes Prow Robot e0ae55059d
Merge pull request #78592 from tedyu/plugin-mgr
Use read lock for reconciler#getHandlers and clean up for the pluginmanager
2019-06-03 18:17:14 -07:00
Hemant Kumar 0f62e3fbe8 Make language of error msgs and func names consistent: ExpandVolumeInUse
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Kubernetes Prow Robot acb321e614
Merge pull request #78594 from benmoss/windows-kubelet-memory-leak
Fix memory leak from not closing hcs containers
2019-06-03 04:40:20 -07:00
Kubernetes Prow Robot f532d5ca4b
Merge pull request #78612 from ksubrmnn/retry
Kube-Proxy wait when HNS network not found
2019-06-03 01:10:20 -07:00
Ben Moss 1fcad1b4ab Fix memory leak from not closing hcs container handles 2019-06-02 10:52:07 -04:00
Jordan Liggitt 8f26874577 Set GVK when decoding protobuf 2019-06-02 00:13:22 -04:00
Kubernetes Prow Robot 6e23ef6cdc
Merge pull request #78598 from yastij/revert-75744-runtimeclass-scheduling-api
Revert "Introduce topology into the runtimeClass API"
2019-06-01 20:14:16 -07:00
Ricardo Pchevuzinske Katz 82c42bb6ee Remove deprecated flag --conntrack-max from kube-proxy 2019-06-01 18:10:28 -03:00
Kubernetes Prow Robot ac458e9d89
Merge pull request #78581 from andrewsykim/route-rate-limit
route controller: respect rate limit for delete
2019-06-01 12:13:07 -07:00
Kubernetes Prow Robot d910055d35
Merge pull request #78528 from bclau/credentialprovider/windows-homedir
credentialprovider: Sets homeDirPath to os.UserHomeDir()
2019-06-01 09:50:41 -07:00
Kubernetes Prow Robot 9ac58bae56
Merge pull request #78515 from klueska/upstream-socketmask-updates
Updates to the SocketMask abstraction for the TopologyManager
2019-06-01 09:50:16 -07:00
Kubernetes Prow Robot 46c74629cf
Merge pull request #78516 from klueska/upstream-topology-manager-interface-updates
Update the TopologyManager interfaces
2019-06-01 08:00:19 -07:00
Kubernetes Prow Robot bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00