Commit Graph

38098 Commits

Author SHA1 Message Date
Arjun Naik
8ab226263a Adds tests
Signed-off-by: Arjun Naik <arjun@arjunnaik.in>
2019-12-10 18:09:20 +01:00
Ivan Glushkov
ac23d55d90 Generates boilerplate code 2019-12-10 20:38:09 +04:00
Ivan Glushkov
27ffe439b6 Adds the algorithm implementation for the Configurable HPA 2019-12-10 20:37:33 +04:00
Ivan Glushkov
5c70cda6e5 Adds validation rules and proper defaults 2019-12-10 20:37:19 +04:00
Ivan Glushkov
141eaf79ee Introduces all API changes needed for Configurable HPA PR 2019-12-10 20:37:03 +04:00
Kubernetes Prow Robot
9bf52c2aa6 Merge pull request #86046 from ahg-g/ahg1-affinity
Optimize required pod affinity (2)
2019-12-09 17:39:28 -08:00
Kubernetes Prow Robot
d842c194c2 Merge pull request #86022 from Huang-Wei/sched-reserve-multi-errs
Return all scheduler predicate failures instead of the first one
2019-12-09 14:00:26 -08:00
Abdullah Gharaibeh
32dc70e0f1 optimize required inter-pod affinity 2019-12-09 16:21:13 -05:00
Kubernetes Prow Robot
ff8cf507dc Merge pull request #83841 from RainbowMango/pr_hide_kubelet_deprecated_metrics
Turn off kubelet deprecated metrics
2019-12-09 11:30:02 -08:00
Kubernetes Prow Robot
fcc35b0468 Merge pull request #85899 from gongguan/slim_down_lister
slim down some lister expansions
2019-12-09 07:20:17 -08:00
Kubernetes Prow Robot
398e2bcc73 Merge pull request #85874 from sambdavidson/ttlFunc
Kubelet cert TTL via GaugeFunc
2019-12-09 07:20:02 -08:00
ianlang
babdcd0d14 invoke getTypedVersion() instead of direct runtime call 2019-12-09 15:31:45 +08:00
Wei Huang
a136108d2b Return all predicate failures instead of the first one 2019-12-08 21:10:40 -08:00
Kubernetes Prow Robot
77a95dce68 Merge pull request #85959 from ahg-g/ahg-affinity-opt
Refactor and optimize preferred (anti) pod affinity
2019-12-06 19:49:25 -08:00
Kubernetes Prow Robot
95878329d4 Merge pull request #86009 from rphillips/fixes/at_most_one_ref
kubelet: guarantee at most only one cinfo per containerID
2019-12-06 17:06:15 -08:00
Kubernetes Prow Robot
e624d1b7bf Merge pull request #85001 from bmoix/fix-golint-kubelet-httpgetter
kubelet: rename HTTPGetter interface
2019-12-06 17:05:53 -08:00
louisgong
7f5076d8ee slim down some lister expansions 2019-12-07 08:27:06 +08:00
Samuel Davidson
aba0b31526 Changed Kubelet client and serving cert TTL/Expiry certs to use gaugefunc for calculating time remaining. 2019-12-06 15:52:03 -08:00
Kubernetes Prow Robot
c9f690d418 Merge pull request #85170 from timyinshi/logSymlink
modify dockerID to containerID
2019-12-06 14:27:35 -08:00
Kubernetes Prow Robot
c577031abb Merge pull request #76741 from logicalhan/install-tunneler-bugs
Two bugfixes in installTunneler
2019-12-06 14:27:22 -08:00
Ryan Phillips
4762985fb6 kubelet: guarantee at most only one cinfo per containerID
The trailing for loop removed within this PR can include active and
inactive references. This modification will gauarantee at most only one
reference per container is returned.
2019-12-06 14:11:08 -06:00
Abdullah Gharaibeh
53be26e402 optimize preferred pod affinity 2019-12-06 12:59:06 -05:00
louisgong
0dd468039d inject remoteRuntime to kubelet dependency 2019-12-06 14:12:08 +08:00
Kubernetes Prow Robot
0ea756ff0a Merge pull request #84688 from tahsinrahman/kubeproxyconfig-test
Increase test coverage for ComponentConfigs and add tests for kubeproxyconfiguration
2019-12-05 17:15:04 -08:00
Han Kang
6de7082978 remove two unused metrics 2019-12-05 16:30:21 -08:00
Han Kang
aaac96c660 Two bug fixes: (1) at least log something out if we fail to register our health check, (2) actually register a prometheus metric. I delete the deprecated metric in this block because there isn't any point to it, since no one can be broken by changing a metric that doesn't get collected 2019-12-05 16:30:21 -08:00
Kubernetes Prow Robot
b8ce44f006 Merge pull request #85863 from nan-yu/pdb_status_renaming
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Kubernetes Prow Robot
060e0de56d Merge pull request #85945 from obitech/kubelet_refactor_lenient_path
Refactor kubelet component config lenient path decoding
2019-12-05 13:51:03 -08:00
Kubernetes Prow Robot
c2b312bd22 Merge pull request #85790 from tanjunchen/fix-staticcheck-pkg-printers
fix staticcheck in pkg/printers
2019-12-05 13:50:54 -08:00
Kubernetes Prow Robot
ad5d4c4705 Merge pull request #85706 from yutedz/per-node-dev
Remove nodes slice in loop of takeByTopology
2019-12-05 13:50:30 -08:00
obitech
bf92350b11 Refactor kubelet component config lenient path decoding
Use NewLenientSchemeAndCodec function provided in k8s.io/component-base/codec
instead of private package function.
2019-12-05 19:23:48 +08:00
yuzhiquan
e057bd4ad2 fix: typo Snapshoting to Snapshotting 2019-12-05 10:42:35 +08:00
tanjunchen
40911e74c1 fix staticcheck in pkg/printers 2019-12-05 10:24:42 +08:00
Ted Yu
36784331eb Sync the status of static Pods 2019-12-04 13:28:42 -08:00
Hemant Kumar
4b8e552a88 Use typed errors for special casing volume progress
Use typed errors rather than operation status for
indicating operation progress
2019-12-04 14:48:30 -05:00
Adelina Tuvenie
bc7d254317 Fix Cpu Requests priority Windows.
For Windows, CPU Requests ( Shares, Count and Maximum ) are mutually exclusive, however
Kubernetes sends them all anyway in the pod spec.
When using dockershim this is not an issue, as Docker checks for this specific situation
here: 1bd184a4c2/daemon/daemon_windows.go (L87-L106)

However, when using CRI-Containerd this pods fail to spawn with an error from hcsshim.

This PR intends to filter these values before they are sent to the CRI and not rely on the
runtime for it.

Related to: https://github.com/kubernetes/kubernetes/issues/84804
2019-12-04 19:32:26 +02:00
Kubernetes Prow Robot
f4caa62593 Merge pull request #85590 from yuzhiquan/master
handle registry merge error
2019-12-04 08:50:57 -08:00
Kubernetes Prow Robot
97a4e6683e Merge pull request #85634 from hwdef/fix-staticcheck14
pkg/master: Fix static check failures
2019-12-04 07:18:57 -08:00
louisgong
b469404d97 hollow-node use remote CRI 2019-12-04 17:07:04 +08:00
Kubernetes Prow Robot
ac5dc1fc68 Merge pull request #85844 from shaloulcy/add_configmap_predicate_func
add PredicateFunc for configmap
2019-12-03 19:45:12 -08:00
Kubernetes Prow Robot
370e2f4b29 Merge pull request #85862 from ahg-g/ahg-antiAffinity
Partially avoid LabelSelectorAsSelector overhead in anti-pod affinity calculation
2019-12-03 18:35:23 -08:00
Kubernetes Prow Robot
ca7ad98d60 Merge pull request #85470 from cwdsuzhou/add_pod_info
add pod info when failing to add pod to unschedulableQ
2019-12-03 18:35:10 -08:00
Dc.Hannibal
9a9db00451 handle registry merge error
Handle registry merge error.

Add test case

Add a test case in TestSchedulerCreation

Add test case comment

Add test case comment, and modify error msg.

gofmt

gofmt import order

replace NewDefaultRegistry with a fake registry

update comment

rename framework plugins nodeaffinity import

remove nodeaffinity plugin import, get fake registry name from default registry randomly

Add a space

Add a space after //

update comment, trans FrameWork to Framework
2019-12-04 09:21:18 +08:00
Kubernetes Prow Robot
fe97fbb2e6 Merge pull request #85071 from hvaara/fix-golint-pkg-apis-batch-validation
Fix golint issues in pkg/apis/batch/validation
2019-12-03 17:00:57 -08:00
Kubernetes Prow Robot
bb9981e19f Merge pull request #85046 from hvaara/fix-golint-pkg-registry--storage
Fix golint issues in pkg/registry/.../storage
2019-12-03 15:47:11 -08:00
Kubernetes Prow Robot
eff703de21 Merge pull request #84005 from yue9944882/chore/crd-internal-client-prune
Prune internal clients from CRD apiserver
2019-12-03 15:46:57 -08:00
Nan Yu
1fb0dd4ec5 Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus 2019-12-03 14:26:35 -08:00
Abdullah Gharaibeh
2d3c8fe6b9 optimize anti-affinity predicate 2019-12-03 15:44:57 -05:00
Kubernetes Prow Robot
b141a990c3 Merge pull request #85820 from ahg-g/ahg-queue
Start and stop the scheduling queue consistently
2019-12-03 11:41:14 -08:00
Kubernetes Prow Robot
205570eb75 Merge pull request #84614 from rphillips/fixes/add_cert_rotation_failure_metric
kubelet: add certificate rotation error metric
2019-12-03 11:40:57 -08:00