Commit Graph

35083 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3a009af5c2 Merge pull request #79098 from chendave/update_comments
Update the comments on how to check disk conflict
2019-07-04 08:18:36 -07:00
Kubernetes Prow Robot
7bbc130f5e Merge pull request #79736 from ricky1993/fix_eviction_conflict
Get the pdb of current version when conflict instead of relisting
2019-07-04 06:56:39 -07:00
chenyixiang
874b3249e5 Get the pdb when conflict instead of relisting
Change-Id: I50ff6fede509c9b4f81db62718d2150a3c45522f
2019-07-04 16:19:15 +08:00
Kubernetes Prow Robot
8482582094 Merge pull request #79700 from khenidak/fix-downward
kubelet: fix ip reporting for downward api
2019-07-03 16:46:13 -07:00
Kubernetes Prow Robot
bbef01a202 Merge pull request #74411 from nolancon/topology-manager-flags-feature-gate
Add feature gate and kubelet flags for Topology Manager
2019-07-03 15:16:13 -07:00
tiffany jernigan
27a0d91f2d Remove lazy provide from credential provider and kubelet (#79674)
* Remove LazyProvide from kubelet

* Remove LazyProvide from cloud providers

* Remove LazyProvide from credential provider keyring and provider
2019-07-03 13:52:52 -07:00
Kubernetes Prow Robot
a9b3d7d821 Merge pull request #79639 from danielqsj/unr
call unreserve plugin before record event
2019-07-03 13:52:39 -07:00
Kubernetes Prow Robot
8f7bb1fe71 Merge pull request #79321 from shufanhao/fix_golint_issue_for_network
Fix golint failure in pkg/kubelet/dockershim/network/cni
2019-07-03 13:52:26 -07:00
Kubernetes Prow Robot
03aeab967a Merge pull request #79306 from vllry/gogo-dep-tag
Updated github.com/gogo/protobuf from v0.5 SHA to v1.0.0 tag
2019-07-03 12:29:39 -07:00
Kubernetes Prow Robot
a3be4b6817 Merge pull request #79529 from andyzhangx/change-csi-timeout
fix: change default timeout value in csi plugin
2019-07-03 09:12:58 -07:00
Kubernetes Prow Robot
2a82853614 Merge pull request #72420 from Pingan2017/cleanup-outofdisk
clean up redundant conditiontype ‘OutOfDisk’
2019-07-03 09:12:33 -07:00
Pingan2017
e94d7b3802 clean up redundant conditiontype OutOfDisk 2019-07-03 14:34:52 +08:00
Kubernetes Prow Robot
75a39b7007 Merge pull request #73982 from tanshanshan/fixcp
fix cp time stamp is in the future error
2019-07-02 22:48:29 -07:00
Khaled Henidak(Kal)
491804001c kubelet: fix ip reporting for downward api 2019-07-03 05:12:39 +00:00
fanhao01
24a95a6c3e Fix golint failure in pkg/kubelet/dockershim/network/cni 2019-07-03 12:57:24 +08:00
Vallery Lancey
fe59ee8aaf Updated github.com/gogo/protobuf from SHA to nearest-pinnable tag (v1.0.0), as part of dependency management cleanup: #79234 2019-07-02 21:44:06 -07:00
Kubernetes Prow Robot
c8cee54240 Merge pull request #79391 from danwinship/nodeaddresses-update-fix
Don't use strategic merge patch on Node.Status.Addresses
2019-07-02 21:08:29 -07:00
danielqsj
d4ea78ea39 call unreserve plugin before record event 2019-07-03 11:34:52 +08:00
Kubernetes Prow Robot
090e5233f2 Merge pull request #72974 from sjenning/sysctl-kubeconfig
kubelet: add allowed sysctl to KubeletConfiguration
2019-07-02 19:58:29 -07:00
Kubernetes Prow Robot
a33840e023 Merge pull request #73977 from khenidak/ipv6dualstack
ipv6 dual stack (Phase 1 - ALPHA)
2019-07-02 18:07:12 -07:00
Dan Winship
05a9634fb3 Hack PatchNodeStatus() to override the patch type on Status.Addresses 2019-07-02 19:16:30 -04:00
Khaled Henidak(Kal)
af552ab469 generated items 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
2b77667718 vendor updates 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
dba434c4ba kubenet for ipv6 dualstack 2019-07-02 22:26:25 +00:00
Kubernetes Prow Robot
8626ceb221 Merge pull request #79642 from tedyu/new-node-tree
Omit obtaining the lock when adding Nodes in newNodeTree
2019-07-02 13:08:29 -07:00
Kubernetes Prow Robot
4a1f71076b Merge pull request #78627 from tedyu/resource-req
Check the correct value of Quantity for non-v1.ResourceCPU resource in GetResourceRequest
2019-07-02 11:11:12 -07:00
Seth Jennings
0c7ce5a7d7 kubelet: add allowed sysctl to KubeletConfiguration 2019-07-02 12:19:47 -05:00
Kubernetes Prow Robot
cf7662d3a1 Merge pull request #79035 from josephburnett/hparunaway
Fix HPA feedback from writing status.replicas to spec.replicas.
2019-07-02 09:31:08 -07:00
Khaled Henidak(Kal)
a51b8ce456 route controller + azure v6 routes 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
584d7103e2 node ipam controller for ipv6 dualstack 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
81468e2696 api: dropDisabledFields 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
54d42e6a65 types modifications + conversion + conversion testing 2019-07-02 15:39:05 +00:00
Khaled Henidak(Kal)
72719d5875 IPv6DualStack ALPHA feature 2019-07-02 15:39:05 +00:00
Ted Yu
acdc4d2001 Omit obtaining the lock when adding Nodes in newNodeTree 2019-07-02 23:16:08 +08:00
Joseph Burnett
39c4875321 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-02 14:21:32 +02:00
nolancon
705f97e171 Enable feature gate and kubelet flags for Topology Manager
Nit: remove capitalization of preferred
Remove line from kubelet and add to separate PR for easier merge

nit: dependency added to separate PR

Add check to ensure strict policy cannot be set without feature gate enabled

Topology Manager runs "none" policy by default.

Added constants for policies and updated documentation.
2019-07-02 06:50:17 +01:00
Kubernetes Prow Robot
6d8dd21111 Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00
Kubernetes Prow Robot
6f73ab2219 Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48 Merge pull request #71170 from atlassian/rand-cleanup2
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
38e8b8a9f6 Merge pull request #79583 from justaugustus/azure-api-updates
Azure API updates
2019-07-01 16:23:44 -07:00
Kubernetes Prow Robot
a5e3d74691 Merge pull request #79534 from odinuge/volume-util-fd
Fix possible fd leak and closing of dirs in doSafeMakeDir
2019-07-01 15:09:58 -07:00
Kubernetes Prow Robot
64a2be8e44 Merge pull request #79387 from tedyu/cont-helper-early
Restore early return for podSpecHasContainer
2019-07-01 15:09:45 -07:00
Kubernetes Prow Robot
dcd57c9e5e Merge pull request #79076 from draveness/feature/read-nodes-from-scheduler-cache
fix: predicates read nodes from scheduler cache
2019-07-01 15:09:33 -07:00
Kubernetes Prow Robot
da0f51ffed Merge pull request #78820 from haosdent/fix_typos
Fix typos.
2019-07-01 15:09:20 -07:00
Kubernetes Prow Robot
b4e3bd381b Merge pull request #79524 from bertinatto/add_missing_informer
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-07-01 12:53:33 -07:00
Dan Williams
8739ade3fa kubelet: add CNI cache dir option and plumb through to CNI and kubenet
libcni 0.7.0 caches ADD operation results and allows the runtime to
retrieve these from the cache. In case the user wants a different
cache directory than the defaul, plumb that through like we do
for --cni-bin-dir and --cni-conf-dir.
2019-07-01 12:14:07 -05:00
Alexey Perevalov
a2ea2996f3 move to libcni 0.7.0
Previous commit "Use ip address from CNI output" introduces
ability to run pod which can havn't eth0. But also it
add problem: after kubelet restart, if we have already started
pod w/o eth0, kubelet can't find proper interface (it's
normal for vhostuser type of cni plugin when eth0 doesn't exist)
and kubelet restarts "broken" pod.
Fix of this issue requeres new feature of libcni - caching
results.

Looks like new libcni requires cniVersion in CNI output.
This patch specifies version both for CNI conf and CNI output.

Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
2019-07-01 12:14:06 -05:00
Kubernetes Prow Robot
f56b336976 Merge pull request #79592 from tedyu/ctrl-exp-mutex
Move population of expectedUIDs outside lock
2019-07-01 09:43:34 -07:00
Kubernetes Prow Robot
92ef26d651 Merge pull request #77795 from nagexiucai/glusterfs--backup-volfile-servers--option-warning
Remove selected IP from backup-volfile-servers list to avoid warning in mount logs.
2019-07-01 07:23:21 -07:00
Ted Yu
6db618fa42 Move population of expectedUIDs outside lock 2019-07-01 21:26:34 +08:00