The Topology view in the Developer perspective of the web console provides a visual representation of all the applications within a project, their build status, and the components and services associated with them.
To view your applications in the Topology view and interact with them, ensure that:
You have logged in to the web console.
You have the appropriate roles and permissions in a project to create applications and other workloads in OKD.
You are in the Developer perspective.
You can navigate to the Topology view using the left navigation panel in the Developer perspective. After you deploy an application, you are directed automatically to the Graph view where you can see the status of the application pods, quickly access the application on a public URL, access the source code to modify it, and see the status of your last build. You can zoom in and out to see more details for a particular application.
The Topology view provides you the option to monitor your applications using the List view. Use the List view icon () to see a list of all your applications and use the Graph view icon () to switch back to the graph view.
You can customize the views as required using the following:
Use the Find by name field to find the required components. Search results may appear outside of the visible area; click Fit to Screen from the lower-left toolbar to resize the Topology view to show all components.
Use the Display Options drop-down list to configure the Topology view of the various application groupings. The options are available depending on the types of components deployed in the project:
Mode (Connectivity or Consumption)
Connectivity: Select to show all the connections between the different nodes in the topology.
Consumption: Select to show the resource consumption for all nodes in the topology.
Virtual Machines: Toggle to show or hide the virtual machines.
Application Groupings: Clear to condense the application groups into cards with an overview of an application group and alerts associated with it.
Helm Releases: Clear to condense the components deployed as Helm Release into cards with an overview of a given release.
Knative Services: Clear to condense the Knative Service components into cards with an overview of a given component.
Operator Groupings: Clear to condense the components deployed with an Operator into cards with an overview of the given group.
Show elements based on Pod Count or Labels
Pod Count: Select to show the number of pods of a component in the component icon.
Labels: Toggle to show or hide the component labels.
The Topology view also provides you the Export application option to download your application in the ZIP file format. You can then import the downloaded application to another project or cluster. For more details, see Exporting an application to another project or cluster in the Additional resources section.
The Topology view in the Developer perspective of the web console provides the following options to interact with applications and components:
Click Open URL () to see your application exposed by the route on a public URL.
Click Edit Source code to access your source code and modify it.
This feature is available only when you create applications using the From Git, From Catalog, and the From Dockerfile options.
Hover your cursor over the lower left icon on the pod to see the name of the latest build and its status. The status of the application build is indicated as New (), Pending (), Running (), Completed (), Failed (), and Canceled ().
The status or phase of the pod is indicated by different colors and tooltips as:
Running (): The pod is bound to a node and all of the containers are created. At least one container is still running or is in the process of starting or restarting.
Not Ready (): The pods which are running multiple containers, not all containers are ready.
Warning(): Containers in pods are being terminated, however termination did not succeed. Some containers may be other states.
Failed(): All containers in the pod terminated but least one container has terminated in failure. That is, the container either exited with non-zero status or was terminated by the system.
Pending(): The pod is accepted by the Kubernetes cluster, but one or more of the containers has not been set up and made ready to run. This includes time a pod spends waiting to be scheduled as well as the time spent downloading container images over the network.
Succeeded(): All containers in the pod terminated successfully and will not be restarted.
Terminating(): When a pod is being deleted, it is shown as Terminating by some kubectl commands. Terminating status is not one of the pod phases. A pod is granted a graceful termination period, which defaults to 30 seconds.
Unknown(): The state of the pod could not be obtained. This phase typically occurs due to an error in communicating with the node where the pod should be running.
After you create an application and an image is deployed, the status is shown as Pending. After the application is built, it is displayed as Running.
The application resource name is appended with indicators for the different types of resource objects as follows:
(Knative): A serverless application
Serverless applications take some time to load and display on the Graph view. When you deploy a serverless application, it first creates a service resource and then a revision. After that, it is deployed and displayed on the Graph view. If it is the only workload, you might be redirected to the Add page. After the revision is deployed, the serverless application is displayed on the Graph view.
The Topology view provides the details of the deployed components in the Overview panel. You can use the Overview and Resources tabs to scale the application pods, check build status, services, and routes as follows:
Click on the component node to see the Overview panel to the right. Use the Overview tab to:
Scale your pods using the up and down arrows to increase or decrease the number of instances of the application manually. For serverless applications, the pods are automatically scaled down to zero when idle and scaled up depending on the channel traffic.
Check the Labels, Annotations, and Status of the application.
Click the Resources tab to:
See the list of all the pods, view their status, access logs, and click on the pod to see the pod details.
See the builds, their status, access logs, and start a new build if needed.
See the services and routes used by the component.
For serverless applications, the Resources tab provides information on the revision, routes, and the configurations used for that component.
Click Add to Project () next to left navigation pane or press Ctrl+Space
Search for the component and select Create or press Enter to add the component to the project and see it in the topology Graph view.
Alternatively, you can also use the Import from Git, Container Image, Database, From Catalog, Operator Backed, Helm Charts, Samples, or Upload JAR file options in the context menu by right-clicking in the topology Graph view to add a component to your project.