-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syncNetworkUtil in kubelet and fix loadbalancerSourceRange on GCE #30486
Conversation
Review status: 0 of 15 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. cmd/kube-proxy/app/server.go, line 414 [r1] (raw file):
Is this a client to connect to API server ? Is this a new dependency for kube-proxy to have a good connection to api server or we already have other calls ? Comments from Reviewable |
cmd/kube-proxy/app/server.go, line 414 [r1] (raw file):
|
49c35fd
to
fb93e09
Compare
Review status: 0 of 15 files reviewed at latest revision, 2 unresolved discussions. cmd/kubelet/app/options/options.go, line 160 [r1] (raw file):
We should also notify Michael Taufen who is working on kubelet flags in configmaps (I think). Comments from Reviewable |
Reviewed 2 of 15 files at r1. cmd/kubelet/app/options/options.go, line 160 [r1] (raw file):
|
Review status: 0 of 15 files reviewed at latest revision, 3 unresolved discussions. pkg/apis/componentconfig/types.go, line 408 [r1] (raw file):
the other int32 declarations in this file are not "*int32" ? Comments from Reviewable |
Reviewed 3 of 15 files at r1. pkg/apis/componentconfig/v1alpha1/defaults.go, line 344 [r1] (raw file):
Bit 14 matches 0x4000, Bit 15 will be 0x8000. Do we have a range of bits for our use ? Are there other consumers of these mark bits ? Comments from Reviewable |
Review status: 0 of 15 files reviewed at latest revision, 15 unresolved discussions. cmd/kubelet/app/options/options.go, line 160 [r2] (raw file):
propose "--make-iptables-util-chains" as a clearer name cmd/kubelet/app/options/options.go, line 161 [r2] (raw file):
nit: kube-proxy is not capitalized pkg/apis/componentconfig/types.go, line 408 [r1] (raw file):
|
pkg/proxy/iptables/proxier.go, line 890 [r2] (raw file):
|
pkg/proxy/iptables/proxier.go, line 68 [r2] (raw file):
|
pkg/proxy/iptables/proxier.go, line 73 [r2] (raw file):
|
pkg/kubelet/kubelet_network.go, line 354 [r2] (raw file):
|
pkg/proxy/iptables/proxier.go, line 581 [r2] (raw file):
|
pkg/proxy/iptables/proxier.go, line 890 [r2] (raw file):
|
This might be true for AWS but we can't assume that is true in general. On Mon, Aug 15, 2016 at 11:03 AM, Minhan Xia [email protected]
|
OK for now. On Mon, Aug 15, 2016 at 4:16 PM, Minhan Xia [email protected]
|
LOL, your call. Ping me when ready again On Mon, Aug 15, 2016 at 4:21 PM, Minhan Xia [email protected]
|
GCE e2e build/test passed for commit 643fc38. |
Reviewed 2 of 14 files at r2, 11 of 13 files at r3, 2 of 2 files at r4. pkg/kubelet/kubelet_network.go, line 46 [r4] (raw file):
Comment is wrong. If this LGTM overall I might approve and you can fix in followup pkg/proxy/iptables/proxier.go, line 588 [r4] (raw file):
As in @girishkalele PR, I propose XLB as a middle ground on naming pkg/proxy/iptables/proxier.go, line 892 [r4] (raw file):
put the definition of args here, closer to usage pkg/proxy/iptables/proxier.go, line 898 [r4] (raw file):
you already checked protocol port and destination before jumping into this chain. This seems redundant. Comments from Reviewable |
I'm going to LGTM. Nits can be fixed up in followup |
bumping prio because security and cherrypick candidate. I'm worried that it may be on the large side for a cherrypick. @freehan this needs an e2e ASAP |
There is not much change to the kubelet side (other than adding more flags). LGTM. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 643fc38. |
Automatic merge from submit-queue |
I think this broke gce e2e slow. revert. |
|
Automatic merge from submit-queue clean up oldIptablesMasqueradeMark follow up of #30486
fixes: #29997 #29039
@yujuhong Can you take a look at the kubelet part?
@girishkalele KUBE-MARK-DROP is the chain for dropping connections. Marked connection will be drop in INPUT/OUTPUT chain of filter table. Let me know if this is good enough for your use case.
This change is