Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Create simple Operator for Workload generation #151

Merged
merged 10 commits into from
Jun 18, 2020
Merged

Conversation

ANeumann82
Copy link
Contributor

@ANeumann82 ANeumann82 commented Jun 9, 2020

Added a small operator that deploys the cassandra-stress tool.
The KUTTL test deploys that operator, waits for it it finish running the workload and downloads the logs.

@ANeumann82 ANeumann82 marked this pull request as ready for review June 15, 2020 09:49
fsGroup: 999
containers:
- name: cassandra-stress
image: mesosphere/cassandra:3.11.6-1.0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to ensure that this version gets updated when the version defined in metadata.sh is changed. Should this get templatized like it is for the Cassandra operator?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah... It probably should. I shy away from templating it though, it feels like an additional step somehow, but I guess it's probably for the best. Still not sure if we should add templating to kuttl, but i guess it needs to be done at some point...

Copy link
Contributor

@nfnt nfnt left a comment

Choose a reason for hiding this comment

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

LGTM!

# Conflicts:
#	operator/params.yaml
Signed-off-by: Andreas Neumann <[email protected]>
Signed-off-by: Andreas Neumann <[email protected]>
Signed-off-by: Andreas Neumann <[email protected]>
@ANeumann82 ANeumann82 merged commit e05066d into master Jun 18, 2020
@ANeumann82 ANeumann82 deleted the an/stress-operator branch June 18, 2020 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants