Commit Graph

36644 Commits

Author SHA1 Message Date
David Eads
ff689ce3de set backup value to ensure connections against kubelets eventually close 2019-10-16 13:39:14 -04:00
Kubernetes Prow Robot
064458de46 Merge pull request #83951 from zouyee/pdbtomeb
add tombstones handle for pdb
2019-10-16 09:36:36 -07:00
Kubernetes Prow Robot
99ad2f4303 Merge pull request #83921 from ahg-g/ahg-nodelist
Move scheduler cache ListNodes interface to snapshot
2019-10-16 09:35:09 -07:00
Kubernetes Prow Robot
78abdf5375 Merge pull request #83902 from gongguan/remove_duplicate_code
remove duplicate code
2019-10-16 09:34:22 -07:00
Kubernetes Prow Robot
d720a2269a Merge pull request #83802 from seans3/rewrite-printer-tests
Rewrite printer tests
2019-10-16 09:33:42 -07:00
Kubernetes Prow Robot
f64c631cd7 Merge pull request #83867 from yutedz/snapshot-restore-err
Check error return from snapshot Restore
2019-10-15 23:06:59 -07:00
Kubernetes Prow Robot
112bdfb7c0 Merge pull request #83862 from mrbobbytables/update-controller-network-owners
Prune inactive owners from pkg/controller/* network related OWNERS files
2019-10-15 23:06:49 -07:00
Kubernetes Prow Robot
ed6b07248b Merge pull request #83861 from mrbobbytables/update-kubelet-network-owners
Prune inactive owners from pkg/kubelet/* network related OWNERS files.
2019-10-15 23:06:40 -07:00
Kubernetes Prow Robot
63cf2e260b Merge pull request #83819 from mrbobbytables/emeritus-jbeda
Move jbeda to emeritus status.
2019-10-15 23:06:20 -07:00
Kubernetes Prow Robot
bb6166419a Merge pull request #83644 from danwinship/userspace-proxy-logging
Don't log about deleting non-existent affinity entries in userspace OnEndpointsAdd
2019-10-15 23:05:38 -07:00
Kubernetes Prow Robot
1552ba6b00 Merge pull request #83569 from liu-cong/framework-metrics
Add metrics for scheduler framework.
2019-10-15 23:05:28 -07:00
Kubernetes Prow Robot
a7b3114c88 Merge pull request #83553 from rikatz/issue77493-part1
Improve IPVS Module loader logic
2019-10-15 23:05:13 -07:00
Kubernetes Prow Robot
af6f302e46 Merge pull request #83498 from danwinship/proxy-health
Fix kube-proxy healthz server for proxier sync loop changes
2019-10-15 23:04:58 -07:00
Kubernetes Prow Robot
30ba9f6548 Merge pull request #83206 from robscott/endpointslice-proxy-endpointchange-perf
Reworking kube-proxy to only compute endpointChanges on apply
2019-10-15 23:04:10 -07:00
Sean Sullivan
30d8a93768 Cleanup printer test package.
Updates internalversion BUILD file dependencies

Removes pkg/printers/internalversion from staticcheck failures
2019-10-15 18:13:00 -07:00
Sean Sullivan
cc56738a9e Removes unnecessary/irrelevant tests
Remove test TestPrintPodTable

Removes test TestPrintPodShowLabels
2019-10-15 17:54:36 -07:00
Sean Sullivan
6ced323a94 Adds missing tests.
Added test TestPrintEvent()

Added test TestPrintNamespace()

Added test TestPrintSecret()

Added test TestPrintServiceAccount()

Added test TestPrintPodCondition()

Added test TestPrintDaemonSetLists

Added test TestPrintJobList

Added test TestPrintPodDisruptionBudgetList

Adds test TestPrintConfigMap

Adds test TestPrintNetworkPolicy

Adds tests TestPrintRoleBinding and TestPrintClusterRoleBinding

Adds test TestPrintCertificateSigningRequest

Adds test TestPrintEndpoint

Adds test TestPrintReplicaSetList

Adds test TestPrintComponentStatus

Adds test TestPrintCronJobList

Adds test TestPrintPodTemplate

Adds test TestPrintPodTemplateList

Adds test TestPrintReplicationController

Adds test TestPrintServiceList

Adds test TestPrintStatefulSet
2019-10-15 17:52:06 -07:00
Sean Sullivan
cd4349ffbd Updates tests to expect metav1.TableRows instead of string, since this is what the "print" functions return.
Updated test TestPrintNodeStatus() to not use NewTableGenerator or NewTablePrinter

Updated test TestPrintNodeRode() to not use NewTableGenerator or NewTablePrinter

Updated test TestPrintNodeOSImage() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeKernelVersion() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeContainerRuntimeVersion() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeName() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeExternalIP() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeInternalIP() to remove NewTableGenerator and NewTablePrinter

Updated ingress printing test to TestPrintIngress()

Updated test TestPrintService() to remove NewTableGenerator and NewTablePrinter

Updated test to TestPrintServiceLoadBalancer, removing NewTableGenerator and NewTablePrinter

Updated test TestPrintNonTerminatedPod() to remove NewTableGenerator

Updates test TestPrintDeployment() removing NewTableGenerator and NewTablePrinter

Updated test TestPrintDaemonSet(), removing NewTableGenerator and NewTablePrinter

Updated test TestPrintJob, removing NewTableGenerator and NewTablePrinter

Updates test TestPrintHPA(), removing NewTableGenerator and NewTablePrinter

Updated test TestPrintPodDisruptionBudget(), removing NewTableGenerator and NewTablePrinter

Updated test TestPrintControllerRevision(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintLease, removing NewTableGenerator and NewTablePrinter

Updates test TestPrintPriorityClass(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintRuntimeClass(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintEndpointSlice(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintReplicaSet(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintPersistentVolume(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintPersistentVolumneClaim(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintCronJob(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintStorageClass(), removing NewTableGenerator and NewTablePrinter
2019-10-15 17:44:28 -07:00
Sean Sullivan
3e7d8bc64e Moves tangential tests into another file. 2019-10-15 17:43:41 -07:00
Kubernetes Prow Robot
0a08798b9a Merge pull request #75588 from smileusd/rbd_info
fix rbd info when return warning information
2019-10-15 16:32:09 -07:00
Rob Scott
8e7de45034 Reworking kube-proxy to only compute endpointChanges on apply.
Computing EndpointChanges is a relatively expensive operation for
kube-proxy when Endpoint Slices are used. This had been computed on
every EndpointSlice update which became quite inefficient at high levels
of scale when multiple EndpointSlice update events would be triggered
before a syncProxyRules call.

Profiling results showed that computing this on each update could
consume ~80% of total kube-proxy CPU utilization at high levels of
scale. This change reduced that to as little as 3% of total kube-proxy
utilization at high levels of scale.

It's worth noting that the difference is minimal when there is a 1:1
relationship between EndpointSlice updates and proxier syncs. This is
primarily beneficial when there are many EndpointSlice updates between
proxier sync loops.
2019-10-15 16:31:12 -07:00
Kubernetes Prow Robot
2b21f087eb Merge pull request #83780 from krzysied/nc_pod_pointers
Using pointers to pod in node lifecycle controller
2019-10-15 09:13:53 -07:00
Kubernetes Prow Robot
245189b8a1 Merge pull request #83747 from JohnStrunk/csi-fsgroup-fix
Improve efficiency of csiMountMgr.GetAttributes
2019-10-15 07:11:52 -07:00
zouyee
65ddf102ef add tombstoones handle for pdb
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-15 22:02:18 +08:00
louisgong
9b7b50c9da remove duplicate function 2019-10-15 09:41:30 +08:00
Cong Liu
da30a00f9a Add metrics for scheduler framework. 2019-10-14 20:26:03 -04:00
Kubernetes Prow Robot
aafbb93fe2 Merge pull request #83859 from mrbobbytables/update-storage-owners
Prune inactive owners from pkg/volume/* OWNERS files.
2019-10-14 15:41:50 -07:00
Abdullah Gharaibeh
e073e56095 move scheduler cache ListNodes interface to snapshot 2019-10-14 17:47:42 -04:00
Kubernetes Prow Robot
29a2b20194 Merge pull request #83860 from mrbobbytables/update-credential-provider-owners
Prune inactive owners from pkg/credentialprovider/* OWNERS files.
2019-10-14 09:32:36 -07:00
Krzysztof Siedlecki
b1dfa83be6 using pod pointers in node lifecycle controller 2019-10-14 12:44:43 +02:00
notpad
4ff7251026 [migration phase 1] VolumeZoneChecker as filter plugin 2019-10-14 07:45:40 +08:00
Kubernetes Prow Robot
5a427e8704 Merge pull request #83659 from wgliang/scheduler-v2/pod-fits-host-ports
[migration phase 1] PodFitsHostPorts as filter plugin
2019-10-13 11:18:35 -07:00
Ted Yu
0779296bf3 Check error return from snapshot Restore 2019-10-13 10:08:20 -07:00
Kubernetes Prow Robot
dd5cb6426d Merge pull request #83849 from draveness/feature/node-locality-as-score-plugin
feat: implement imagelocality as a score plugin
2019-10-13 06:36:35 -07:00
Bob Killen
666c5e5040 Prune inactive owners from pkg/credentialprovider/* OWNERS files. 2019-10-13 08:51:44 -04:00
Bob Killen
2e52875917 Prune inactive owners from pkg/kubelet/* network related OWNERS files. 2019-10-13 08:51:00 -04:00
Bob Killen
30053bb00f Prune inactive owners from pkg/controller/* network related OWNERS files. 2019-10-13 08:50:18 -04:00
Bob Killen
6e68d80013 Prune inactive owners from pkg/volume/* OWNERS files. 2019-10-13 08:44:11 -04:00
draveness
6f6618fc5d feat: implement imagelocality as a score plugin 2019-10-13 19:58:21 +08:00
Guoliang Wang
78be6a628d [migration phase 1] PodFitsHostPorts as filter plugin 2019-10-13 19:47:26 +08:00
Kubernetes Prow Robot
a78340410e Merge pull request #83650 from wgliang/scheduler-v2/pod-fits-resources
[migration phase 1] PodFitsResources as framework plugin
2019-10-13 03:38:36 -07:00
Guoliang Wang
4ca3d9ca48 [migration phase 1] PodFitsResources as framework plugin 2019-10-13 12:02:24 +08:00
Ahmad Diaa
4448a1cea9 move factory package to scheduler 2019-10-12 23:03:07 +02:00
Kubernetes Prow Robot
aee99ce807 Merge pull request #83558 from hprateek43/sortable_list_package
Move Sortable List into its own package
2019-10-12 11:40:38 -07:00
Harsh Singh
589656108e Replaced sortable list with native golang slice. 2019-10-12 21:57:28 +05:30
Guoliang Wang
0a1808a570 [migration phase 1] PodMatchNodeSelector/NodAffinity as filter plugin 2019-10-12 14:49:55 +08:00
Kubernetes Prow Robot
a7a6ca80d8 Merge pull request #83731 from notpad/feature/migration_nodiskconflict
[migration phase 1] NoDiskConflict as filter plugin
2019-10-11 21:16:52 -07:00
Kubernetes Prow Robot
08ab271105 Merge pull request #83389 from ahmad-diaa/move-PodPreemptor-to-sched
Move PodPreemptor to Scheduler
2019-10-11 21:16:39 -07:00
Kubernetes Prow Robot
0599ca2bcf Merge pull request #81594 from jfbai/remove-duplicated-log
Remove duplicated log.
2019-10-11 19:38:38 -07:00
Kubernetes Prow Robot
527f6e1b4e Merge pull request #83459 from deads2k/cert-reload-subject
dynamic delegated authn header reload
2019-10-11 18:04:40 -07:00