Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (25 loc) · 1.72 KB

inventory.md

File metadata and controls

38 lines (25 loc) · 1.72 KB

Inventory Command Action

The inventory command action is a kAppNav-wide command. It does not apply to any application or application component. It lists Kuberentes resources belonging to, or under the control of, kAppNav:

  1. All resources in the kappnav namespace.
  2. All application resources and their components.

Container Image

The inventory container image contains these tools:

  1. kubectl
  2. Maven
  3. Node.js
  4. OpenLiberty

The inventory also contains a copy of the kAppNav API server.

Command Action Definition

The command action definition is stored in this action config map This command is defined as an "application" level action. A new "kappnav" application is now created by the kAppNav operator. The kappnav application is marked as hidden application to serve as an anchor for kAppNav-wide command actions, without appearing in the application list.

UI Support

The UI will display command actions defined to the kAppNav application on the Command Action page. When no command actions have been run, the command action page is empty and will display an instructive statement, inviting the user to submit the inventory action.

This page will also display a list of kAppNav-wide command actions in a drop down list on the upper right of the page. The initial implementation will be just a single button to run the inventory command. When more actions are defined, this button will be converted into an actual drop down list.

default