/openshift/adei

To get this branch, use:
bzr branch http://darksoft.org/webbzr/openshift/adei

« back to all changes in this revision

Viewing changes to scripts/openshift/provision.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2020-01-15 01:44:00 UTC
  • Revision ID: csa@suren.me-20200115014400-qi10ii73y18i3yq8
Layout fixes for CALCView

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    oc -n $ADEI_NS new-app --template=adei -p setup=autogen -p enable_logs=0 -p adei_replicas=1 -p cache_replicas=1 -p sched_parallel=sources -p cache_parallel=sources -p continuous_caching=1
10
10
    ;;
11
11
  katrin)
12
 
    oc -n $ADEI_NS new-app --template=adei -p setup=katrin -p enable_logs=1 -p adei_replicas=1 -p cache_replicas=3 -p sched_parallel=sources -p cache_parallel=groups -p haproxy_timeout=300s
 
12
    oc -n $ADEI_NS new-app --template=adei -p setup=katrin -p enable_logs=1 -p adei_replicas=1 -p cache_replicas=3 -p sched_parallel=sources -p cache_parallel=groups -p haproxy_timeout=300s -p maintain_schedule="*/17 * * * *" -p update_schedule="*/7 * * * *"
 
13
    ;;
 
14
  darwin)
 
15
    oc -n $ADEI_NS new-app --template=adei -p setup=darwin -p enable_logs=0 -p adei_replicas=1 -p cache_replicas=1 -p sched_parallel=sources -p cache_parallel=groups -p haproxy_timeout=300s
 
16
    ;;
 
17
  smartgrid)
 
18
    oc -n $ADEI_NS new-app --template=adei -p setup=smartgrid -p enable_logs=0 -p adei_replicas=1 -p cache_replicas=1 -p sched_parallel=sources -p cache_parallel=groups -p haproxy_timeout=300s
 
19
    ;;
 
20
  munin)
 
21
    oc -n $ADEI_NS new-app --template=adei -p setup=munin -p data_path=munin -p forbid_data_writes=false -p enable_logs=0 -p adei_replicas=1 -p cache_replicas=1 -p archive_replicas=0 -p sched_parallel=servers -p cache_parallel=servers -p haproxy_timeout=300s
 
22
    oc -n $ADEI_NS process munin-builders | oc -n $ADEI_NS create -f -
 
23
    oc -n $ADEI_NS new-app --template=munin-pods -p munin_nodes="styx:192.168.26.117"
13
24
    ;;
14
25
  all)
15
26
    bash provision.sh -s autogen "$@"
16
27
    bash provision.sh -s katrin "$@"
 
28
    bash provision.sh -s darwin "$@"
 
29
    bash provision.sh -s smartgrid "$@"
17
30
    ;;
18
31
  *)
19
32
    echo "setup is not configured yet"