diff --git a/docs/application-layer/try-service-entry.md b/docs/application-layer/try-service-entry.md new file mode 100644 index 00000000..ecde9c16 --- /dev/null +++ b/docs/application-layer/try-service-entry.md @@ -0,0 +1,224 @@ +--- +sidebar_position: 5 +title: Try Service Entry +--- + +Service Entry allows you to add external services to Istio's internal service registry, enabling services in the mesh to access and route to these manually specified services. This guide shows you how to configure external service access using Service Entry. + +## Preparation + +Before getting started, ensure you have completed the following steps: + +1. **Make default namespace managed by Kmesh** +2. **Deploy Httpbin as sample application and Sleep as curl client** +3. **Install waypoint for default namespace** + + _For detailed instructions on the above steps, refer to [Install Waypoint | Kmesh](/docs/application-layer/install_waypoint.md#preparation)_ + +## Verify Environment Setup + +Confirm that the httpbin and sleep applications are running properly: + +```bash +kubectl get pods +``` + +You should see both services in Running state: + +```bash +NAME READY STATUS RESTARTS AGE +httpbin-6f4464f6c5-h9x2p 1/1 Running 0 30s +sleep-9454cc476-86vgb 1/1 Running 0 5m +``` + +## Configure Service Entry + +We will create a Service Entry to define a virtual external service that actually routes traffic to the httpbin service inside the cluster: + +```bash +kubectl apply -f - <