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(kuma-cp): implement delta xDS for envoy config exchange #11296

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3b81728
poc
lukidzi Aug 4, 2024
87cea34
s
lukidzi Aug 29, 2024
a1bb875
cleanup
lukidzi Sep 3, 2024
af6ae16
cleanup
lukidzi Sep 3, 2024
f231364
more cleanup and tests
lukidzi Sep 3, 2024
caadff5
Merge branch 'master' into delta-poc
lukidzi Sep 3, 2024
1cb3103
fix conflict
lukidzi Oct 21, 2024
cfda701
Merge branch 'master' into delta-poc
lukidzi Nov 5, 2024
b9b339b
cleanup
lukidzi Nov 5, 2024
9ce981f
cleanup
lukidzi Nov 5, 2024
f1fcb25
trigger build
lukidzi Nov 5, 2024
5e99aef
added better doc
lukidzi Nov 6, 2024
a414c2b
Merge branch 'master' into delta-poc
lukidzi Nov 6, 2024
e3896ef
Merge branch 'master' into delta-poc
Icarus9913 Nov 7, 2024
811c7be
fix k8s by adding new field in dataplane
lukidzi Nov 8, 2024
316b2dd
Merge remote-tracking branch 'upstream/master' into delta-poc
lukidzi Nov 8, 2024
fe30989
fix and add error
lukidzi Nov 12, 2024
b667262
Merge branch 'master' into delta-poc
Icarus9913 Nov 12, 2024
bd4543b
Merge remote-tracking branch 'upstream/master' into delta-poc
lukidzi Nov 14, 2024
ce21e0f
Merge branch 'master' into delta-poc
lukidzi Nov 18, 2024
cad052d
Merge branch 'master' into delta-poc
lukidzi Nov 19, 2024
361efe0
Merge branch 'delta-poc' of github.com:lukidzi/kuma into delta-poc
lukidzi Nov 20, 2024
9c57a2e
review
lukidzi Nov 20, 2024
4f3f1aa
test eds fix in go-control-plane
lukidzi Nov 22, 2024
b596303
Merge branch 'master' into delta-poc
lukidzi Nov 22, 2024
8047426
Merge branch 'master' into delta-poc
lukidzi Nov 25, 2024
6ea619b
Merge branch 'master' into delta-poc
lukidzi Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
622 changes: 320 additions & 302 deletions api/mesh/v1alpha1/dataplane.pb.go

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions api/mesh/v1alpha1/dataplane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";
import "api/mesh/options.proto";
import "api/mesh/v1alpha1/metrics.proto";
import "api/mesh/v1alpha1/envoy_admin.proto";
import "api/mesh/v1alpha1/envoy.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
import "validate/validate.proto";
Expand Down Expand Up @@ -369,4 +370,7 @@ message Dataplane {
// Deprecated: this feature will be removed for Universal; on Kubernetes, it's
// not needed anymore.
Probes probes = 3;

// EnvoyConfiguration provides additional configuration for the Envoy sidecar.
EnvoyConfiguration envoy = 4;
}
215 changes: 215 additions & 0 deletions api/mesh/v1alpha1/envoy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions api/mesh/v1alpha1/envoy.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";

package kuma.mesh.v1alpha1;

option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";

message EnvoyConfiguration {
enum XdsTransportProtocolVariant {
// This value defines default control-plane variant.
Icarus9913 marked this conversation as resolved.
Show resolved Hide resolved
DEFAULT = 0;
// Enables incremental xDS between control-plane and the Envoy.
DELTA_GRPC = 1;
// Enables state of the world xDS between control-plane and the Envoy.
GRPC = 2;
}
// xDSTransportProtocol provides information about protocol used for
// configuration exchange between control-plane and Envoy sidecar.
XdsTransportProtocolVariant xds_transport_protocol_variant = 1;
}
Loading