Skip to content

Commit

Permalink
updated README.MD with clustering info
Browse files Browse the repository at this point in the history
  • Loading branch information
nohshow committed Dec 31, 2015
1 parent 2edeb43 commit e959004
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ As a project adminstrator, run this

`oc new-app nodejs-datagrid65-example`

### Clustered DG nodes
To test of the clustering of DG nodes by increasing the number of replicas, you need to ensure the following commands are run by the project admin before attempting to scale up the nodes


'oc policy add-role-to-user view system:serviceaccount:$(oc project -q):default -n $(oc project -q)'

'oc policy add-role-to-user view system:serviceaccount:$(oc project -q):eap-service-account -n $(oc project -q)'

### Parameters

Some of the parameters used in the template, the rest are self-explanatory
Expand All @@ -42,15 +50,10 @@ Some of the parameters used in the template, the rest are self-explanatory

application domain for node js app
* DG_HOSTNAME_HTTP

application domain for jdg nodes. for external text via rest api

### Clustered DG nodes
To test of the clustering of DG nodes by increasing the number of replicas, you need to ensure the following commands are run by the project admin before attempting to scale up the nodes


'oc policy add-role-to-user view system:serviceaccount:$(oc project -q):default -n $(oc project -q)'

'oc policy add-role-to-user view system:serviceaccount:$(oc project -q):eap-service-account -n $(oc project -q)'




0 comments on commit e959004

Please sign in to comment.