Skip to content
Snippets Groups Projects
Commit 288a7557 authored by Sören Henning's avatar Sören Henning
Browse files

Reset execution time to 5 minutes

parent 7844395b
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ EXP_ID=$1 ...@@ -4,7 +4,7 @@ EXP_ID=$1
DIM_VALUE=$2 DIM_VALUE=$2
INSTANCES=$3 INSTANCES=$3
PARTITIONS=$4 PARTITIONS=$4
EXECUTION_MINUTES=10 EXECUTION_MINUTES=5
# Maybe start up Kafka # Maybe start up Kafka
...@@ -16,11 +16,14 @@ kubectl exec kafka-client -- bash -c "kafka-topics --zookeeper my-confluent-cp-z ...@@ -16,11 +16,14 @@ kubectl exec kafka-client -- bash -c "kafka-topics --zookeeper my-confluent-cp-z
# Start workload generator # Start workload generator
NUM_SENSORS=$DIM_VALUE NUM_SENSORS=$DIM_VALUE
#NUM_SENSORS=xy
sed "s/{{NUM_SENSORS}}/$NUM_SENSORS/g" uc4-workload-generator/deployment.yaml | kubectl apply -f - sed "s/{{NUM_SENSORS}}/$NUM_SENSORS/g" uc4-workload-generator/deployment.yaml | kubectl apply -f -
# Start application # Start application
REPLICAS=$INSTANCES REPLICAS=$INSTANCES
#AGGREGATION_DURATION_DAYS=$DIM_VALUE
kubectl apply -f uc4-application/aggregation-deployment.yaml kubectl apply -f uc4-application/aggregation-deployment.yaml
#sed "s/{{AGGREGATION_DURATION_DAYS}}/$AGGREGATION_DURATION_DAYS/g" uc4-application/aggregation-deployment.yaml | kubectl apply -f -
kubectl scale deployment titan-ccp-aggregation --replicas=$REPLICAS kubectl scale deployment titan-ccp-aggregation --replicas=$REPLICAS
# Execute for certain time # Execute for certain time
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment