Skip to content

skupperproject/skupper-site-console

Repository files navigation

Skupper OpenShift Console V2 Plugin Guide

Status: Working in progress

This plugin for Openshift installs a tab in Projects -> < project name > to create a Skupper network. The purpose of this plugin is purely educational to get familiar with Skupper commands.

Pre-requisites

  • Openshift >= 4.15
  • Skupper V2 CRDs installed

kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_certificate_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_access_token_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_connector_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_access_grant_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_router_access_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_link_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_listener_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_secured_access_crd.yaml kubectl apply -f https://raw.githubusercontent.com/skupperproject/skupper/v2/api/types/crds/skupper_site_crd.yaml

then from the root of this project install the skupper V2 controller:

kubectl -n skupper apply -f deploy_cluster_scope.yaml

Installing the Dynamic Plugin in Openshift

To install the dynamic plugin, follow these steps:

  • Authenticate with your cluster:, then run the following command in the directory containing your manifest.json file.

    oc apply -f manifest.json

    or

    kubectl apply -f manifest.json
  • Enable the plugin directly from the Openshift console: You can view the list of the enabled plugins by navigating from Administration → Cluster Settings → Configuration → Console operator.openshift.io → Console plugins or on the Overview page.

Dynamic Plugin development

  • Install the modules:

    yarn install
  • Start the development server: Open a terminal and run:

    yarn start
  • Launch the console development environment: Open another terminal window and execute:

    yarn start-console
  • Access the plugin: Open your browser and go to localhost:9000. You will find the "Service Interconnect" tab under "Project" -> 'name of your Project'.

About

Web tool for managing the setup of a Skupper Network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages