$ oc get console.operator.openshift.io cluster -o jsonpath='{.spec.plugins}'
console.action/filter
console.action/group
console.action/provider
console.action/resource-provider
console.alert-action
console.catalog/item-filter
console.catalog/item-metadata
console.catalog/item-provider
console.catalog/item-type
console.catalog/item-type-metadata
console.cluster-overview/inventory-item
console.cluster-overview/multiline-utilization-item
console.cluster-overview/utilization-item
console.context-provider
console.dashboards/card
console.dashboards/overview/activity/resource
console.dashboards/overview/detail/item
console.dashboards/overview/health/operator
console.dashboards/overview/health/prometheus
console.dashboards/overview/health/resource
console.dashboards/overview/health/url
console.dashboards/overview/inventory/item
console.dashboards/overview/inventory/item/group
console.dashboards/overview/inventory/item/replacement
console.dashboards/overview/prometheus/activity/resource
console.dashboards/project/overview/item
console.dashboards/tab
console.file-upload
console.flag
console.flag/hookProvider
console.flag/model
console.global-config
console.model-metadata
console.navigation/href
console.navigation/resource-cluster
console.navigation/resource-ns
console.navigation/section
console.navigation/separator
console.page/resource/details
console.page/resource/list
console.page/route
console.page/route/standalone
console.perspective
console.project-overview/inventory-item
console.project-overview/utilization-item
console.pvc/alert
console.pvc/create-prop
console.pvc/delete
console.pvc/status
console.redux-reducer
console.resource/create
console.storage-provider
console.tab/horizontalNav
console.telemetry/listener
console.topology/adapter/build
console.topology/adapter/network
console.topology/adapter/pod
console.topology/component/factory
console.topology/create/connector
console.topology/data/factory
console.topology/decorator/provider
console.topology/details/resource-alert
console.topology/details/resource-link
console.topology/details/tab
console.topology/details/tab-section
console.topology/display/filters
console.topology/relationship/provider
console.user-preference/group
console.user-preference/item
console.yaml-template
dev-console.add/action
dev-console.add/action-group
dev-console.import/environment
console.page/resource/tab
You can add extensions that allow you to customize your plugin. Those extensions are then loaded to the console at runtime.
console.action/filter
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The context ID helps to narrow the scope of
contributed actions to a particular area of the application. Examples include |
|
|
no |
A
function that will filter actions based on some conditions. |
console.action/group
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
ID used to identify the action section. |
|
|
yes |
The label to display in the UI. Required for submenus. |
|
|
yes |
Whether this group should be displayed as submenu. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is
used. The |
console.action/provider
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The context ID helps to narrow the scope of
contributed actions to a particular area of the application. Examples include |
|
|
no |
A React hook
that returns actions for the given scope. If |
console.action/resource-provider
console.catalog/item-filter
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The unique identifier for the catalog this provider contributes to. |
|
|
no |
Type ID for the catalog item type. |
|
|
no |
Filters items
of a specific type. Value is a function that takes |
console.catalog/item-metadata
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The unique identifier for the catalog this provider contributes to. |
|
|
no |
Type ID for the catalog item type. |
|
|
no |
A hook which returns a function that will be used to provide metadata to catalog items of a specific type. |
console.catalog/item-provider
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The unique identifier for the catalog this provider contributes to. |
|
|
no |
Type ID for the catalog item type. |
|
|
no |
Title for the catalog item provider |
|
|
no |
Fetch items and normalize it for the catalog. Value is a react effect hook. |
|
|
yes |
Priority for this provider. Defaults to |
console.catalog/item-type
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Type for the catalog item. |
|
|
no |
Title for the catalog item. |
|
|
yes |
Description for the type specific catalog. |
|
|
yes |
Description for the catalog item type. |
|
|
yes |
Custom filters specific to the catalog item. |
|
|
yes |
Custom groupings specific to the catalog item. |
console.cluster-overview/multiline-utilization-item
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The title of the utilization item. |
|
|
no |
Prometheus utilization query. |
|
|
no |
Convert Prometheus data to human-readable form. |
|
|
yes |
Shows Top consumer popover instead of plain value |
console.cluster-overview/utilization-item
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The title of the utilization item. |
|
|
no |
Prometheus utilization query. |
|
|
no |
Convert Prometheus data to human-readable form. |
|
|
yes |
Prometheus total query. |
|
|
yes |
Prometheus request query. |
|
|
yes |
Prometheus limit query. |
|
|
yes |
Shows Top consumer popover instead of plain value |
console.dashboards/card
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The ID of the dashboard tab to which the card will be added. |
|
|
no |
The grid position of the card on the dashboard. |
|
|
no |
Dashboard card component. |
|
|
yes |
Card’s vertical span in the column.
Ignored for small screens; defaults to |
console.dashboards/overview/activity/resource
Adds an activity to the Activity Card of Overview Dashboard where the triggering of activity is based on watching a Kubernetes resource.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The utilization item to be replaced. |
|
|
no |
The action component. |
|
|
yes |
Function which determines if the given resource represents the action. If not defined, every resource represents activity. |
|
|
yes |
Time stamp for the given action, which will be used for ordering. |
console.dashboards/overview/health/operator
Adds a health subsystem to the status card of the Overview dashboard, where the source of status is a Kubernetes REST API.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Title of Operators section in the pop-up menu. |
|
|
no |
Kubernetes resources
which will be fetched and passed to |
|
|
yes |
Resolves status for the Operators. |
|
|
yes |
Loader for pop-up row component. |
|
|
yes |
Links to all resources page. If not provided, then a list page of the first resource from resources prop is used. |
console.dashboards/overview/health/prometheus
Adds a health subsystem to the status card of Overview dashboard where the source of status is Prometheus.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The display name of the subsystem. |
|
|
no |
The Prometheus queries |
|
|
no |
Resolve the subsystem’s health. |
|
|
yes |
Additional
resource which will be fetched and passed to |
|
|
yes |
Loader for pop-up menu content. If defined, a health item is represented as a link, which opens a pop-up menu with the given content. |
|
|
yes |
The title of the popover. |
|
|
yes |
Control plane topology for which the subsystem should be hidden. |
console.dashboards/overview/health/resource
Adds a health subsystem to the status card of Overview dashboard where the source of status is a Kubernetes Resource.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The display name of the subsystem. |
|
|
no |
Kubernetes resources
that will be fetched and passed to |
|
|
no |
Resolve the subsystem’s health. |
|
|
yes |
Loader for pop-up menu content. If defined, a health item is represented as a link, which opens a pop-up menu with the given content. |
|
|
yes |
The title of the popover. |
console.dashboards/overview/health/url
Adds a health subsystem to the status card of Overview dashboard where the source of status is a Kubernetes REST API.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The display name of the subsystem. |
|
|
no |
The URL to fetch data from. It will be prefixed with base Kubernetes URL. |
|
`CodeRef<URLHealthHandler<T, K8sResourceCommon |
K8sResourceCommon[]>>` |
no |
Resolve the subsystem’s health. |
|
|
yes |
Additional
resource which will be fetched and passed to |
|
|
yes |
Loader for popup content. If defined, a health item will be represented as a link which opens popup with given content. |
|
|
yes |
console.dashboards/overview/inventory/item
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The model for |
|
|
yes |
Function which maps various statuses to groups. |
|
|
yes |
Additional
resources which will be fetched and passed to the |
console.dashboards/overview/inventory/item/replacement
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The model for |
|
|
yes |
Function which maps various statuses to groups. |
|
|
yes |
Additional
resources which will be fetched and passed to the |
console.dashboards/overview/prometheus/activity/resource
Adds an activity to the Activity Card of Prometheus Overview Dashboard where the triggering of activity is based on watching a Kubernetes resource.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Queries to watch |
|
|
no |
The action component. |
|
|
yes |
Function which determines if the given resource represents the action. If not defined, every resource represents activity. |
console.dashboards/project/overview/item
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The model for |
|
|
yes |
Function which maps various statuses to groups. |
|
|
yes |
Additional
resources which will be fetched and passed to the |
console.global-config
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Unique identifier for the cluster config resource instance. |
|
|
no |
The name of the cluster config resource instance. |
|
|
no |
The model which refers to a cluster config resource. |
|
|
no |
The namespace of the cluster config resource instance. |
console.model-metadata
Customize the display of models by overriding values retrieved and generated through API discovery.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The model to customize. May specify only a group, or optional version and kind. |
|
|
yes |
Whether to consider this model reference as Technology Preview or Developer Preview. |
|
|
yes |
The color to associate to this model. |
|
|
yes |
Override the label. Requires |
|
|
yes |
Override the plural label. Requires
|
|
|
yes |
Customize the abbreviation. Defaults to all
uppercase characters in |
console.navigation/href
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this item. |
|
|
no |
The name of this item. |
|
|
no |
The link href value. |
|
|
yes |
The perspective ID to which this item belongs to. If not specified, contributes to the default perspective. |
|
|
yes |
Navigation section to which this item belongs to. If not specified, render this item as a top level link. |
|
|
yes |
Adds data attributes to the DOM. |
|
|
yes |
Mark this item as active when the URL starts with one of these paths. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is used.
|
|
|
yes |
If |
|
|
yes |
If |
console.navigation/resource-cluster
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this item. |
|
|
no |
The model for which this navigation item links to. |
|
|
yes |
The perspective ID to which this item belongs to. If not specified, contributes to the default perspective. |
|
|
yes |
Navigation section to which this item belongs to. If not specified, render this item as a top-level link. |
|
|
yes |
Adds data attributes to the DOM. |
|
|
yes |
Mark this item as active when the URL starts with one of these paths. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is used.
|
|
|
yes |
Overrides the default name. If not supplied the name of the link will equal the plural value of the model. |
console.navigation/resource-ns
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this item. |
|
|
no |
The model for which this navigation item links to. |
|
|
yes |
The perspective ID to which this item belongs to. If not specified, contributes to the default perspective. |
|
|
yes |
Navigation section to which this item belongs to. If not specified, render this item as a top-level link. |
|
|
yes |
Adds data attributes to the DOM. |
|
|
yes |
Mark this item as active when the URL starts with one of these paths. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is used.
|
|
|
yes |
Overrides the default name. If not supplied the name of the link will equal the plural value of the model. |
console.navigation/section
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this item. |
|
|
yes |
The perspective ID to which this item belongs to. If not specified, contributes to the default perspective. |
|
|
yes |
Adds data attributes to the DOM. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is used.
|
|
|
yes |
Name of this section. If not supplied, only a separator will be shown above the section. |
console.navigation/separator
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this item. |
|
|
yes |
The perspective ID to which this item belongs to. If not specified, contributes to the default perspective. |
|
|
yes |
Navigation section to which this item belongs to. If not specified, render this item as a top level link. |
|
|
yes |
Adds data attributes to the DOM. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is used.
|
console.page/route
Adds a new page to the web console router. See React router.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The component to be rendered when the route matches. |
|
|
no |
Valid URL path or array of paths that
|
|
|
yes |
The perspective to which this page belongs to. If not specified, contributes to all perspectives. |
|
|
yes |
When true, will only match if the path matches
the |
console.page/route/standalone
Adds a new standalone page, rendered outside the common page layout, to the web console router. See React router.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The component to be rendered when the route matches. |
|
|
no |
Valid URL path or array of paths that
|
|
|
yes |
When true, will only match if the path matches
the |
console.perspective
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The perspective identifier. |
|
|
no |
The perspective display name. |
|
|
no |
The perspective display icon. |
|
|
no |
The function to get perspective landing page URL. |
|
|
no |
The function to get redirect URL for import flow. |
|
|
yes |
Whether the perspective is the default. There can only be one default. |
|
|
yes |
Default pinned resources on the nav |
|
|
yes |
The hook to detect default perspective |
console.project-overview/utilization-item
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The title of the utilization item. |
|
|
no |
Prometheus utilization query. |
|
|
no |
Convert Prometheus data to human-readable form. |
|
|
yes |
Prometheus total query. |
|
|
yes |
Prometheus request query. |
|
|
yes |
Prometheus limit query. |
|
|
yes |
Shows the top consumer popover instead of plain value. |
console.pvc/delete
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Predicate that tells whether to use the extension or not. |
|
|
no |
Method for the PVC delete operation. |
|
|
no |
Alert component to show additional information. |
console.pvc/status
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Priority for the status component. A larger value means higher priority. |
|
|
no |
The status component. |
|
|
no |
Predicate that tells whether to render the status component or not. |
console.tab/horizontalNav
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The model for which this provider show tab. |
|
|
no |
The page to be show in horizontal tab. It takes tab name as name and href of the tab |
|
|
no |
The component to be rendered when the route matches. |
console.topology/adapter/build
console.topology/adapter/network
console.topology/adapter/pod
console.topology/data/factory
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
Unique ID for the factory. |
|
|
no |
Priority for the factory |
|
|
yes |
Resources to be fetched from useK8sWatchResources hook. |
|
|
yes |
Keys in resources containing workloads. |
|
|
yes |
Getter for the data model factory. |
|
|
yes |
Getter for function to determine if a resource is depicted by this model factory. |
|
|
yes |
Getter for function to reconcile data model after all extensions' models have loaded. |
console.topology/details/tab
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this details tab. |
|
|
no |
The tab label to display in the UI. |
|
|
yes |
Insert this item before the item referenced here. For arrays, the first one found in order is used. |
|
|
yes |
Insert this item after the
item referenced here. For arrays, the first one found in order is
used. The |
console.topology/details/tab-section
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
A unique identifier for this details tab section. |
|
|
no |
The parent tab ID that this section should contribute to. |
|
|
no |
A hook that returns a component, or if null or undefined renders in the topology sidebar.SDK component: <Section title=\{}>… padded area |
|
`CodeRef<(element: GraphElement, renderNull?: () ⇒ null) ⇒ React.Component |
undefined>` |
no |
@deprecated Fallback if no provider is defined. renderNull is a no-op already. |
|
|
yes |
Insert this item before the item referenced here.For arrays, the first one found in order is used. |
|
|
yes |
console.user-preference/group
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
ID used to identify the user preference group. |
|
|
no |
The label of the user preference group |
|
|
yes |
ID of user preference group before which this group should be placed |
|
|
yes |
ID of user preference group after which this group should be placed |
console.user-preference/item
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
ID used to identify the user preference item and referenced in insertAfter and insertBefore to define the item order. |
|
|
no |
The label of the user preference |
|
|
no |
The description of the user preference. |
|
|
no |
The input field options used to render the values to set the user preference. |
|
|
yes |
IDs used to identify the user preference groups the item would belong to. |
|
|
yes |
ID of user preference item before which this item should be placed |
|
|
yes |
ID of user preference item after which this item should be placed |
dev-console.add/action
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
ID used to identify the action. |
|
|
no |
The label of the action |
|
|
no |
The description of the action. |
|
|
no |
The href to navigate to. |
|
|
yes |
IDs used to identify the action groups the action would belong to. |
|
|
yes |
The perspective display icon. |
|
|
yes |
Optional access review to control the visibility or enablement of the action. |
dev-console.add/action-group
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
ID used to identify the action group. |
|
|
no |
The title of the action group |
|
|
yes |
ID of action group before which this group should be placed |
|
|
yes |
ID of action group after which this group should be placed |
console.page/resource/tab
Deprecated. Use console.tab/horizontalNav
instead. Adds a new resource
tab page to Console router.
Name | Value Type | Optional | Description |
---|---|---|---|
|
|
no |
The model for which this resource page links to. |
|
|
no |
The component to be rendered when the route matches. |
|
|
no |
The name of the tab. |
|
|
yes |
The optional href for the tab link. If not
provided, the first |
|
|
yes |
When true, will only match if the path matches
the |
Refer to this list of troubleshooting tips if you run into issues loading your plugin.
Verify that you have enabled your plugin in the console Operator configuration and your plugin name is the output by running the following command:
$ oc get console.operator.openshift.io cluster -o jsonpath='{.spec.plugins}'
Verify the enabled plugins on the status card of the Overview page in the Administrator perspective. You must refresh your browser if the plugin was recently enabled.
Verify your plugin service is healthy by:
Verifying your plugin pod status is running and your containers are ready.
Verifying the service label selector matches the pod and the target port is correct.
Using the curl command with the plugin-manifest.json
from the service in a terminal on the console pod or another pod on the cluster.
Verify your ConsolePlugin
resource name (consolePlugin.name
) matches the plugin name used in package.json
.
Verify your service name, namespace, port, and path are declared correctly in the ConsolePlugin
resource.
Verify your plugin service uses HTTPS and service serving certificates.
Verify any certificates or connection errors in the console pod logs.
Verify the feature flag your plugin relies on is not disabled.
Verify your plugin does not have any consolePlugin.dependencies
in package.json
that are not met.
This can include console version dependencies or dependencies on other plugins. Filter the JS console in your browser for your plugin’s name to see messages that are logged.
Verify there are no typographical errors in the navigation extension perspective or section IDs.
Your plugin might be loaded, but navigation items can be missing if IDs are incorrect. Try navigating to a plugin page directly by editing the URL.
Verify there are no network policies that are blocking traffic from the console pod to your plugin service.
If necessary, adjust network policies to allow console pods in the openshift-console
namespace to make requests to your service.
Verify the list of dynamic plugins to be loaded in your browser in the Console tab of the developer tools browser.
Evaluate window.SERVER_FLAGS.consolePlugins
to see the dynamic plugin on the Console front end.