Skip to content

Commit ca9fb03

Browse files
authored
feat: support kubernetes as a backend engine (#1340)
* feat: implement runtime engine using kubernetes
1 parent 90fdfc2 commit ca9fb03

51 files changed

Lines changed: 1478 additions & 382 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/mesh/v1alpha1/instance.pb.go

Lines changed: 71 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mesh/v1alpha1/instance.proto

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package dubbo.mesh.v1alpha1;
55
option go_package = "github.com/apache/dubbo-admin/api/mesh/v1alpha1";
66

77
import "api/mesh/options.proto";
8+
import "api/mesh/v1alpha1/runtime_instance.proto";
89

910
// Instance is merged from RuntimeInstance and RPCInstance, indicates a runtime entity of a specific dubbo application
1011
message Instance {
@@ -13,19 +14,14 @@ message Instance {
1314
option (dubbo.mesh.resource).package = "mesh";
1415
option (dubbo.mesh.resource).is_experimental = true;
1516

16-
message Probe {
17-
string type = 1;
18-
int32 port = 2;
19-
}
17+
string name = 1;
18+
19+
string ip = 2;
2020

2121
/*
2222
FROM RPCInstance
2323
*/
2424

25-
string name = 1;
26-
27-
string ip = 2;
28-
2925
int32 rpcPort = 3;
3026

3127
int32 qosPort = 4;
@@ -68,5 +64,7 @@ message Instance {
6864

6965
repeated Probe probes = 59;
7066

71-
reserved 60 to 100;
67+
repeated Condition conditions = 60;
68+
69+
reserved 61 to 100;
7270
}

0 commit comments

Comments
 (0)