Skip to content

Commit eaf8edc

Browse files
authored
StaticIPs (#163)
* Added docs about ext.loadimpact.staticIPs
1 parent 5a108c5 commit eaf8edc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/data/markdown/docs/03 cloud/01 Creating and running a test/02 Running a test from the CLI.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export let options = {
113113
loadimpact: {
114114
name: 'Hello k6 cloud!',
115115
projectID: 123456,
116+
staticIPs: true,
116117
distribution: {
117118
distributionLabel1: { loadZone: 'amazon:us:ashburn', percent: 50 },
118119
distributionLabel2: { loadZone: 'amazon:ie:dublin', percent: 50 },
@@ -127,6 +128,7 @@ export let options = {
127128
| name (string) | Optional. The name of the main script file, so something like "script.js". | The name of the test in the k6 Cloud UI. Test runs with the same name will be grouped together. |
128129
| projectID (number) | Optional. It is empty by default. | The ID of the project in which the test is assigned in the k6 Cloud UI. By default, the default project of the user default organization. |
129130
| distribution (object) | Optional. The equivalent of `someDefaultLabel: { loadZone: "amazon:us:ashburn", percent: 100 }`. | How the traffic should be distributed. The keys are string labels that will be injected as [environment variables](/using-k6/environment-variables) on the appropriate nodes (matching the `loadZone`): `__ENV["someDefaultLabel"]` |
131+
| staticIPs (boolean) | Optional. `false` by default | When set to `true` the cloud system will use dedicated IPs assigned to your organization to execute the test. |
130132

131133
### List of supported load zones
132134

0 commit comments

Comments
 (0)