Skip to content
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

imprv: make the operator idemotent. #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mugioka
Copy link

@mugioka mugioka commented Aug 12, 2022

k6-operator が負荷試験の同時実行をサポートする(冪等性のある状態)まで使用する k6-operator。
マージはしない。

@mugioka mugioka force-pushed the imprv/make-the-operator-idempotent branch from b388da7 to 459cac0 Compare September 26, 2022 16:05
@mugioka mugioka force-pushed the imprv/make-the-operator-idempotent branch from 459cac0 to 26f63d6 Compare September 27, 2022 09:06
@@ -54,7 +54,7 @@ func NewInitializerJob(k6 *v1alpha1.K6, argLine string) (*batchv1.Job, error) {
var (
// k6 allows to run archive command on archives too so type of file here doesn't matter
scriptName = script.FullName()
archiveName = fmt.Sprintf("./%s.archived.tar", script.Filename)
archiveName = "./script.js.archived.tar"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ディレクトリを指定するとエラーになるので固定の名前にする

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant