Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadVatandoost committed Nov 5, 2023
1 parent 2f8ea73 commit d58e223
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ Deploy xds-control-plane with server and client example servoce to k8s
make kind/deploy/control-plane
```

### REST API
You can see the nodes and resources list on port 8080
```shell
kubectl port-forward svc/xds-control-plane-headless -n control-plane 8080:8080
```
Nodes: http://localhost:8080/nodes
Nodes: http://localhost:8080/resources

### Issues
- [] for ADS, the request names must match the snapshot names, if they do not, then the watch is never responded, and it is expected that envoy makes another request. So we can only add service names to the snapshot that client exactly watch. this is wierld. It means if client watch xds-grpc-server-example-headless resource, you can only send listner for this resource (you couldn't resolve all the k8s services)
(WARN[0010] ADS mode: not responding to request: "kube-prometheus-prometheus:9090" not listed, ResourceNames: [xds-grpc-server-example-headless:8888] )
Expand Down
3 changes: 2 additions & 1 deletion deployments/helm/xds-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@ configMap:
LOGGER_LEVEL: "info"
XDS_PORT: 8888
GRPC_TIMEOUT: 5

REST_API_HTTP_PORT: 8080

Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ configMap:
GRPC_LISTENPORT: 8888
GRPC_TIMEOUT: 5
XDS_PORT: 5678
REST_API_HTTP_PORT: 8080

0 comments on commit d58e223

Please sign in to comment.