Add kubernetes driver for executing structured tests#553
Add kubernetes driver for executing structured tests#553pieterjanpintens wants to merge 1 commit intoGoogleContainerTools:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Warning Gemini encountered an error creating the summary. You can try again by commenting |
| if !d.AllowReuse || d.podName == "" { | ||
| logrus.Info("k8s driver creating pod") | ||
| allEnvs := append(d.env, envVars...) | ||
| // create a pod that waits |
There was a problem hiding this comment.
the k8es api does not seem to allow to get stderr and stdout as seperate streams with the regular 'start pod'. You can fetch the logs but they are mixed streams.
The trick is thus to spawn a pod that waits and to execute the actual command with another api call in the pod. This api does allow to have seperate streams.
Would fix issue #311