# apply the manifest
kustomize build config/samples | kubectl apply -f -
# check the gatling cr and it's status
kubectl get gatling gatling-sample01
kubectl get gatling gatling-sample01 -o jsonpath='{@.status}' |jq
Check if new additional printer columns are displayed
kubectl get gatling gatling-sample01
NAME RUNNED REPORTED NOTIFIED REPORTURL AGE
gatling-sample01 3/3 https://my-test-reports-0001.s3.amazonaws.com/gatling-sample01/3499717572/index.html 2m59s
Check if runnerCompletions field is added in Gatling CR status
[x] Tests have been added NOTE no test code added for now as it's the command output need to be checked in client side, but it'll be added when e2e tests are added
[x] Relevant docs have been added or modified (if applicable, ie. when new features are added or current features are modified)
Description
Support Additional printer columns for Gatling CR so that useful Gatling status will be displayed with
kubectl get gatling <name>
commandFor example, currently
kubectl get gatling <name>
only display like this:With this update,
kubectl get gatling <name>
will display like this (more useful information for users):Testing
case1: runner of parallelism 3 with no report + no notification pattern
base gatling CR is this.
apply the manifest and see the result
Check if new additional printer columns are displayed
Check if
runnerCompletions
field is added in Gatling CR statuscase2: Runner of parallelism 3 with report + notification pattern
base gatling CR is this.
apply the manifest and see the result
Check if new additional printer columns are displayed
Check if
runnerCompletions
field is added in Gatling CR statusChecklist
Please check if applicable
Relevant issue #
https://github.com/st-tech/gatling-operator/issues/50