This repository contains the code for Kruize Autotune user interface. The objective behind creating the UI is to enable newbies to explore and contribute to Autotune and simplify the initial steps of starting an Autotune experiment. The UI significantly reduces the burden on user to understand, operate and work with Autotune. Not only this it also helps better explain and present what remarkable optimizations Autotune can bring to site reliability engineering.
git clone [email protected]:kruize/kruize-ui.git
cd kruize-ui
git fetch origin
git checkout -b mvp_demo origin/mvp_demo
npm install
To run the kruize ui you can select any of the 2 options :
- Native way
If you are starting the UI for the very first time, it is suggested to Latest Node.js source code can be downloaded from here. To run the Kruize-ui: clone the repository and then execute the following command to run the launch script locally.
./deploy.sh -d
- Containerized way
We make use of nginx as a default react server for the UI.
Create the image using the following command
docker build -t kruize-ui .
Run the application using the following command
docker run --rm -it -p 8080:8080 kruize-ui
here ui-demo is the image name.
Use http://localhost:8080/ to view the UI in Browser.
This repository uses the patternfly-react-seed base code as copied from Patternfly Seed.