-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ragul28/feature/upgrade
Feature/upgrade
- Loading branch information
Showing
11 changed files
with
54 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
piVersion: eksctl.io/v1alpha5 | ||
kind: ClusterConfig | ||
|
||
metadata: | ||
name: jmeter-cluster | ||
region: us-west-1 | ||
|
||
nodeGroups: | ||
- name: nodegroup-1 | ||
instanceType: t3a.small | ||
desiredCapacity: 3 | ||
volumeSize: 80 | ||
ssh: | ||
allow: true # will use ~/.ssh/id_rsa.pub as the default ssh key | ||
iam: | ||
withAddonPolicies: | ||
autoScaler: true | ||
ebs: true | ||
efs: true | ||
albIngress: true | ||
xRay: false | ||
cloudWatch: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# three node (two workers) cluster config | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
nodes: | ||
- role: control-plane | ||
- role: worker | ||
- role: worker | ||
- role: worker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,14 +28,9 @@ influxdb_pod=`kubectl get po -n $tenant | grep influxdb-jmeter | awk '{print $1} | |
kubectl exec -ti -n $tenant $influxdb_pod -- influx -execute 'CREATE DATABASE jmeter' | ||
## Create the influxdb datasource in Grafana | ||
echo "Creating the Influxdb data source" | ||
grafana_pod=`kubectl get po -n $tenant | grep jmeter-grafana | awk '{print $1}'` | ||
# echo "Creating the Influxdb data source" | ||
# grafana_pod=`kubectl get po -n $tenant | grep jmeter-grafana | awk '{print $1}'` | ||
## Make load test script in Jmeter master pod executable | ||
#Get Master pod details | ||
master_pod=`kubectl get po -n $tenant | grep jmeter-master | awk '{print $1}'` | ||
kubectl exec -ti -n $tenant $master_pod -- cp -r /load_test /jmeter/load_test | ||
kubectl exec -ti -n $tenant $master_pod -- chmod 755 /jmeter/load_test | ||
# kubectl exec -ti -n $tenant $grafana_pod -c grafana -- curl 'http://admin:[email protected]:3000/api/datasources' -X POST -H 'Content-Type: application/json;charset=UTF-8' --data-binary \ | ||
# '{"name":"jmeterdb","type":"influxdb","url":"http://jmeter-influxdb:8086","access":"proxy","isDefault":true,"database":"jmeter","user":"admin","password":"admin"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters