Lens AppIQ allows you to inspect the resource definitions for your applications. These definitions can be found on the application detail page, or the objects map page, and help inspect the actual definition of your config maps, deployments, pods, etc, to ensure the values available are the intended ones. Especially for critical information defining how your pod behaves (CPU, memory limits, environment variables, ports, configuration values, liveness probes, and more.
Let's see how to inspect the YAML definitions for an application from the details page.
1.1 Navigate to the Applications page and choose an application by clicking on the name or by clicking on the View action.
1.2 Now that you are seeing the details page for the selected application, simply click the YAML tab and you will see the definition for all the resources that make up the application.
1.3 There is also the option to view YAML definitions of individual resources such as: ConfigMap, Ingress, Pod, Deployment, etc. To do so we can select the desired resource from the dropdown located on the right side of the screen.
The YAML definitions can also be viewed from the application's object map.
2.1 Navigate to the application's details page as we did in section 1.1.
2.2 Here we will click on the View Map link located in the upper left section of the details to navigate to see the object map.
2.3 Each outer node represents a Kubernetes resource (Pod, Deployment, Service, ConfigMap, etc). We can click on these resource nodes to see information regarding their Metadata and YAML definitions. Note that only the most outer nodes will display YAML information.
Regardless of where you choose to inspect these YAML definitions, you will be able to copy them with a single click and download them as well.
Use these definitions to debug and troubleshoot any issues, and to ensure your application container is supporting the right configuration for your application.
Updated 3 months ago