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

Baremetal #225

Closed
wants to merge 11 commits into from
Closed

Baremetal #225

wants to merge 11 commits into from

Conversation

jdowni000
Copy link
Contributor

Description

Baremetal workload. PR for #208 . Has the ability to use new MCP's or not using supplied values or defaults. Calculates allocatable CPU per MCP and uses that number to deploy n number of sample-apps into each mcp. Than a mb-pod is created to hit all the replicas with http traffic for 1 days times (configurable). This will simulate http traffic and load in the cluster during an upgrade for testing.

Fixes

jdowni000 and others added 10 commits August 10, 2021 16:21
* Updated workloads to run on baremetal

* first commit: skipping cleanup on baremetal

* first commit: skipping cleanup on baremetal

* fixed spacing

* Checking if cloud is on bareMetal. If it is, we're no longer deleting the benchmark-operator namespace in between runs

Co-authored-by: jdowni000 <[email protected]>
* first commit: adding calculations for allocatable CPU per MCP

* Changing approach to creating new n number mcps depending on node count

* removing old machineConfig_pool func

* removing bash script testing code left in common.sh

* fixed a couple naming convention issues

* small fixes from testing in actual cluster

* fixed applying mcp.yaml to use envsubst

* more issues resolved from testing

* more fixes in while loops while testing

* completed deployment fix

* changing function name, adding check for mcps and ns if exists

* adding json creation and use of mb

* adding logic to allow MCP_SIZE and MCP_NODE_COUNT to be set as a variable

* changing env var MCP_SIZE to TOTAL_MCPS

* fixed spacing in all of new function

* adding mb_pod.yml and sending mb operations to pod instead of cli

* removing response.csv file as it may be too large depending on how many mcps are genereated

* added var to set to choose whether MCPs are created or not

* just fix...its Friday...its fixed

* fixed if statemnet with elif

* creating logic to check env var inputs

* adding if condition for sleep depending on size of node_count

* adding resources to mb-pod

* adding logic to check for sample app pods to be ready before mb-pod deployment

* Update common.sh

mb-pod and sample app
@mukrishn
Copy link
Collaborator

mukrishn commented Sep 1, 2021

@mohit-sheth @whitleykeith PTAL

@mukrishn
Copy link
Collaborator

mukrishn commented Sep 8, 2021

@mohit-sheth, Justin is on PTO till Oct, so do you mind closing this out so I will open a new PR without conflicts and few more changes to it.

@mukrishn mukrishn mentioned this pull request Sep 15, 2021
@rsevilla87
Copy link
Member

Closing in favor of #248

@rsevilla87 rsevilla87 closed this Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants