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

Add PrivateLoadZone CRD #227

Closed
6 tasks done
yorugac opened this issue May 5, 2023 · 1 comment
Closed
6 tasks done

Add PrivateLoadZone CRD #227

yorugac opened this issue May 5, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request PLZ

Comments

@yorugac
Copy link
Collaborator

yorugac commented May 5, 2023

Define and add PrivateLoadZone CRD following this approximate spec:

apiVersion: k6.io/v1alpha1
kind: PrivateLoadZone
metadata:
  name: amazing-plz
spec:
  token: cloud-token # mandatory
  resources: # mandatory
    cpu: ...
    memory: ...
  serviceAccountName: ... # or default
  nodeSelector: # or nil
    foo: bar

Subtasks:

  • Support loading token with the name in addition to labels.
  • Add PLZRegistered and CloudPLZTestRun conditions.
  • Once registered and if polling is not running, start the polling.
  • Polling test runs, sending to the channel. Create K6 resource for each test run.
  • On deletion of PLZ, call deregister.
  • Pass additional fields of PLZ CRD to K6 CRD.
@yorugac yorugac self-assigned this May 5, 2023
@yorugac yorugac added enhancement New feature or request PLZ labels May 5, 2023
@yorugac yorugac changed the title Add PLZ CRD Add PrivateLoadZone CRD May 5, 2023
@yorugac
Copy link
Collaborator Author

yorugac commented Jul 6, 2023

Most of the points were implemented in PR #238 except for:

On deletion of PLZ, call deregister.

Working deregistration is part of PR #239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PLZ
Projects
None yet
Development

No branches or pull requests

1 participant