This CSM example builds on the Hello World Example and changes the gRPC client and server to accept configuration from an xDS control plane and test SSA and CSM observability
The client takes the following command-line arguments -
The server takes the following command-line arguments -
From the gRPC workspace folder:
Client:
docker build -f examples/cpp/csm/Dockerfile.client
Server:
docker build -f examples/cpp/csm/Dockerfile.server
To push to a registry, add a tag to the image either by adding a -t
flag to docker build
command above or run:
docker image tag ${sha from build command above} ${tag}
And then push the tagged image using docker push