Commit Graph

40526 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e3d7d067ab Merge pull request #95066 from SataQiu/wrap-errors-2020092502
Wrap errors for NodeLabel, NodePorts, NodePreferAvoidPods and NodeResourcesBalancedAllocation plugins
2020-10-13 09:46:27 -07:00
Kubernetes Prow Robot
dc98ed96f6 Merge pull request #95085 from arghya88/wrap-error-taint-toleration-plugin
Wrap errors in taint-toleration, service-affinity plugin
2020-10-13 08:16:26 -07:00
Kubernetes Prow Robot
e799c852fb Merge pull request #95447 from gnufied/fix-disk-detach-failure
Fix vsphere disk detach failure
2020-10-13 03:36:41 -07:00
Kubernetes Prow Robot
4ca119f521 Merge pull request #94916 from smileusd/upstream_master
split systemd mount from mount
2020-10-13 02:38:26 -07:00
Masashi Honma
4c12900643 kube-eviction: Fix SI of process quantity
Use DecimalSI instead of BinarySI because process count is decimal.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-13 18:24:43 +09:00
Kubernetes Prow Robot
01f3f67989 Merge pull request #92663 from AndersonQ/68026-golint-/pkg/kubelet/stats
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-12 23:48:26 -07:00
tashen
27cb5cf4f0 add systemd mount options interface to support the no-systemd mount 2020-10-13 13:46:57 +08:00
Ali
09b2e8f638 Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
Hemant Kumar
5627771601 Fix vsphere disk detach failing
Make inability to fetch canonicalPath non-fatal error
Throw error if we can't fetch canonicalPath on attach
2020-10-12 21:58:28 -04:00
Kubernetes Prow Robot
1dff024e64 Merge pull request #91014 from cici37/apiConfig
Move cmd/controller-manager to k8s.io/controller-manager
2020-10-12 15:17:22 -07:00
Suramrit Singh
e0249c4b0b - fix golint errors by adding defition comments
- remove /pkg/apiserverinternal from .golint_failures
2020-10-12 15:03:53 -07:00
Troy Connor
782b943987 [auth]Check verbs for nonresourceurls and resources 2020-10-12 13:58:45 -04:00
Kubernetes Prow Robot
4bbf4111e2 Merge pull request #92507 from ingvagabund/staging-library-go
Initialize k8s.io/component-helpers staging repository
2020-10-12 10:30:48 -07:00
Jan Chaloupka
274c536da3 Removing GetPodPriority from pkg/api and importing PodPriority from k8s.io/component-helpers 2020-10-11 21:40:11 +02:00
Kubernetes Prow Robot
fa15799f74 Merge pull request #95456 from andyzhangx/windows-flush
fix azure disk data loss issue on Windows when unmount disk
2020-10-09 22:22:46 -07:00
Kubernetes Prow Robot
c72b30b3b7 Merge pull request #93534 from everpeace/score-in-preemption-handle
scheduler: expose Run[Pre]ScorePlugins functions to PreemptionHandle(through PluginRunner)
2020-10-09 20:34:47 -07:00
SataQiu
a0efc33158 wrap errors from NodeLabel, NodePorts, NodePreferAvoidPods and NodeResourcesBalancedAllocation plugins 2020-10-10 11:00:40 +08:00
Kubernetes Prow Robot
3e36ac3093 Merge pull request #95378 from danwinship/fix-dual-stack-canaries
fix kubelet iptables monitoring on dual-stack
2020-10-09 19:38:59 -07:00
Kubernetes Prow Robot
78ece5411a Merge pull request #95048 from alculquicondor/disable-default-spread
Add DefaultingType to PodTopologySpreadArgs
2020-10-09 19:38:47 -07:00
andyzhangx
9e35244c6c fix azure disk data loss issue on Windows 2020-10-10 02:20:49 +00:00
Aldo Culquicondor
c8a0b9e8e7 Add defaultingType to PodTopologySpreadArgs
Change-Id: Ibf6a4fdb39a31fe9deed68de7e7cb24a9bf9d06a
2020-10-09 17:12:12 -04:00
Dan Winship
55e6eebae2 kubelet: fix iptables setup under dual-stack
Fix stupid golang loop variable closure thing.

Also, if we fail to initially set up the rules for one family, don't
try to set up a canary. eg, on the CI hosts, the kernel ip6tables
modules are not loaded, so any attempt to call ip6tables will fail.
Just log those errors once at startup rather than once a minute.
2020-10-09 11:59:32 -04:00
Kubernetes Prow Robot
05a46dbb60 Merge pull request #95239 from danwinship/dual-stack-node-ips-basic
DualStack: basic dual-stack node IP handling
2020-10-08 14:21:05 -07:00
cici37
ae8ce0d190 Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider. 2020-10-08 13:23:16 -07:00
Anderson Queiroz
8c724d7933 cleanup: fix golint errors in /pkg/kubelet/stats 2020-10-08 21:59:42 +02:00
Kubernetes Prow Robot
c9c24b46c3 Merge pull request #95363 from wojtek-t/fix_npl_reporting_in_kube_proxy
Fix reporting network_programming_latency metrics in kube-proxy
2020-10-07 14:34:16 -07:00
Dan Winship
971477d9b5 kubelet: Set dual-stack hostNetwork pod IPs on dual-stack nodes
Add nodeutil.GetNodeHostIPs to return dual-stack node IPs (in
dual-stack clusters), and make kubelet use it.
2020-10-07 17:26:04 -04:00
Dan Winship
0b43753be7 utilnode: fix incorrect documentation about node name vs hostname
(The behavior is unchanged; the function always took a node name
rather than a hostname. Now it just documents that correctly.)
2020-10-07 17:25:56 -04:00
Dan Winship
75242fce7a kubelet: allow specifying dual-stack node IPs on bare metal
Discussion is ongoing about how to best handle dual-stack with clouds
and autodetected IPs, but there is at least agreement that people on
bare metal ought to be able to specify two explicit IPs on dual-stack
hosts, so allow that.
2020-10-07 17:25:54 -04:00
Dan Winship
2680095414 kubelet: Remove unnecessary sorting in NodeAddress tests
Several of the tests in TestNodeAddress() were no-ops because the test
code was only testing that NodeAddresses() returned all of the
expected addresses, but not testing that it was returning them in the
correct order.

The order that NodeAddresses() returns addresses in is very important,
so fix the tests to actually test it.

One existing test ("NodeIP is external") had its expectedAddresses in
the wrong order, but it seems clear from the name of the test that
this isn't actually what it expected.

Also, previously testKubeletHostname was "127.0.0.1" which ended up
interacting weirdly with the IPv4-vs-IPv6 sorting code in a way that
made some of the test results confusing if you didn't realize that
testKubeletHostname was an IPv4 address. Fix that by making it an
actual hostname instead, which then preserves the expected sorting.
2020-10-07 17:25:25 -04:00
wojtekt
6e4aa0f27d Fix reporting network_programming_latency metrics in kube-proxy 2020-10-07 20:57:14 +02:00
Kubernetes Prow Robot
2ad48d384d Merge pull request #95364 from deads2k/pending-pods
set lastterminationstate for container status even when CRI fails to return termination (or any) data
2020-10-07 09:28:16 -07:00
David Eads
e0516a3e90 set lastterminationstate for container status even when CRI fails to return termination (or any) data 2020-10-07 11:26:53 -04:00
Kubernetes Prow Robot
13be1cb571 Merge pull request #94474 from danwinship/dual-stack-kubelet-iptables
DualStack: kubelet: do dual-stack iptables rules
2020-10-07 01:20:42 -07:00
Kubernetes Prow Robot
558429967a Merge pull request #95336 from howardjohn/endpointslicecache/doc
Fix documentation on EndpointSliceCache map
2020-10-06 14:14:51 -07:00
John Howard
b898266cb1 Fix documentation on EndpointSliceCache map
This is not storing by slice name, it is IP. This can be seen from the
code and tests.
2020-10-06 10:24:09 -07:00
Kubernetes Prow Robot
f30d6a463d Merge pull request #93779 from yodarshafrir1/fix_restart_job_failure_with_restart_policy_never
Fix job backoff limit for restart policy Never
2020-10-06 10:02:44 -07:00
Kubernetes Prow Robot
4db8c590ac Merge pull request #95184 from RenaudWasTaken/disable-accelerator-beta
Graduates the DisableAcceleratorUsageMetrics feature to beta
2020-10-06 08:44:21 -07:00
Kubernetes Prow Robot
5e5ff88a5f Merge pull request #95245 from sfowl/ceph-rbd-log-cleanup
Mask Ceph RBD adminSecrets in logs when logLevel >= 4
2020-10-06 02:24:19 -07:00
Kubernetes Prow Robot
1a66eb7b8a Merge pull request #89482 from renatoviana12/master
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
Kubernetes Prow Robot
281412b5e9 Merge pull request #95191 from alculquicondor/policy-default-spread
Move predicates and priorities configuration creation to Policy mapping
2020-10-05 17:04:33 -07:00
Kubernetes Prow Robot
2f15024e7d Merge pull request #95157 from adtac/schedplugins
scheduler framework: document how to make plugins configurable
2020-10-05 17:04:20 -07:00
Kubernetes Prow Robot
0969e666dc Merge pull request #93066 from AnishShah/network-plugin-metrics
kubelet: add operations count and error count metrics to network plugin manager
2020-10-05 15:16:19 -07:00
Adhityaa Chandrasekar
3e7b2c0707 scheduler framework: document how to make plugins configurable
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-10-05 21:29:11 +00:00
Renaud Gaubert
c5fc646363 Disable the Accelerator metrics by default 2020-10-05 12:47:26 -07:00
Anish Shah
1b9885d897 add unit tests for network plugin manager metrics 2020-10-05 12:07:32 -07:00
Kubernetes Prow Robot
9f0a783fb8 Merge pull request #95254 from cmluciano/cml/proxyconfigdefaults
proxy: Add tests for kube-proxy config defaulting
2020-10-05 07:31:06 -07:00
Kubernetes Prow Robot
6e9475bcd3 Merge pull request #94910 from yashvardhan-kukreja/issue-94602/fix-comment-declaration-event
Cleaned up: the potentially misleading comment under Event struct
2020-10-05 06:23:06 -07:00
Yashvardhan Kukreja
07d0b4a8bc Cleaned up and fixed: the potentially misleading comments around Event struct 2020-10-05 15:28:59 +05:30
Kubernetes Prow Robot
c87dd9c512 Merge pull request #95275 from ProZsolt/golint-pkg-registry-core-replicationcontroller
Fix golint failures in pkg/registry/core/replicationcontroller
2020-10-04 03:35:05 -07:00