Go to file
pengfei b075866072 增加Excel导出弹框 2017-12-19 11:37:04 +08:00
d.ts ---迁移任务分类 2017-02-13 15:50:55 +08:00
dist ---update 2017-02-21 09:30:51 +08:00
extendJs --添加校验界面 2016-10-20 16:32:04 +08:00
img 数据管理页面的样式修改 2016-09-06 17:41:58 +08:00
new 抽取等弹框样式修改 2016-12-20 09:20:53 +08:00
osconsole 数据管理页面的样式修改 2016-09-06 17:41:58 +08:00
plugins 增加Excel导出弹框 2017-12-19 11:37:04 +08:00
.bowerrc “V_1.0” 2016-06-28 10:22:53 +08:00
.gitignore --添加依赖包 2016-11-14 11:19:09 +08:00
Dockerfile “V_1.0” 2016-06-28 10:22:53 +08:00
LICENSE.txt “V_1.0” 2016-06-28 10:22:53 +08:00
ReadMe.md “V_1.0” 2016-06-28 10:22:53 +08:00
bower.json --添加校验界面 2016-10-20 16:32:04 +08:00
circle.yml “V_1.0” 2016-06-28 10:22:53 +08:00
defs.d.ts ---修复数据管理分页Bug 2016-12-16 17:23:01 +08:00
gulpfile.js 增加Excel导出弹框 2017-12-19 11:37:04 +08:00
hawtio-kubernetes.iml 数据管理页面的样式修改 2016-09-06 17:41:58 +08:00
index.html 横向滚动条、停止删除提醒界面、配置添加界面、EXCEL导入界面样式修改 2016-12-19 15:13:14 +08:00
libs.rar --添加依赖包 2016-11-14 11:19:09 +08:00
node_modules.rar --添加依赖包 2016-11-14 11:19:09 +08:00
package.json 数据管理页面的样式修改 2016-09-06 17:41:58 +08:00

ReadMe.md

hawtio-kubernetes Circle CI

This plugin provides a Kubernetes console for hawtio

controllers tab screenshot

Running

Running a release

If you have a Kubernetes or OpenShift environment, the easiest way to try out this console is to just run the app directly in kubernetes via these instructions

Or you can try running the fabric8/hawtio-kubernetes docker image:

docker pull fabric8/hawtio-kubernetes
docker run -it -p 9090:9090 -e KUBERNETES_SERVICE_HOST=$DOCKER_IP fabric8/hawtio-kubernetes

Where DOCKER_IP is the IP address or host running the kubernetes master.

Running this plugin locally

First clone the source

git clone https://github.com/hawtio/hawtio-kubernetes.git
cd hawtio-kubernetes

Next you'll need to install NodeJS and then install the default global npm dependencies:

npm install -g bower gulp slush slush-hawtio-javascript slush-hawtio-typescript typescript

Then install all local nodejs packages and update bower dependencies via:

npm install
bower update

Next you need to setup the KUBERNETES_MASTER environment variable to point to the kubernetes master you want to run against. e.g.

export KUBERNETES_MASTER=https://$DOCKER_IP:8443

Where DOCKER_IP is the IP address or host running the kubernetes master.

If you need to disable OAUTH authentication in development try use DISABLE_OAUTH:

export DISABLE_OAUTH=true

Then to run the web application:

gulp

Install the bower package

bower install --save hawtio-kubernetes

Output build to a different directory

When developing this plugin in a dependent console you can change the output directory where the compiled .js and .css go. Just use the 'out' flag to set a different output directory, for example:

gulp watch --out=../fabric8-console/libs/hawtio-kubernetes/dist/

Whenever the build completes the compiled .js file will be put into the target directory. Don't forget to first do a gulp build without this flag before committing changes!