Commit Graph

37361 Commits

Author SHA1 Message Date
Rob Scott
c75787bb77 Fixing Potential Race Condition in EndpointSlice Controller.
This adds a new EndpointSlice tracker to keep track of the expected resource versions of EndpointSlices associated with each Service managed by the EndpointSlice controller. This should prevent a potential race where a syncService call could happen with an incomplete view of EndpointSlices if additions or deletions hadn't fully propagated to the cache yet. Additionally, this ensures that external changes to EndpointSlices will be handled by the EndpointSlice controller.
2019-12-26 12:15:38 -08:00
Kubernetes Prow Robot
10883c4c69 Merge pull request #84728 from notpad/kubemark
Migrate Kubemark to distroless
2019-11-26 02:09:10 -08:00
Kubernetes Prow Robot
41757d673e Merge pull request #85521 from gaorong/check-return-value
check service status value returned by EnsureLoadBalancer
2019-11-25 22:51:10 -08:00
Kubernetes Prow Robot
b84fad5e6f Merge pull request #84401 from xiaoanyunfei/bugfix/inspect-docker-image
ignore image err when docker image has been cleaned up
2019-11-25 19:11:10 -08:00
Kubernetes Prow Robot
1c5b6cb66e Merge pull request #85611 from ksubrmnn/routing_mesh
Fix HTTP readiness/liveness probes using NodePort
2019-11-25 16:43:19 -08:00
Kubernetes Prow Robot
cec566d77a Merge pull request #85451 from flix-tech/ruben.serradas
Fix golint issues in pkg/kubelet/events/event.go
2019-11-25 16:43:10 -08:00
Kalya Subramanian
e87e4bea0f Fix HTTP readiness/liveness probes for local node 2019-11-25 10:50:46 -08:00
Kubernetes Prow Robot
9d048f0768 Merge pull request #85432 from jadarsie/az-dyn-env
Support Azure Stack dynamic environments
2019-11-25 09:03:38 -08:00
Kubernetes Prow Robot
9905a33fd7 Merge pull request #85368 from robscott/endpointslice-deepcopy
Deep copying EndpointSlices in reconciler before modifying them
2019-11-23 22:55:50 -08:00
Rob Scott
4229b99203 Deep copying EndpointSlices in reconciler before modifying them. 2019-11-23 20:57:50 -08:00
Kubernetes Prow Robot
459b1d76bf Merge pull request #85527 from aojea/fix#85414
Revert "kube-proxy: check KUBE-MARK-DROP"
2019-11-23 13:19:49 -08:00
Kubernetes Prow Robot
3aeb38afd3 Merge pull request #85493 from cofyc/local-owner
Add cofyc as owner of pkg/volume/local
2019-11-22 17:31:41 -08:00
Kubernetes Prow Robot
1900edf44a Merge pull request #85440 from gkarthiks/master
Fix lint in /pkg/util/iptables
2019-11-22 17:31:31 -08:00
Kubernetes Prow Robot
300ca89e60 Merge pull request #85426 from davidz627/fix/testCtx
Plumb test state through to fake volume host creation for error handling
2019-11-22 17:31:22 -08:00
Kubernetes Prow Robot
ef6d304bed Merge pull request #85345 from andrewsykim/improve-node-event-handler-logic
proxier: improve node topology event handler logic
2019-11-22 17:30:35 -08:00
Kubernetes Prow Robot
a15b5dfb13 Merge pull request #85188 from charleszheng44/scheduler-ut
add ut for scheduler framework
2019-11-22 17:29:43 -08:00
Antonio Ojea
98be7831e4 Revert "kube-proxy: check KUBE-MARK-DROP"
This reverts commit 1ca0ffeaf2.

kube-proxy is not recreating the rules associated to the
KUBE-MARK-DROP chain, that is created by the kubelet.

Is preferrable avoid the dependency between the kubelet and
kube-proxy and that each of them handle their own rules.
2019-11-22 06:37:42 +01:00
jadarsie
3322ff9551 generalize solution 2019-11-21 19:14:47 -08:00
Rong Gao
99603e105a check service status value returned by EnsureLoadBalancer
when service status returned by EnsureLoadBalancer is nil, return the
function directly to avoid NPE
2019-11-22 09:19:06 +08:00
jadarsie
55828d059d misc fixes 2019-11-21 10:19:25 -08:00
Yecheng Fu
96eb647898 add cofyc as local volume owner 2019-11-21 09:38:49 +08:00
Benjamin Elder
cf510ac285 fix multiple node cidr masks in providerless build 2019-11-19 09:47:45 -08:00
Benjamin Elder
753774d9ea add providerless tag to vsphere volume code 2019-11-19 09:47:45 -08:00
Benjamin Elder
b100bf9654 add providerless tags to new awsebs code 2019-11-19 09:47:45 -08:00
gkarthiks
b05749c619 chore(gofmt): go format fix
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2019-11-19 08:30:16 -08:00
Ruben
55c83e3397 Fix golint issues in pkg/kubelet/events/event.go
Change the single const statement in favor of multiple const event lists.
This way we don't need to put the name of the constant in the comment
and it's clearer that the comment refers to the whole list.
2019-11-19 13:15:08 +01:00
Jordan Liggitt
dc0e51dd18 Plumb authorization webhook version from CLI to config 2019-11-18 23:58:05 -08:00
Karthikeyan Govindaraj
a4631c845e chore(lint): lint fix in /pkg/util/iptables 2019-11-18 23:44:49 -08:00
Karthikeyan Govindaraj
bdc11c2806 chore(lint): fix iptable.go file lint 2019-11-18 23:43:51 -08:00
jadarsie
ec57d8a4d0 Support Azure Stack dynamic environments 2019-11-18 15:06:32 -08:00
David Zhu
21f7060c8f Plumb test state through to fake volume host creation for error handling 2019-11-18 14:45:01 -08:00
Kubernetes Prow Robot
81af5baff8 Merge pull request #85237 from leakingtapan/ebs-migration-flag
Flip CSIMigrationAWS flag to be beta and off by default
2019-11-18 12:33:42 -08:00
Kubernetes Prow Robot
09d142a7ab Merge pull request #80854 from aojea/hostportv6
Add IPv6 support to kubenet hostport
2019-11-16 04:35:41 -08:00
notpad
dcf80e31ac Migrate Kubemark to distroless 2019-11-16 17:49:26 +08:00
Kubernetes Prow Robot
e0529008d0 Merge pull request #85370 from mikedanese/expcache
fix terrible bug and inline GC for expiring cache
2019-11-16 00:29:40 -08:00
Kubernetes Prow Robot
c3f8d700ac Merge pull request #85367 from aramase/node-cidr-followup
[kube controller manager] add comments for compatibility
2019-11-15 19:09:54 -08:00
Kubernetes Prow Robot
5848ee4945 Merge pull request #85365 from robscott/endpointslice-default-off
Disabling EndpointSlice feature gate by default
2019-11-15 17:57:50 -08:00
Kubernetes Prow Robot
9c26a752a9 Merge pull request #85231 from davidz627/flags
Flip CSIMigration and CSIMigrationGCE to Beta
2019-11-15 17:57:41 -08:00
Mike Danese
d16dde36a3 inline GC in expiring cache
This allows us to drop the background goroutine with negligable
difference in performance.
2019-11-15 17:50:31 -08:00
Kubernetes Prow Robot
9859e73433 Merge pull request #85361 from liggitt/endpoint-label
Fix label mutation in endpoints controller
2019-11-15 16:17:49 -08:00
Anish Ramasekar
128f33b26e add comments for compatibility 2019-11-15 15:38:06 -08:00
Rob Scott
37aa219fff Disabling EndpointSlice feature gate by default
Given the significance this change would have we've decided to hold off
on enabling this by default until we can have better test coverage and
more real world usage of the feature.
2019-11-15 14:54:35 -08:00
Jordan Liggitt
08b5c809d2 Fix label mutation in endpoints controller 2019-11-15 16:24:10 -05:00
Rob Scott
7085d692b7 Reverting managed-by-setup annotation
This ended up causing far more problems than it was worth, especially
given that it just attempted to provide backwards compatibility with
the alpha release.
2019-11-15 11:50:58 -08:00
Kubernetes Prow Robot
f16bfb069a Merge pull request #85346 from andrewsykim/service-topology-validtaion
service topology: remove redundant API validation for local external traffic policy
2019-11-15 11:32:31 -08:00
David Zhu
41c65f4740 Jump out of spec translation early if the spec is not migratable. Unit tests work after all! 2019-11-15 11:23:32 -08:00
David Zhu
6e716af89e Add CSINodes to AttachDetachControllerRecovery test 2019-11-15 11:23:32 -08:00
David Zhu
86f20db7d0 Panic on error when creating fake volume host, add a TODO to clean up later 2019-11-15 11:23:32 -08:00
David Zhu
1a47bf54e2 De-race some CSI unit tests that were initializing the plugin manager…ger (and plugins) twice. Set some const variables earlier to support node info manager initialization and wait for initialization to complete before finishing plugin setup. 2019-11-15 11:23:32 -08:00
David Zhu
d66ca2dc11 Flip CSIMigration and CSIMigrationGCE to Beta 2019-11-15 11:22:35 -08:00