Skip to content

Commit

Permalink
Merge pull request #83 from airavata-courses/kubesystem_v2
Browse files Browse the repository at this point in the history
Kubesystem v2
  • Loading branch information
bobbyrathoree authored Mar 18, 2020
2 parents dc81b87 + e98b8a9 commit a4dc715
Show file tree
Hide file tree
Showing 72 changed files with 7,668 additions and 924 deletions.
18 changes: 18 additions & 0 deletions deploy_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,21 @@ echo -e "\n\nCreating services, deployments and horizontal pod autoscalers from
j2 services/model_execution/deployment/model-execution-service.yaml.jinja services/model_execution/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/model_execution/deployment/model-execution-deployment.yaml.jinja services/model_execution/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/model_execution/deployment/model-execution-hpa.yaml.jinja services/model_execution/deployment/production_jinja.json --format=json | kubectl apply -f -


echo -e "\n\nCreating services, deployments and horizontal pod autoscalers from jinja templates for postprocessor microservice..."
j2 services/postprocessor/deployment/postprocessor-service.yaml.jinja services/postprocessor/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/postprocessor/deployment/postprocessor-deployment.yaml.jinja services/postprocessor/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/postprocessor/deployment/postprocessor-hpa.yaml.jinja services/postprocessor/deployment/production_jinja.json --format=json | kubectl apply -f -


echo -e "\n\nCreating services, deployments and horizontal pod autoscalers from jinja templates for user_server microservice..."
j2 services/user_server/deployment/user-server-service.yaml.jinja services/user_server/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/user_server/deployment/user-server-deployment.yaml.jinja services/user_server/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/user_server/deployment/user-server-hpa.yaml.jinja services/user_server/deployment/production_jinja.json --format=json | kubectl apply -f -


echo -e "\n\nCreating services, deployments and horizontal pod autoscalers from jinja templates for user_server microservice..."
j2 services/user_interface/deployment/user-interface-service.yaml.jinja services/user_interface/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/user_interface/deployment/user-interface-deployment.yaml.jinja services/user_interface/deployment/production_jinja.json --format=json | kubectl apply -f -
j2 services/user_interface/deployment/user-interface-hpa.yaml.jinja services/user_interface/deployment/production_jinja.json --format=json | kubectl apply -f -
9 changes: 9 additions & 0 deletions redis_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
redis:
cluster:
enabled: true
slaveCount: 3
usePassword: false
networkPolicy.enabled: true
# Sentinel enables HA
sentinel:
enabled: true
Loading

0 comments on commit a4dc715

Please sign in to comment.