-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual run inside Kubernetes via Job #7
Comments
And to handle dynamically Job name apiVersion: batch/v1
kind: Job
metadata:
name: cs-codex-dist-tests-${NOW}
namespace: cs-codex-dist-tests
labels:
name: cs-codex-dist-tests-${NOW}
run-id: ${NOW}
|
Since branch "KUBECONFIG" - Path to Kubeconfig YAML file, or null to use system default. I have actually been using this with a little setup script in the ben-pod! :D
|
This is a result of the short investigation how we can run dist-tests inside the Kubernetes via Job.
It helps us to understand what we should improve for automatic run inside the Kubernetes via Job and CLI app.
Now we can do it in the following way
kubeConfigFile
andLogging
Deploy
Create the following files
namespace.yaml
secret.yaml
config.yaml
job.yaml
Create resources
Results
As a result, Kubernetes will run the Job, which will a run a Pod with app, which will run the dist-tests
screenshots
Improvements proposal
The text was updated successfully, but these errors were encountered: