Deploying Services
Deploying Services to clusters with Cloud Service Mesh is almost the same as deploying Services to clusters without Cloud Service Mesh. You do need to make some changes to your Kubernetes manifests:
Create Kubernetes Services for all containers. All Deployments should have a Kubernetes Service attached.
Name your Service ports. Although GKE allows you to define unnamed Service ports, Cloud Service Mesh requires that you provide a name for a port that matches the port's protocol.
Label your Deployments. This allows you to use Cloud Service Mesh traffic management features such as splitting traffic between versions of the same service.
The following example Deployment and Service illustrate these requirements:
After deploying your Services on a cluster with Cloud Service Mesh, be sure to inject sidecar proxies.