-
Notifications
You must be signed in to change notification settings - Fork 339
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
Feat/vip outbound #834
Feat/vip outbound #834
Conversation
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
3bea89e
to
78c7274
Compare
pkg/xds/server/components.go
Outdated
@@ -157,6 +154,14 @@ func DefaultDataplaneSyncTracker(rt core_runtime.Runtime, reconciler, ingressRec | |||
return ingressReconciler.Reconcile(envoyCtx, &proxy) | |||
} | |||
|
|||
// Generate VIP outbounds only when in Kubernetes | |||
if rt.Config().Environment == config_core.KubernetesEnvironment { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check dataplane.Spec.GetTransparentProxy() != nil
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also when no Ingress :)
pkg/xds/topology/vip_outbounds.go
Outdated
inService := inbound.GetTags()[mesh_proto.ServiceTag] | ||
|
||
vip, err := resolver.ForwardLookup(inService) | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic should be gone after we change service.namespace.svc:port
to service_namespace_svc_port
right?
Can you add todo to remove it?
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
08b6aad
to
76e4fd1
Compare
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Summary
Implement the VIP Outbound generation.
Issues resolved
Fix #765
Documentation