$ yarn install
To get started using the dynamic plugin, you must set up your environment to write a new OKD dynamic plugin. For an example of how to write a new plugin, see Adding a tab to the pods page.
You can run the plugin using a local development environment. The OKD web console runs in a container connected to the cluster you have logged into.
In your terminal, run the following command to install the dependencies for your plugin using Yarn.
$ yarn install
After installing, run the following command to start Yarn.
$ yarn run start
In another terminal window, login to the OKD through the cli.
$ oc login
Run the OKD web console in a container connected to the cluster you have logged into by running the following command:
$ yarn run start-console
Visit localhost:9000 to view the running plugin. Inspect the value of window.SERVER_FLAGS.consolePlugins
to see the list of plugins that load at runtime.