-
Notifications
You must be signed in to change notification settings - Fork 3
Create simple Operator for Workload generation #151
Conversation
Signed-off-by: Andreas Neumann <[email protected]>
Signed-off-by: Andreas Neumann <[email protected]>
Signed-off-by: Andreas Neumann <[email protected]>
Signed-off-by: Andreas Neumann <[email protected]>
fsGroup: 999 | ||
containers: | ||
- name: cassandra-stress | ||
image: mesosphere/cassandra:3.11.6-1.0.0 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: Andreas Neumann <[email protected]>
# 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]>
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.