@@ -32,7 +32,7 @@ docker run --pull=always --env-file aws_envs \
32
32
-v " /$PWD /dcapt-small.tfvars:/data-center-terraform/conf.tfvars" \
33
33
-v " /$PWD /dcapt-snapshots.json:/data-center-terraform/dcapt-snapshots.json" \
34
34
-v " /$PWD /logs:/data-center-terraform/logs" \
35
- -it atlassianlabs/terraform:2.9.7 ./install.sh -c conf.tfvars
35
+ -it atlassianlabs/terraform:2.9.8 ./install.sh -c conf.tfvars
36
36
```
37
37
### Terminate development environment
38
38
Note: install and uninstall commands have to use the same ` atlassianlabs/terraform:TAG ` image tag.
@@ -44,7 +44,7 @@ docker run --pull=always --env-file aws_envs \
44
44
-v " /$PWD /dcapt-small.tfvars:/data-center-terraform/conf.tfvars" \
45
45
-v " /$PWD /dcapt-snapshots.json:/data-center-terraform/dcapt-snapshots.json" \
46
46
-v " /$PWD /logs:/data-center-terraform/logs" \
47
- -it atlassianlabs/terraform:2.9.7 ./uninstall.sh -c conf.tfvars
47
+ -it atlassianlabs/terraform:2.9.8 ./uninstall.sh -c conf.tfvars
48
48
```
49
49
50
50
# Enterprise-scale environment
@@ -61,7 +61,7 @@ docker run --pull=always --env-file aws_envs \
61
61
-v " /$PWD /dcapt.tfvars:/data-center-terraform/conf.tfvars" \
62
62
-v " /$PWD /dcapt-snapshots.json:/data-center-terraform/dcapt-snapshots.json" \
63
63
-v " /$PWD /logs:/data-center-terraform/logs" \
64
- -it atlassianlabs/terraform:2.9.7 ./install.sh -c conf.tfvars
64
+ -it atlassianlabs/terraform:2.9.8 ./install.sh -c conf.tfvars
65
65
```
66
66
### Terminate enterprise-scale environment
67
67
Note: install and uninstall commands have to use the same ` atlassianlabs/terraform:TAG ` image tag.
@@ -73,7 +73,7 @@ docker run --pull=always --env-file aws_envs \
73
73
-v " /$PWD /dcapt.tfvars:/data-center-terraform/conf.tfvars" \
74
74
-v " /$PWD /dcapt-snapshots.json:/data-center-terraform/dcapt-snapshots.json" \
75
75
-v " /$PWD /logs:/data-center-terraform/logs" \
76
- -it atlassianlabs/terraform:2.9.7 ./uninstall.sh -c conf.tfvars
76
+ -it atlassianlabs/terraform:2.9.8 ./uninstall.sh -c conf.tfvars
77
77
```
78
78
79
79
# Collect detailed k8s logs
@@ -93,7 +93,7 @@ export REGION=us-east-2
93
93
docker run --pull=always --env-file aws_envs \
94
94
-v " /$PWD /k8s_logs:/data-center-terraform/k8s_logs" \
95
95
-v " /$PWD /logs:/data-center-terraform/logs" \
96
- -it atlassianlabs/terraform:2.9.7 ./scripts/collect_k8s_logs.sh atlas-$ENVIRONMENT_NAME -cluster $REGION k8s_logs
96
+ -it atlassianlabs/terraform:2.9.8 ./scripts/collect_k8s_logs.sh atlas-$ENVIRONMENT_NAME -cluster $REGION k8s_logs
97
97
```
98
98
99
99
# Force terminate cluster
@@ -126,7 +126,7 @@ atlassian/dcapt terminate_cluster.py --cluster_name atlas-$ENVIRONMENT_NAME-clus
126
126
docker run --pull=always --env-file aws_envs \
127
127
-e ENVIRONMENT_NAME=$ENVIRONMENT_NAME \
128
128
-e REGION=$REGION \
129
- -it atlassianlabs/terraform:2.9.7 bash
129
+ -it atlassianlabs/terraform:2.9.8 bash
130
130
` ` `
131
131
132
132
5. Connect to the product pod. Example below for jira pod with number 0. For other product or pod number change ` PRODUCT_POD` accordingly.
@@ -150,7 +150,7 @@ atlassian/dcapt terminate_cluster.py --cluster_name atlas-$ENVIRONMENT_NAME-clus
150
150
-e ENVIRONMENT_NAME=$ENVIRONMENT_NAME \
151
151
-e REGION=$REGION \
152
152
-v " /$PWD :/data-center-terraform/dc-app-performance-toolkit" \
153
- -it atlassianlabs/terraform:2.9.7 bash
153
+ -it atlassianlabs/terraform:2.9.8 bash
154
154
` ` `
155
155
5. Copy code base and connect to the execution environment pod:
156
156
` ` ` bash
@@ -178,7 +178,7 @@ atlassian/dcapt terminate_cluster.py --cluster_name atlas-$ENVIRONMENT_NAME-clus
178
178
-e REGION=$REGION \
179
179
-e PRODUCT=$PRODUCT \
180
180
-v " /$PWD /script-runner.yml:/data-center-terraform/script-runner.yml" \
181
- -it atlassianlabs/terraform:2.9.7 bash
181
+ -it atlassianlabs/terraform:2.9.8 bash
182
182
` ` `
183
183
5. Run following commands one by one inside docker container:
184
184
` ` ` bash
@@ -206,7 +206,7 @@ To enable detailed CPU/Memory monitoring and Grafana dashboards for visualisatio
206
206
docker run --pull=always --env-file aws_envs \
207
207
-e ENVIRONMENT_NAME=$ENVIRONMENT_NAME \
208
208
-e REGION=$REGION \
209
- -it atlassianlabs/terraform:2.9.7 bash
209
+ -it atlassianlabs/terraform:2.9.8 bash
210
210
` ` `
211
211
` ` ` bash
212
212
aws eks update-kubeconfig --name atlas-$ENVIRONMENT_NAME -cluster --region $REGION
@@ -242,7 +242,7 @@ Note: this option is **not** suitable for full-scale performance runs as local n
242
242
-e ENVIRONMENT_NAME=$ENVIRONMENT_NAME \
243
243
-v " /$PWD :/data-center-terraform/dc-app-performance-toolkit" \
244
244
-v " /$PWD /app/util/k8s/bzt_on_pod.sh:/data-center-terraform/bzt_on_pod.sh" \
245
- -it atlassianlabs/terraform:2.9.7 bash bzt_on_pod.sh jira.yml
245
+ -it atlassianlabs/terraform:2.9.8 bash bzt_on_pod.sh jira.yml
246
246
` ` `
247
247
248
248
# Retry to copy run results from the execution environment pod to local
@@ -259,7 +259,7 @@ Note: this option is **not** suitable for full-scale performance runs as local n
259
259
-e ENVIRONMENT_NAME=$ENVIRONMENT_NAME \
260
260
-v " /$PWD :/data-center-terraform/dc-app-performance-toolkit" \
261
261
-v " /$PWD /app/util/k8s/copy_run_results.sh:/data-center-terraform/copy_run_results.sh" \
262
- -it atlassianlabs/terraform:2.9.7 bash copy_run_results.sh
262
+ -it atlassianlabs/terraform:2.9.8 bash copy_run_results.sh
263
263
` ` `
264
264
265
265
# Debug AWS required policies
@@ -268,7 +268,7 @@ Note: this option is **not** suitable for full-scale performance runs as local n
268
268
3. Start and ssh to ` atlassianlabs/terraform` docker container:
269
269
` ` ` bash
270
270
docker run --pull=always --env-file aws_envs \
271
- -it atlassianlabs/terraform:2.9.7 bash
271
+ -it atlassianlabs/terraform:2.9.8 bash
272
272
` ` `
273
273
4. Make sure you have IAM policies with names ` policy1` , ` policy2` , created from [policy1.json](https://github.com/atlassian-labs/data-center-terraform/blob/main/permissions/policy1.json) and [policy2.json](https://github.com/atlassian-labs/data-center-terraform/blob/main/permissions/policy2.json).
274
274
5. Run following commands one by one inside docker container to get effective policies permissions:
0 commit comments