Skip to content
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

Merged
merged 16 commits into from
Jun 20, 2020
Merged

Feat/vip outbound #834

merged 16 commits into from
Jun 20, 2020

Conversation

nickolaev
Copy link
Contributor

Summary

Implement the VIP Outbound generation.

Issues resolved

Fix #765

Documentation

Nikolay Nikolaev added 5 commits June 16, 2020 17:36
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>
@nickolaev nickolaev requested a review from a team June 17, 2020 08:56
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev force-pushed the feat/vip_outbound branch from 3bea89e to 78c7274 Compare June 17, 2020 09:03
@@ -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 {
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also when no Ingress :)

inService := inbound.GetTags()[mesh_proto.ServiceTag]

vip, err := resolver.ForwardLookup(inService)
if err != nil {
Copy link
Contributor

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?

Nikolay Nikolaev added 3 commits June 17, 2020 17:00
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev force-pushed the feat/vip_outbound branch from 08b6aad to 76e4fd1 Compare June 17, 2020 16:42
Nikolay Nikolaev added 4 commits June 20, 2020 10:24
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>
@nickolaev nickolaev merged commit e6f2fcb into master Jun 20, 2020
@nickolaev nickolaev deleted the feat/vip_outbound branch June 23, 2020 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pod converter for Kuma IP Outbound
2 participants