You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose a new feature that provides a unique numerical identifier for each Pod in a Kubernetes Cluster.
In scenarios where the parallelism is set to n, n Jobs are created and deployed to the Cluster.
Each Job, upon instantiation, would get a unique numerical identifier (1, 2, 3, ..., n) stored in the Pod environment variables.
I am willing to contribute to this improvement in the gatling-operator.
Thank you for considering this request.
The text was updated successfully, but these errors were encountered:
andrzejmikolajczakds
changed the title
[Feature Request]: Add pod number as a env into each GatlingRunnerJob pod
[Feature Request]: unique numerical identifier for each Pod in a Kubernetes Cluster
Nov 27, 2024
Currently gatling operator run instances where the only difference between run instances is environment variable containing a random string passed by kubernetes. EG HOSTNAME.
In our project we need to process repeatable tests using multiple test instances.
eg:
We need to generate/update 500 resources using 5 instances. So we would like that
instance 1 will generate/update resource with ID: instanceId-1-resource-1, instanceId-1-resource-2, ..... instanceId-1-resource-100
instance 2 will generate/update resource with ID: instanceId-2-resource-1, instanceId-2-resource-2, ..... instanceId-2-resource-100
.
.
.
Having InstanceId as a variable in run POD we can do this and next tests run will generate/update the same resources.
Using environment variable containing a random string passed by kubernetes each tests run will generate resources which ID are not repeatable in next tests runs.
Summary
I propose a new feature that provides a unique numerical identifier for each Pod in a Kubernetes Cluster.
In scenarios where the parallelism is set to n, n Jobs are created and deployed to the Cluster.
Each Job, upon instantiation, would get a unique numerical identifier (1, 2, 3, ..., n) stored in the Pod environment variables.
I am willing to contribute to this improvement in the gatling-operator.
Thank you for considering this request.
The text was updated successfully, but these errors were encountered: