Commit Graph

72796 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2bd14ea60e
Merge pull request #71713 from liggitt/tokenfile-reload
Plumb token and token file through rest.Config
2018-12-04 11:41:03 -08:00
Bobby (Babak) Salamat
70f923ed05 Avoid copying PriorityConfig struct while running priority functions 2018-12-04 11:28:25 -08:00
Kubernetes Prow Robot
7af52384ea
Merge pull request #71467 from rosti/nuke-config-print-defaults
kubeadm: remove kubeadm config print-defaults
2018-12-04 10:04:32 -08:00
Jordan Liggitt
dba85e58de Plumb token and token file through rest.Config 2018-12-04 13:04:24 -05:00
Gregory Haynes
082b48240a Implement scheduler.util.backoff as a queue
We are going to use PodBackoff for controlling backoff when adding
unschedulable pods back to the active scheduling queue. In order to do
this more easily, limit the interface for PodBackoff to only this struct
(rather than exposing BackoffEntry) and change the backing expiry
implementation to be queue based.
2018-12-04 18:01:43 +00:00
Gregory Haynes
c821f2ed2f Move scheduling Heap in to scheduler.core.utils
The Heap data structure is useful for our backoff system in addition to
scheduling queue. Move it to somewhere it can be consumed by both
systems and properly export needed names. Also adding unit tests
from client-go/tools/cache/heap.go.
2018-12-04 18:01:42 +00:00
Kubernetes Prow Robot
3b53ea5ea4
Merge pull request #71690 from liggitt/secured-kubelet
enable secured kubelet in hack/local-up-cluster.sh
2018-12-04 08:26:14 -08:00
Kubernetes Prow Robot
33a37702a6
Merge pull request #64280 from dashpole/eviction_pod_metrics
Use memory metrics from the pod cgroup for eviction ranking
2018-12-04 08:26:03 -08:00
Joseph-Irving
95165c5d4e fix WaitForAllNodesSchedulable so it logs when cluster size is small 2018-12-04 14:28:17 +00:00
Kubernetes Prow Robot
a605988d5d
Merge pull request #71597 from marc-sensenich/gh-71595/fix-cloud-controller-manager-azure-delete-nodes
Add check for cloudProvider.InstanceNotFound in Azure VMSS Instance gets
2018-12-04 05:25:59 -08:00
Kubernetes Prow Robot
85b0f58378
Merge pull request #71691 from andyzhangx/make-func-public
make GetStorageAccesskey func public
2018-12-04 04:12:30 -08:00
Kubernetes Prow Robot
300b1bab8b
Merge pull request #71636 from tao12345666333/rm-duplicate-word
remove duplicate word
2018-12-04 04:12:20 -08:00
yuexiao-wang
0dc0659e07 move test utilites out of /test
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-04 19:27:17 +08:00
Kubernetes Prow Robot
b6c8ef298e
Merge pull request #71663 from bart0sh/PR0044-kubeadm-1294-fix-unmount-kubelet-dirs
kubeadm: properly umount dirs in /var/lib/kubelet
2018-12-04 02:54:44 -08:00
Kubernetes Prow Robot
a9b69dc381
Merge pull request #71615 from jpbetz/etcd-3.3.10-0-image
Update default etcd server to 3.3.10 for kubernetes 1.14
2018-12-04 02:54:34 -08:00
Kubernetes Prow Robot
d193fbe45c
Merge pull request #71484 from ritazh/nsg-srcrange-collapse
Collapse not shared NSG rules with multiple source ranges
2018-12-04 02:54:24 -08:00
Kubernetes Prow Robot
b1aed1593e
Merge pull request #70682 from idealhack/fix-golint-pkg-kubectl-cmd
Fix some golint errors for packages in `pkg/kubectl/cmd`
2018-12-04 00:49:09 -08:00
Kubernetes Prow Robot
6ba75e4b37
Merge pull request #71672 from prameshj/norecurse-test
Drop the norecurse flag in  dns tests
2018-12-03 23:28:15 -08:00
Kubernetes Prow Robot
3a83f291ef
Merge pull request #71088 from smarterclayton/wait_cap
util: Refactor Backoff to return the next step rather than sleeping
2018-12-03 23:28:05 -08:00
andyzhangx
14ad73eaa8 make GetStorageAccesskey public as a lib 2018-12-04 07:02:50 +00:00
Kubernetes Prow Robot
6cea9266dc
Merge pull request #71116 from xichengliudui/fix18111602
Fix typo: trus->true
2018-12-03 21:27:08 -08:00
Kubernetes Prow Robot
8ffc8ef4dd
Merge pull request #68663 from WanLinghao/probe_proxy
Disable proxy use in http  probe
2018-12-03 21:26:57 -08:00
Jordan Liggitt
67849e6a94 secure kubelet in local-up-cluster 2018-12-04 00:15:01 -05:00
Benjamin Elder
4cd93dada4 add CNI_VERSION to build/workspace.bzl, use it to dedupe version 2018-12-03 20:19:47 -08:00
Kubernetes Prow Robot
f5e98aa6d2
Merge pull request #70608 from spiffxp/add-conformance-reviewers
Add new reviewers for conformance
2018-12-03 20:09:42 -08:00
WanLinghao
08a4ee006e Update a comment in cadvisor boot function 2018-12-04 11:29:58 +08:00
danielqsj
3c055aa4b4 Fix typos like limitting 2018-12-04 11:01:40 +08:00
Kubernetes Prow Robot
8f7405ec92
Merge pull request #71629 from mauilion/bump_kubernetes-cni
Bump the version of kubernetes-cni to 0.6.0
2018-12-03 17:46:45 -08:00
Jonathan Basseri
b864a5a808 Remove scheduler "TestGroup" utility.
This util was used to fake certain aspects of apiserver behavior, such
as resource paths and JSON encoding. Our unit tests have been refactored
so they don't rely on the REST or JSON aspects of apiserver. This util
is no longer needed.
2018-12-03 16:28:21 -08:00
Kubernetes Prow Robot
4206790029
Merge pull request #71522 from wangzhen127/npd
Use Node-Problem-Detector v0.6.0 on GCI
2018-12-03 15:47:08 -08:00
Mike Arpaia
75c15a72e0
Minor copy edits to the 1.13 changelog 2018-12-03 16:12:08 -07:00
Hemant Kumar
1570f39d9e We do not pass device path to unmount device
Also rename attachable-with-long-format file
2018-12-03 17:31:01 -05:00
Pavithra Ramesh
19e1fcc242 Remove 'norecurse' flag in dns tests.
dnsmasq 2.79 introduced a change to respond to all norecurse queries with ServFail.
This is to prevent cache snooping where an adversary can figure out if a particular hostname has been looked up or not.
These tests do not need the norecurse flag, hence removing it.
2018-12-03 14:27:39 -08:00
Anago GCB
9e4e03cd96 Update CHANGELOG-1.13.md for v1.13.0. 2018-12-03 22:11:15 +00:00
Kubernetes Prow Robot
c7598e8844
Merge pull request #71617 from RobertKrawitz/branch-issue71614
Issue 71614: Protect log message maps
2018-12-03 14:03:38 -08:00
Clayton Coleman
e62d389fb0
util: Refactor Backoff to return the next step rather than sleeping
Allows consumers to use Backoff as a generator rather than have to
call ExponentialBackoff
2018-12-03 16:43:16 -05:00
Jacob Tanenbaum
144280e7a7 Correctly Clear conntrack entrty on endpoint changes when using nodeport
When using NodePort to connect to an endpoint using UDP, if the endpoint is deleted on
restoration of the endpoint traffic does not flow. This happens because conntrack holds
the state of the connection and the proxy does not correctly clear the conntrack entry
for the stale endpoint.

Introduced a new function to conntrack ClearEntriesForPortNAT that uses the endpointIP
and NodePort to remove the stale conntrack entry and allow traffic to resume when
the endpoint is restored.

Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
2018-12-03 15:02:48 -05:00
Rafael Fernández López
68e6fa0f8d
Allow to build docker images offline (do not always use docker build --pull)
Passing `KUBE_BUILD_PULL_LATEST_IMAGES=n` will disable building the artifacts
with `--pull`, so they can be built in an offline environment.

By default, `KUBE_BUILD_PULL_LATEST_IMAGES` is `y`, so the default behavior
is kept unchanged.
2018-12-03 20:34:22 +01:00
Kubernetes Prow Robot
8c0542dcf1
Merge pull request #71664 from liggitt/changelog-update
Update changelogs for CVE-2018-1002105
2018-12-03 11:09:09 -08:00
Joe Betz
862b945e5a Update default etcd server to 3.3.10 for kubernetes 1.13 2018-12-03 11:03:49 -08:00
Ed Bartosh
48a961cfa2 kubeadm: properly umount dirs in /var/lib/kubelet
'kubeadm reset' uses incorrect way of unmounting /var/lib/kubelet
directories. It queries /proc/mounts for /var/lib/kubelet mount point.
If /var/lib/kubelet directory is also mounted it makes 'kubelet reset'
to unmount it too, which is incorrect. It also makes it fail as it
can't unmount /var/lib/kubelet before unmounting mounts inside it.

Fixed by querying /var/lib/kubelet/ instead of /var/lib/kubelet.
This should exclude /var/lib/kubelet from the query results even if
it's mounted.

Fixes: kubernetes/kubeadm#1294
2018-12-03 18:45:52 +02:00
Rostislav M. Georgiev
ffb670b8a8 kubeadm: remove kubeadm config print-defaults
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-12-03 17:43:42 +02:00
Jordan Liggitt
4388a34f7a Update changelogs for CVE-2018-1002105 2018-12-03 10:40:24 -05:00
Dr. Stefan Schimanski
fce6eb0903 aggregator: add metrics for request errors 2018-12-03 14:58:17 +01:00
Dr. Stefan Schimanski
7190b17e5a apiserver: add component label to request metrics 2018-12-03 14:58:13 +01:00
Kubernetes Prow Robot
dc9261bc3b
Merge pull request #71174 from smarterclayton/debug_kubeadm
Restore bootstrap in the background with fix to preserve kubeadm behavior
2018-12-03 05:49:57 -08:00
Dr. Stefan Schimanski
ff6e028755 apiserver: add group+version to request metrics 2018-12-03 14:29:50 +01:00
Jintao Zhang
b32bd6e812 remove duplicate word
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2018-12-03 19:24:45 +08:00
Niko Pen
eab977f6d4 don't use 'Fixes' for failing-tests and flakes (#71278)
* don't use 'Fixes' for failing-tests and flakes

* issue-closing nice-formatting and nits
2018-12-03 01:07:17 -08:00
Rita Zhang
61fbba74e5 Collapse source range in nsg 2018-12-03 08:39:46 +00:00