Commit Graph

42458 Commits

Author SHA1 Message Date
Ted Yu
22d19be4ca Use RWMutex for accessing plugins 2019-04-08 01:03:20 -07:00
Jay
9f2147161e Fix spell error 2019-04-08 15:49:29 +08:00
goodluckbot
b92b0eb7c2 Change Mutex to RWMutex for pod backoff 2019-04-08 15:31:48 +08:00
Mehdy Bohlool
c1076ba05a Fix API documentation, 'Port' to 'port' 2019-04-08 00:29:04 -07:00
Mehdy Bohlool
864cf3e33a Generated files 2019-04-08 00:29:04 -07:00
Mehdy Bohlool
11f37d757f Add port to ServiceResolvers 2019-04-08 00:19:52 -07:00
Mehdy Bohlool
404e2f7a30 Add port to ServiceReference of Admission Webhooks, ConversionWebhooks and AuditSync with defaulter and validator 2019-04-08 00:18:36 -07:00
jingxueli
dfa3353390 fix pdb update too many when nothing change 2019-04-08 11:27:42 +08:00
Wei Huang
8f87f580e5 scheduler: tweak scheduler factory mutex 2019-04-07 16:35:06 -07:00
Wei Huang
28730919a6 scheduler: performance improvement on PodAffinity
- replace unnecessary Lock/Unlock with atomic AddInt64
2019-04-07 14:34:22 -07:00
Manjunath A Kumatagi
485605e133 Fix the TestUpdate 2019-04-07 13:45:45 +05:30
Antoine Pelisse
1bf99e2e4e Create kubectl rollout restart deployment/$deployment to do a rolling restart 2019-04-06 21:14:40 -07:00
Ted Yu
4b4c20be7c Use read lock for PendingPods 2019-04-06 13:48:51 -07:00
Kubernetes Prow Robot
9c2df998af Merge pull request #75820 from YoubingLi/bugfix
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-06 11:00:27 -07:00
Kubernetes Prow Robot
150a501750 Merge pull request #73557 from bsalamat/use_priority_ga
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -07:00
Kubernetes Prow Robot
1ff857e126 Merge pull request #76216 from frankgreco/ensureLoadBalancer-aws-bug
ensuring that logic is checking for differences in listener
2019-04-05 18:06:53 -07:00
Kubernetes Prow Robot
52ec2a0009 Merge pull request #75497 from goodluckbot/remove-backoff-util
Integrate backoff mechanism into the scheduling queue and remove the …
2019-04-05 18:06:41 -07:00
Kubernetes Prow Robot
2c013fa1a8 Merge pull request #75129 from xing-yang/informer
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Kubernetes Prow Robot
f3de278f18 Merge pull request #75964 from humblec/more-lnt
Remove some unwanted code blocks in controller_utils.go
2019-04-05 16:46:40 -07:00
Kubernetes Prow Robot
eaa506c0b4 Merge pull request #75516 from seans3/interrupt-fix
kubectl: Removes dependency on util/interrupt by copying this code into kubectl
2019-04-05 16:46:29 -07:00
Bobby (Babak) Salamat
d6c2a17d88 Update storage version hash data for PriorityClass 2019-04-05 15:30:33 -07:00
Robert Krawitz
1c0d021de8 Graduate SupportNodePidsLimit to beta 2019-04-05 18:29:52 -04:00
Kubernetes Prow Robot
deb48e331a Merge pull request #76189 from soltysh/fix_legacy_podautoscaler
Fix flaky legacy pod autoscaler test
2019-04-05 14:34:05 -07:00
Kubernetes Prow Robot
1cdb4c965a Merge pull request #74946 from ialidzhikov/clean-ineffectual-assignments
Clean ineffectual assignments
2019-04-05 14:33:53 -07:00
Bobby (Babak) Salamat
16a7cbd320 generated files 2019-04-05 14:30:52 -07:00
Dan Williams
cc2b31a2f3 proxy/userspace: consolidate portal and proxy cleanup 2019-04-05 16:28:24 -05:00
Dan Williams
8cf0076e23 proxy/userspace: respect minSyncInterval and simplify locking
The userspace proxy does not have any ratelimiting and when many
services are used will hammer iptables every time a service or
endpoint change occurs. Instead build up a map of changed
services and process all those changes at once instead of each
time an event comes in. This also ensures that no long-running
processing happens in the same call chain as the OnService*
calls as this blocks other handlers attached to the proxy's
parent ServiceConfig object for long periods of time.

Locking can also now be simplified as the only accesses to the
proxy's serviceMap happen from syncProxyRules(). So instead of
locking in many functions just lock once in syncProxyRules()
like the other proxies do.

https://bugzilla.redhat.com/show_bug.cgi?id=1590589
https://bugzilla.redhat.com/show_bug.cgi?id=1689690
2019-04-05 16:28:17 -05:00
Bobby (Babak) Salamat
8574e3e3f4 Use Scheduling V1 API instead of Scheduling v1beta1 2019-04-05 14:21:45 -07:00
GRECO, FRANK
ce9c4bf905 ensuring that logic is checking for differences in listener 2019-04-05 14:18:10 -07:00
Dan Williams
cf7225f561 proxy/userspace: replace IsServiceIPSet() with ShouldSkipService()
Keeps things consistent with iptables/IPVS proxies. Proxies don't
handle ServiceTypeExternalName even if the ClusterIP is set.
2019-04-05 16:16:36 -05:00
Dan Williams
04b943ce38 proxy/userspace: track initial service/endpoints sync
We'll use this shortly to prevent premature syncing before all
initial endpoints and services have been received from the
apiserver.
2019-04-05 16:16:36 -05:00
Dan Williams
ddab79a233 proxy/userspace: add proxy shutdown function and use in testcases
If a testcase does time out and 'go test' prints the call stack,
make sure everything from previous tests is cleaned up so the call
stack is easier to understand.
2019-04-05 16:16:36 -05:00
Dan Williams
4b07f80d20 proxy: consolidate ServicesHandler/EndpointsHandler into ProxyProvider
Proxies should be able to cleanly figure out when endpoints have been synced,
so make all ProxyProviders also implement EndpointsHandler and pass those
through to loadbalancers when required.
2019-04-05 16:16:35 -05:00
Xing Yang
000ab86788 Move CSIDriver Lister to the controller 2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot
4e8dd70234 Merge pull request #76171 from thockin/kube-proxy-iptables-restore-log
Add better logging when iptables-restore fails
2019-04-05 10:21:32 -07:00
goodluckbot
151649df4c Integrate backoff mechanism into the scheduling queue and remove the Backoff util 2019-04-06 00:15:00 +08:00
Humble Chirammal
6eae6bbac5 Use pvc uid in endpoint/service label
If the pvc name is more than 63 chars, the endpoint creation
will fail due to the validation of objectmeta length of fields ie 63 chars at max.
This patch introduce an enhancement where if the pvc name is >=63 the pvc uid
is recorded at label instead of name. To preserve backward compatibility, the pvcname
has been kept in endpoint metadata label if length of pvc name is <63chars.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-05 20:30:57 +05:30
Kubernetes Prow Robot
223f355ba4 Merge pull request #76162 from nikhita/bump-gengo
Bump gengo to avoid large errors in verify logs
2019-04-05 07:43:32 -07:00
Maciej Szulik
bcfd48c29e Fix flaky legacy pod autoscaler test
The reactor in runTest is set to catch all actions, but eventually it
only handles CreateAction without checking action type which might fail
sometimes when Patch arrives. This fix ensures we handle only the
CreateAction.
2019-04-05 13:20:30 +02:00
Kubernetes Prow Robot
a727bddc5e Merge pull request #75523 from freehan/bug-fix
reconcile pod ready condition when message is not expected
2019-04-04 23:53:19 -07:00
Kubernetes Prow Robot
e9ca60bf0d Merge pull request #76142 from soltysh/fix_createdisk
Fix TestCreateDisk by sorting tags
2019-04-04 22:32:06 -07:00
Jordan Liggitt
53e55d314a Make sorting printer sort tables in place 2019-04-05 01:20:06 -04:00
Jordan Liggitt
7013827309 Stop special-casing tables in kubectl get to print 'No resources found' 2019-04-05 01:20:01 -04:00
Jordan Liggitt
1c3adedf1c Request and handle server-side printing when watching with kubectl 2019-04-05 01:20:01 -04:00
Jordan Liggitt
34e9d80b87 Refactor kubectl table printing for watch
Warn if sorting and watching are requested together
2019-04-05 01:19:57 -04:00
Jordan Liggitt
135d2f197a Add unit test for sort-by table output 2019-04-05 01:19:57 -04:00
Jordan Liggitt
a347826b4f Add unit test for empty table results 2019-04-05 01:19:57 -04:00
Jordan Liggitt
959c56d325 Install meta.k8s.io/v1beta1 types into kubectl scheme 2019-04-05 01:19:57 -04:00
Kubernetes Prow Robot
28295b0e78 Merge pull request #76098 from smarterclayton/move_direct_encoder
Move DirectEncoder to runtime, rename, add .WithoutConversion() on CodecFactory
2019-04-04 21:07:55 -07:00
Kubernetes Prow Robot
f25fa0e9e1 Merge pull request #75750 from msau42/metrics
Improve volume operation metrics
2019-04-04 17:47:43 -07:00