Verify the Service Interconnect network

1. Test the solution

At this point you can verify that the service network is actually working as expected. When scaling up the globex-store-app application to 1 pod, it should be able to connect to the database running on the isolated namespace through the service network.

  • In the browser tab pointing to the OpenShift console, select the Topology View on the globex-skupper-{user_name} namespace. Click in the center of the deployment of the globex-store-app application. This opens a side window with details about the deployment. Click on the Details tab.

    openshift console deployment
  • To scale the deployment to 1 pod, click on the openshift console scale up icon icon next to the empty circle representing the deployment.

  • After a while, the circle becomes dark blue, indicating a successful deployment. The globex-store-app application has 1 pod which successfully connected to the database over the service network.

    openshift console deployment 2
  • Click on the openshift console open url icon next to the Node.js deployment.

    openshift console open url 5

    This opens a new browser tab pointing to the home page of the Globex retail application.

    globex home page skupper
  • Click on the Cool Stuff Store link in the top menu. This opens a view of the Globex store catalog. Expect to see a paginated listing of products from the Globex catalog.

    globex catalog
  • The information on that page is retrieved from the database, demonstrating that the service network is working as expected. Feel free to navigate around the app to cause traffic between the application and the database.

  • You can also check the link between the two clusters in the {skupper_console_aws}[Service Interconnect console^]. In the Topology section, select the Components tab, which shows the connection between the globex-store-app deployment in the isolated namespace and the globex-db service which is proxied over the service network.

    skupper console network components

    If you click on one of the two components in the component graph, you are redirected to the Components view which shows details about the connection:

    skupper console network components 2

2. Congratulations

Congratulations! You successfully used Red Hat Service Interconnect to build a secure service network between two services and allow application to connect and communicate over the secure network.

Please close all but the Workshop Deployer browser tab to avoid proliferation of browser tabs which can make working on other modules difficult.

Proceed to the Workshop Deployer to choose your next module.