Kubernetes Prow Robot
c34a2c44a8
Merge pull request #95866 from JornShen/add_metrics_report_time_permit_change
...
Report a metric for time taken to perform recursive permission change
2020-10-26 10:25:37 -07:00
Kubernetes Prow Robot
bdde4fb8f5
Merge pull request #93040 from cmluciano/cml/ipvsschedmodules
...
ipvs: ensure selected scheduler kernel modules are loaded
2020-10-26 10:25:17 -07:00
Andrew Sy Kim
a0aebf96ec
apiserver: support egress selection name 'controlplane' and deprecate 'master'
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-26 10:24:16 -04:00
jornshen
4ed7709774
Report a metric for time taken to perform recursive permission change
2020-10-26 21:04:30 +08:00
Christopher M. Luciano
51ed242194
ipvs: check for existence of scheduler module and fail if not found
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-10-23 17:17:44 -04:00
Kubernetes Prow Robot
f20a36f784
Merge pull request #95428 from roycaihw/cleanup/generalize-lease-controller
...
Generalize node lease controller
2020-10-23 13:43:02 -07:00
Ben Hu
4e62298c1b
Fix static checks for pkg/controller/podautoscaler
2020-10-23 18:53:07 +00:00
Kubernetes Prow Robot
1fcd02cc2e
Merge pull request #95812 from Huang-Wei/fix-pts-node-miss-label
...
Fix a bug that Pods with topologySpreadConstraints get scheduled to nodes without required labels
2020-10-23 09:55:57 -07:00
Aldo Culquicondor
e721576d55
Optimize NormalizeScore for PodTopologySpread
...
Change-Id: I928174a220c8c0f4b69180fdfb2f075278a482be
2020-10-23 11:15:15 -04:00
Aldo Culquicondor
ab7a38220f
Add 5k nodes benchmark for pod topology spreading
...
Change-Id: I1a5ed73ba03570671c0a92277678c0f3f786385f
2020-10-23 11:15:15 -04:00
Kubernetes Prow Robot
ec453ffb1a
Merge pull request #90691 from arjunrn/container-resource-hpa
...
Add container based scaling to HPA
2020-10-23 05:51:51 -07:00
Kubernetes Prow Robot
106ee38796
Merge pull request #95647 from JoshuaAndrew/master
...
Horizontal Pod Autoscaler doesn`t automatically scale the number of pods correctly
2020-10-23 04:05:59 -07:00
draveness
60d3f99b1f
style: update comments in topology manager
2020-10-23 18:20:50 +08:00
Kubernetes Prow Robot
c6f7fbcfbc
Merge pull request #93220 from wawa0210/fix-93165
...
ingore apparmor on windows
2020-10-22 23:17:59 -07:00
Kubernetes Prow Robot
1257bc5acb
Merge pull request #91474 from cici37/pkgController
...
Cleanup CCM dependencies
2020-10-22 23:17:45 -07:00
Kubernetes Prow Robot
afa941b8e1
Merge pull request #95789 from qingsenLi/k8s201023
...
remove unused const failedExpiration
2020-10-22 22:17:35 -07:00
Kubernetes Prow Robot
0f4f699639
Merge pull request #95772 from alculquicondor/fix-spread-bench
...
Fix labels for spreading benchmark
2020-10-22 22:17:26 -07:00
Kubernetes Prow Robot
153d33091b
Merge pull request #95632 from mrkm4ntr/remove-redundant-variable
...
Remove redundant variable
2020-10-22 22:16:48 -07:00
Kubernetes Prow Robot
d332c020e0
Merge pull request #95576 from knabben/scheduler-plugin-config
...
Replacing factory tests with scheduler.New and options
2020-10-22 22:16:39 -07:00
Kubernetes Prow Robot
766ae2b81b
Merge pull request #95252 from tssurya/shrink-input-chain
...
Kube-proxy: Perf-fix: Shrink INPUT chain
2020-10-22 22:16:02 -07:00
Kubernetes Prow Robot
a4209939f8
Merge pull request #95602 from chenyw1990/master
...
write checkpoint only when allocated devices updated.
2020-10-22 20:35:36 -07:00
Jing Xu
e233a7220b
Add jingxu97 to volume/util owners
...
Add myself to volume/util/operationexecutor owner
Change-Id: I85424e7ede4f6c136bed65c619aa48e856e8770f
2020-10-22 20:31:31 -07:00
Ali
bfdeda58b7
Delete framework/v1alpha1 folder and change remaining import paths
2020-10-23 13:16:13 +11:00
Wei Huang
f7a93ea915
Fix a bug that Pods with topologySpreadConstraints get scheduled to nodes without required labels
2020-10-22 15:56:16 -07:00
Haowei Cai
4af91987a9
generated
2020-10-22 12:00:51 -07:00
Haowei Cai
c9bbd8532f
generalize lease controller
2020-10-22 11:58:59 -07:00
Haowei Cai
c70e3649e1
move node lease controller to component-helpers
2020-10-22 11:58:58 -07:00
Amim Knabben
8ed6ca58bc
Replacing factory tests with scheduler.New and options
2020-10-22 11:43:28 -04:00
chenyw1990
009d46f834
write checkpoint only when allocated devices updated.
2020-10-22 22:45:04 +08:00
qingsenLi
30bfa7d078
remove unused const failedExpiration
2020-10-22 18:57:36 +08:00
weiwei
b19a115f42
If we set SelectPolicy MinPolicySelect on scaleUp behavior or scaleDown behavior,Horizontal Pod Autoscaler doesn`t automatically scale the number of pods correctly
...
Signed-off-by: weiwei <weiwei@tenxcloud.com>
2020-10-22 18:00:49 +08:00
qingsenLi
9ad39c9eda
format incorrectAddresses in klog
2020-10-22 17:26:29 +08:00
Pingan2017
a1063c924b
fix loop bug for verify attached volume
2020-10-22 13:58:40 +08:00
Masashi Honma
c6d2808ad6
ipset: Address a TODO, add test for TestEntry() with IPv6 address
...
This TODO was introduced by
commit 45ad69765e
"wrapper ipset util".
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-22 08:20:24 +09:00
Aldo Culquicondor
15d2ab1615
Fix labels for spreading benchmark
...
Nodes where being created with beta zone label, whereas the service was using stable.
Change-Id: I08ba1b6c083217759524236bde3888e527b4a44f
2020-10-21 15:51:44 -04:00
Arjun Naik
0fec7b0f7e
Added functionality and API for pod autoscaling based on container resources
...
Signed-off-by: Arjun Naik <anaik@redhat.com>
2020-10-21 21:10:05 +02:00
Kubernetes Prow Robot
7509c4eb47
Merge pull request #94381 from mgugino-upstream-stage/eviction-disrupted-pods
...
Allow deletion of unhealthy pods if enough healthy
2020-10-21 02:24:20 -07:00
Kubernetes Prow Robot
a8a779133a
Merge pull request #95502 from suramrit/lintCorrection
...
Fix golint errors by adding definition comments for pkg/apis/apiserverinternal
2020-10-20 12:56:33 -07:00
Kubernetes Prow Robot
163b23f163
Merge pull request #95529 from cici37/cleanup
...
Add back openapi gen for generic types and clean up doc.go
2020-10-20 11:22:34 -07:00
Kubernetes Prow Robot
0900340b98
Merge pull request #95505 from wawa0210/fix-94490
...
Action Required: Windows hyper-v container featuregate is deprecated in 1.20 and will be removed in 1.21
2020-10-20 11:22:20 -07:00
Michael Gugino
717be0cd44
Allow deletion of unhealthy pods if enough healthy
...
Currently, if you have a PDB with 0 disruptions
available and you attempt to evict a non-healthy
pod, the eviction request will always fail. This
is because the eviction API does not currently
take in to account that the pod you are removing
is the unhealthy one.
This commit accounts for trying to evict an
unhealthy pod as long as there are enough healthy
pods to satisfy the PDB's requirements. To
protect against race conditions, a ResourceVersion
constraint is enforced. This will ensure that
the target pod does not go healthy and allow
any race condition to occur which might disrupt
too many pods at once.
This commit also eliminates superfluous class to
DeepCopy for the deleteOptions struct.
2020-10-20 12:59:23 -04:00
Kubernetes Prow Robot
3fe372c3da
Merge pull request #95631 from alculquicondor/enable-default-spreading
...
Graduate DefaultPodTopologySpread to beta
2020-10-20 07:58:09 -07:00
wawa0210
e7f319870a
Warn that hyper-v featuregate will be deprecated in 1.20 and will be removed in 1.21
2020-10-20 08:37:55 +08:00
Kubernetes Prow Robot
3175b59ac2
Merge pull request #94489 from ialidzhikov/fix/volume-expand
...
Do not assume storageclass is still in-tree after csi migration
2020-10-19 15:08:07 -07:00
cici37
95acec5a3b
Move client_builder to k8s.io/controller-manager
2020-10-19 14:48:22 -07:00
Aldo Culquicondor
87c8349bdc
Graduate DefaultPodTopologySpread to beta
...
And set to enabled by default
Change-Id: Ie4cc4758c52492924cb0663450f2747908cb5882
2020-10-19 16:58:09 -04:00
Kubernetes Prow Robot
c71519e53d
Merge pull request #95267 from twosigma/betahostnamefqdn
...
SetHostnameAsFQDN will be beta in v1.20, enable feature gate by default.
2020-10-19 13:26:14 -07:00
Surya Seetharaman
477b14b3c4
Kube-proxy: Perf-fix: Shrink INPUT chain
...
In #56164 , we had split the reject rules for non-ep existing services
into KUBE-EXTERNAL-SERVICES chain in order to avoid calling KUBE-SERVICES
from INPUT. However in #74394 KUBE-SERVICES was re-added into INPUT.
As noted in #56164 , kernel is sensitive to the size of INPUT chain. This
patch refrains from calling the KUBE-SERVICES chain from INPUT and FORWARD,
instead adds the lb reject rule to the KUBE-EXTERNAL-SERVICES chain which will be
called from INPUT and FORWARD.
2020-10-19 11:26:04 +02:00
jornshen
b6b462beba
Fix flaky unit test Test_Run_Positive_VolumeMountControllerAttachEnabledRace data race
...
ref: https://github.com/kubernetes/kubernetes/issues/94568
2020-10-19 16:29:15 +08:00
Antonio Ojea
e3c1777f7d
conntrack log delete operations
2020-10-19 10:01:58 +02:00
Antonio Ojea
880baa9f6f
kube-proxy: log stale services operations
2020-10-19 09:35:34 +02:00
Sergey Kanzhelev
6c2556c5c4
The function shouldRecordEvent will panic when the value of input object is nil
2020-10-16 21:13:49 +00:00
cici37
0d2002229f
Add back openapi gen for generic types and clean up doc.go
2020-10-16 10:54:15 -07:00
Kubernetes Prow Robot
5fc80692c5
Merge pull request #94591 from Lion-Wei/lb-fw
...
Fix failing test "Services should only allow access from service loadbalancer source ranges"
2020-10-16 09:01:26 -07:00
Lion-Wei
1f7ea16560
kube-proxy ensure KUBE-MARK-DROP exist but not modify their rules
2020-10-16 14:52:07 +08:00
Shintaro Murakami
acc970399d
Remove redundant variable
...
The variable firstUnhealthyOrdinal is redundant because replicas and condemned are already sorted in ascending order.
2020-10-16 09:53:34 +09:00
Kubernetes Prow Robot
78828078ca
Merge pull request #95566 from danwinship/sctp-ga
...
Move SCTP to GA
2020-10-15 15:35:25 -07:00
Kubernetes Prow Robot
fd5d61060a
Merge pull request #95561 from deads2k/container-status
...
kubelet container status calculation doesn't handle suddenly missing data properly
2020-10-15 13:49:26 -07:00
Kubernetes Prow Robot
fbe806ef9e
Merge pull request #95448 from alculquicondor/policy-spread
...
Map SelectorSpreadPriority to PodTopologySpread plugin
2020-10-15 12:55:25 -07:00
David Eads
ff7d1444f0
kubelet container status calculation doesn't handle suddenly missing data properly
2020-10-15 12:26:16 -04:00
Kubernetes Prow Robot
d970c18ab8
Merge pull request #95451 from mkumatag/fix_fc
...
Fix fcpath
2020-10-15 07:10:39 -07:00
Dan Winship
3a110546ed
Move SCTP to GA
2020-10-15 08:56:33 -04:00
Kubernetes Prow Robot
56833a63c9
Merge pull request #95560 from josephburnett/ignoredeleted
...
Ignore deleted pods.
2020-10-15 02:54:24 -07:00
Kubernetes Prow Robot
978233775e
Merge pull request #94992 from lala123912/gxf
...
fix pkg/volume/util static checks
2020-10-15 00:44:24 -07:00
Kenichi Omichi
c0795782e0
Move dirExists() to kubelet_test
...
dirExists() is called from kubelet_test only.
This moves the function to kubelet_test for cleanup.
2020-10-14 17:50:00 +00:00
Aldo Culquicondor
95dd99905f
Map SelectorSpreadPriority to PodTopologySpread plugin
...
when DefaultPodTopologySpread feature is enabled
If SelectorSpreadPriority is in use, PodTopologySpread gets inevitably enabled.
When only EvenPodsSpreadPriority is in use, PodTopologySpread is configured without system defaults.
Change-Id: I2389a585cd8ad0bd35b0d2acae1665cd46908b3e
2020-10-14 13:45:26 -04:00
Manjunath A Kumatagi
4a75c7ef1e
Fix fcpath
2020-10-14 21:15:22 +05:30
Kubernetes Prow Robot
b2de4a6159
Merge pull request #95539 from soulxu/issue_95442
...
Reorder default Filter plugins to have UnschedulableAndUnresolvable f…
2020-10-14 08:09:54 -07:00
Joseph Burnett
1ccaaa768d
Ignore deleted pods.
...
When a pod is deleted, it is given a deletion timestamp. However the
pod might still run for some time during graceful shutdown. During
this time it might still produce CPU utilization metrics and be in a
Running phase.
Currently the HPA replica calculator attempts to ignore deleted pods
by skipping over them. However by not adding them to the ignoredPods
set, their metrics are not removed from the average utilization
calculation. This allows pods in the process of shutting down to drag
down the recommmended number of replicas by producing near 0%
utilization metrics.
In fact the ignoredPods set is misnomer. Those pods are not fully
ignored. When the replica calculator recommends to scale up, 0%
utilization metrics are filled in for those pods to limit the scale
up. This prevents overscaling when pods take some time to startup. In
fact, there should be 4 sets considered (readyPods, unreadyPods,
missingPods, ignoredPods) not just 3.
This change renames ignoredPods as unreadyPods and leaves the scaleup
limiting semantics. Another set (actually) ignoredPods is added to
which delete pods are added instead of being skipped during
grouping. Both ignoredPods and unreadyPods have their metrics removed
from consideration. But only unreadyPods have 0% utilization metrics
filled in upon scaleup.
2020-10-14 16:45:06 +02:00
He Jie Xu
6e55b88725
Reorder default Filter plugins to have UnschedulableAndUnresolvable first
2020-10-14 09:40:51 +00:00
Kubernetes Prow Robot
8647eece9c
Merge pull request #95113 from Git-Jiro/lint_ttlcontroller
...
Lint ttl_controller
2020-10-13 22:51:53 -07:00
Kenichi Omichi
11b1307b25
Add unit tests for dockershim/exec.go
...
When trying to fix a dockershim issue, there were not any unit tests
for dockershim/exec.go and it was difficult to add the corresponding
unit test for the bug.
This adds the unit tests for avoiding such situation in the future.
2020-10-14 02:04:43 +00:00
Kubernetes Prow Robot
6268e6f990
Merge pull request #95069 from farah/split-scheduler
...
Move scheduler interface to pkg/scheduler/framework
2020-10-13 14:23:54 -07:00
Kubernetes Prow Robot
ea896a2e64
Merge pull request #95224 from Git-Jiro/lint_endpoint
...
Fix lint errors in pkg/contoller/endpoint
2020-10-13 12:06:27 -07:00
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
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
Kubernetes Prow Robot
1ebf64d343
Merge pull request #94896 from wawa0210/fix-92383
...
Support kubectl alpha debug default image imagePullPolicy set by the image tag
2020-10-03 13:07:05 -07:00
Zsolt Prontvai
c244e175e2
Fix golint failures in pkg/registry/core/replicationcontroller
2020-10-03 12:56:14 +01:00
Dan Winship
9a7afa69ef
kubelet: do dual-stack iptables rules
...
When the dual-stack feature gate is enabled, set up dual-stack
iptables rules. (When it is not enabled, preserve the traditional
behavior of setting up IPv4 rules only, unless the user explicitly
passed an IPv6 --node-ip.)
2020-10-03 07:46:02 -04:00
Kubernetes Prow Robot
60dd999b48
Merge pull request #94443 from aojea/slicesLabels
...
endpointslice controller should mirror parent service labels
2020-10-02 18:23:04 -07:00
Javier Diaz-Montes
fd7c02dd9a
SetHostnameAsFQDN will be beta in v1.20, enable feature gate by default.
2020-10-02 16:51:49 -04:00
Christopher M. Luciano
601c5150ca
proxy: Add tests for kube-proxy config defaulting
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-10-02 12:39:46 -04:00
Sam Fowler
e91ec4fad3
Mask Ceph RBD adminSecrets in logs when logLevel >= 4
2020-10-02 10:48:11 +10:00
Aldo Culquicondor
a0b72dbef9
Move predicates and priorities configuration creation to Policy mapping
...
For separation of concerns. Also make the producers receive the
existing configuration so they can take decisions based on them.
Change-Id: Id5db5588aabb90e7b8f087bd3f3c967e86dc4acc
2020-10-01 15:04:24 -04:00
Martin Schimandl
104ad794e5
Fix lint errors in pkg/contoller/endpoint
...
Also mark reason for lint errors in:
pkg/controller/endpoint/config/v1alpha1,
pkg/controller/endpointslice/config/v1alpha1
pkg/controller/endpointslicemirroring/config/v1alpha1
2020-10-01 09:11:00 +02:00
Renato Viana
316eff8dee
Fixed percentage behavior in instr
...
fixed syntax, wrote a test
fixed a test
.
1
Update staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
added test
.
fix
fix test
fixed a test
gofmt
lint
fix
function name
validation fix
.
godocs added
.
2020-09-30 21:23:05 +01:00
Kubernetes Prow Robot
5b33feb943
Merge pull request #95146 from draveness/patch-5
...
fix: use ">" instead of ">=" in resource allocation
2020-09-30 12:55:08 -07:00
Dan Winship
e91a8f9864
kubelet: remove some redundant iptables option checking
...
These were already fatal errors in NewMainKubelet()
2020-09-30 09:37:53 -04:00
Kubernetes Prow Robot
def8fe3b4e
Merge pull request #94685 from verb/ec-admission
...
Convert to EphemeralContainers for validation in EphemeralContainersREST
2020-09-30 00:29:25 -07:00
Draven
79f05c65a0
fix: use ">" instead of ">=" in resource allocation
2020-09-30 11:06:17 +08:00
Kubernetes Prow Robot
8deb70c2ad
Merge pull request #95091 from arghya88/wrap-errors-plugins-selectorspread/podtopologyspread
...
wrap errors in selectorspread and podtoplogyspread plugin
2020-09-29 13:43:25 -07:00
Kubernetes Prow Robot
3a987d5b85
Merge pull request #95130 from alculquicondor/fix-snapshot
...
Fix UpdateSnapshot when Node is partially removed
2020-09-28 21:31:38 -07:00
Aldo Culquicondor
d6f09f7dfb
Fix UpdateSnapshot when Node is partially removed
...
Change-Id: I5b459e9ea67020183c87d1ce0a2380efb8cc3e05
2020-09-28 17:50:41 -04:00
Aldo Culquicondor
290bdf3f08
Fix test name TestDump
...
Change-Id: If885303b86060aed7a3e2aa20450cadd1f30752c
2020-09-28 15:30:05 -04:00
Arghya Sadhu
8154dc95b5
wrap errors in selectorspread and podtoplogyspread plugin
2020-09-28 21:28:54 +05:30
Martin Schimandl
600d621ce6
Lint ttl_controller
2020-09-28 14:22:37 +02:00
Arghya Sadhu
ad415b9f54
wrap errors in service affinity plugin
2020-09-27 11:28:31 +05:30
Arghya Sadhu
ff3c751afc
wrap errors in taint-toleration plugin
2020-09-26 21:16:41 +05:30
Kubernetes Prow Robot
0f39af90ed
Merge pull request #94364 from wojtek-t/efficient_watch_resumption
...
Efficient watch resumption
2020-09-25 15:42:48 -07:00
SataQiu
8c51c9955c
wrap errors from DefaultPreemption, ImageLocality and NodeAffinity plugins
2020-09-25 10:38:27 +08:00
Kubernetes Prow Robot
1f0d71cd0d
Merge pull request #95044 from spiffxp/add-controlplane-type-alias
...
Rename controlplane.Master struct to Instance
2020-09-24 16:53:20 -07:00
Kubernetes Prow Robot
44cd4fcedc
Merge pull request #95001 from arghya88/deprecate-scheduler-metrics
...
deprecate scheduler metrics
2020-09-24 13:57:48 -07:00
Kubernetes Prow Robot
e92f8c8457
Merge pull request #94911 from wawa0210/fix-94898
...
Enhance log information of verifyRunAsNonRoot, add pod, container information
2020-09-24 13:57:25 -07:00
Aaron Crickenberger
2853143ce7
address instance_test nits
2020-09-24 16:30:08 -04:00
Daniel Smith
13b6a929bc
It's an 'Instance' of apiserver
2020-09-24 16:14:29 -04:00
Kubernetes Prow Robot
769f047675
Merge pull request #95024 from chendave/exported
...
Use the exported struct member directly
2020-09-24 09:24:34 -07:00
Kubernetes Prow Robot
48cb3b2b4f
Merge pull request #94850 from SataQiu/structed-log-20200917
...
Using structured logging in scheduler framework runtime
2020-09-24 09:24:06 -07:00
Kubernetes Prow Robot
2d9a0b64d1
Merge pull request #95013 from soltysh/fix_context
...
Use pager's context instead of TODO
2020-09-24 08:16:20 -07:00
SataQiu
47c58c3785
using structured logging in scheduler framework runtime
2020-09-24 21:54:31 +08:00
Dave Chen
a9b71c198b
Use the exported struct member directly
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-09-24 16:15:11 +08:00
Kubernetes Prow Robot
63d4a03270
Merge pull request #94947 from phillc/master
...
Replace 'the the ' with 'the '
2020-09-23 20:28:04 -07:00
Kubernetes Prow Robot
c0d0baf08f
Merge pull request #94974 from andrewsykim/secret-keyring-tests
...
kubelet: add unit tests for imagePullSecrets keyring
2020-09-23 13:32:19 -07:00
Kubernetes Prow Robot
7614e33186
Merge pull request #94891 from iotty/fix.typo
...
[pkg/api/podsecuritypolicy]: fixup typo
2020-09-23 11:19:05 -07:00
Maciej Szulik
d91a1f7e92
Use pager's context instead of TODO
2020-09-23 20:18:03 +02:00
Andrew Sy Kim
44e6998f1b
kubelet: add unit tests for imagePullSecrets keyring
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-09-23 14:11:10 -04:00
wawa0210
6709d4f938
Keep the imagePullPolicy of kubectl alpha debug consistent with the default
2020-09-24 00:22:53 +08:00
Arghya Sadhu
078b355da3
deprecate scheduler metrics BindingLatency and SchedulingAlgorithmPreemptionEvaluationDuration
2020-09-23 17:15:13 +05:30
lala123912
7594702b22
modify static check
...
fix format
2020-09-23 19:27:24 +08:00
Kubernetes Prow Robot
d19aec8bf1
Merge pull request #92985 from serathius/summary
...
Move Kubelet Summary API to staging directory
2020-09-22 22:30:08 -07:00
Kubernetes Prow Robot
f404443d9b
Merge pull request #94984 from deads2k/fix-endpoint-check
...
check readyz before adding endpoint for kube-apiserver
2020-09-22 21:26:08 -07:00
Kubernetes Prow Robot
796f9d89ba
Merge pull request #94781 from ejweber/fc-attacher-empty-devname
...
Don't attempt to detach an FC device if we don't know its name
2020-09-22 18:34:22 -07:00
Kubernetes Prow Robot
18782e9996
Merge pull request #94884 from arghya88/remove-deprecated-scheduler-metrics
...
removing deprecated scheduler metrics
2020-09-22 14:42:32 -07:00
Kubernetes Prow Robot
9aae0ac354
Merge pull request #94864 from alculquicondor/empty-default-constraints
...
Tests for empty constraints array when DefaultPodTopologySpread is enabled
2020-09-22 14:42:09 -07:00
David Eads
3e93197b84
check readyz before adding endpoint for kube-apiserver
2020-09-22 17:23:45 -04:00
Kubernetes Prow Robot
0b8c2bf1a1
Merge pull request #94735 from mikedanese/flake
...
test flake: fix data race in csi_test.go
2020-09-22 12:24:01 -07:00
Kubernetes Prow Robot
f728fbaa62
Merge pull request #94501 from ialidzhikov/nit/labels-staticcheck
...
Fix staging/src/k8s.io/apimachinery/pkg/labels golint findings
2020-09-22 12:23:51 -07:00
Kubernetes Prow Robot
e6444e01ba
Merge pull request #94494 from SergeyKanzhelev/hostportConflicts
...
Allow to map the same container port to different host ports
2020-09-22 12:23:40 -07:00
Kubernetes Prow Robot
a576196076
Merge pull request #94413 from chendave/flake
...
Enhancement on the testcase to cover more possibilities
2020-09-22 12:23:20 -07:00
Kubernetes Prow Robot
9ecab1b4b2
Merge pull request #93766 from lsytj0413/fix-comment-typo
...
refactor(*): update pvc quota name typo in comment
2020-09-22 12:22:35 -07:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
Arghya Sadhu
c62f0dd165
removing deprecated scheduler metrics
2020-09-22 21:04:15 +05:30
Kubernetes Prow Robot
402b94f313
Merge pull request #91469 from kinvolk/rata/fix-kubelet-log-msg
...
Fix kubelet log message when starting a container
2020-09-21 22:28:46 -07:00
Kubernetes Prow Robot
82d924cea5
Merge pull request #94840 from dashpole/update_owners
...
Move dashpole to emeritus in kubelet
2020-09-21 21:23:02 -07:00
Kubernetes Prow Robot
6ac2930ef0
Merge pull request #94574 from auxten/pkg-kubelet-staticchecks
...
Fix pkg/kubelet static checks
2020-09-21 21:22:47 -07:00
Kubernetes Prow Robot
48329e7d91
Merge pull request #71269 from DeliangFan/adjust_oom_score_adj
...
Set the oom_score_adj of guaranteed pod to -997
2020-09-21 19:40:47 -07:00
Kubernetes Prow Robot
dd466bccde
Merge pull request #94527 from brahmaroutu/mount-utils-2
...
Change code to use staging/k8s.io/mount-utils
2020-09-21 17:46:47 -07:00
wawa0210
be1c85d915
Enhance the prompt information of verifyRunAsNonRoot, add pod, container information
2020-09-22 08:10:54 +08:00
phillc
adbc7c2172
find . -type f \( -name "*.go" -or -name "*.md" \) -print0 | xargs -0 gsed -i 's/the the /the /g'
2020-09-21 16:37:12 -04:00
Antonio Ojea
b7d8045b81
endpoinslices must mirror services labels
...
Implement, in the endpoint slice controller, the same logic
used for labels in the legacy endpoints controller.
The labels in the endpoint and in the parent must be equivalent.
Headless services add the well-known IsHeadlessService label.
Slices must have two well known labels: LabelServiceName and
LabelManagedBy.
2020-09-21 19:50:15 +02:00
ialidzhikov
3bc560225e
Do not assume storageclass is still in-tree after csi migration
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-09-19 17:33:19 +03:00
Kubernetes Prow Robot
97e4059092
Merge pull request #94730 from robscott/endpointslice-service-fix
...
Ensuring EndpointSlices are recreated after Service recreation
2020-09-18 18:38:27 -07:00
Kubernetes Prow Robot
b86e725694
Merge pull request #91785 from mattcary/filtereddial
...
Specify a DialContext in storage plugin clients
2020-09-18 15:08:27 -07:00
Zhou Peng
9a960fb1f4
[pkg/api/podsecuritypolicy]: fixup typo
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
2020-09-18 20:52:52 +08:00
knight42
808867ba2f
test(kubelet): deflake TestRotateShutsDownConnections
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-18 16:52:58 +08:00
Kubernetes Prow Robot
8d30a5f136
Merge pull request #93201 from ellistarn/kubemark
...
Filters on kubemark nodegroups when selecting node template to enable hollow node clusters that contain real nodes.
2020-09-17 22:24:45 -07:00
Matthew Cary
299a296c7a
update-bazel
...
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
2020-09-18 00:44:39 +00:00
Matthew Cary
f2e23afcf1
Adds filtering of hosts to DialContexts.
...
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.
- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Matthew Cary
74dbf274d9
update storageos vendor for FilteredDial change
2020-09-18 00:07:32 +00:00
Aldo Culquicondor
e856706984
Tests for empty constraints array when DefaultPodTopologySpread is enabled
...
An empty array in the configuration signifies that the user operator intends to disable the k8s provided default for TopologyPodSpread.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Ib4696a49f0ba748183aef417b0882d494b89f602
2020-09-17 14:55:53 -04:00
Kubernetes Prow Robot
6c4bae3d9b
Merge pull request #94834 from liggitt/pod-location-ipv6
...
Fix resource location for ipv6 pods
2020-09-17 10:42:45 -07:00
Kubernetes Prow Robot
550b83b293
Merge pull request #92027 from juliantaylor/fix-rbd-expand
...
fix expanding rbd volumes without ceph.conf
2020-09-17 05:24:45 -07:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Kubernetes Prow Robot
09b3f6dbb3
Merge pull request #93214 from trashhalo/prefer-error
...
test: prefer NoError/Error over Nil/NotNil
2020-09-16 15:10:45 -07:00