This plugin extends the OpenShift console at runtime using webpack module federation. To run it locally, you need a running OpenShift console instance.
Follow these steps to run the OpenShift console in development mode:
- Follow the instructions in the OpenShift console README to build the application.
- Run the console bridge:
./bin/bridge -plugins console-plugin-nvidia-gpu=http://127.0.0.1:9001/ - Start the console in development mode: navigate to
console/frontendand runyarn run dev
After the OpenShift console is set up, perform the following steps:
- Install and configure the NVIDIA GPU Operator
- Clone this repository
- Install dependencies:
yarn install - Start the plugin in development mode:
yarn start
Some dependencies are pinned to specific versions due to compatibility requirements.
Reason: Version 8.x is incompatible with webpack module federation in @openshift-console/dynamic-plugin-sdk-webpack@1.1.1.
Impact: PatternFly 6 targets charts v8, but we must stay on v7 until the SDK is upgraded.
Resolution: Requires upgrading @openshift-console/dynamic-plugin-sdk-webpack to a version that supports PF6 charts (when available).
Reason: Required by @openshift-console/dynamic-plugin-sdk-webpack@1.1.1. Version 5.76.0+ causes build failure:
TypeError: The 'compilation' argument must be an instance of CompilationImpact: Cannot use webpack 5.76.0+ security fixes.
Resolution: Requires upgrading @openshift-console/dynamic-plugin-sdk-webpack to a version compatible with webpack 5.76.0+.
Reason: OpenShift console provides i18next as a shared module via webpack module federation.
Impact: Plugin must not bundle its own i18next to avoid duplicate instances and version conflicts.
Pattern: Declared in peerDependencies only, following the official console-plugin-template.
Current: @openshift-console/dynamic-plugin-sdk-webpack@1.1.1
Latest: 1.1.1 (as of Jan 2026)
Template Reference: console-plugin-template also uses 1.1.1, confirming this is the recommended stable version.