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 pop sizing #67

Merged
merged 22 commits into from
Apr 16, 2024
Merged

add pop sizing #67

merged 22 commits into from
Apr 16, 2024

Conversation

swethalohith2
Copy link
Contributor

@swethalohith2 swethalohith2 commented Apr 8, 2024

Why

Customers often ask how to size the PoP hardware configuration before installing the PoP

What

Add pop sizing command

References

Story

@swethalohith2 swethalohith2 marked this pull request as ready for review April 8, 2024 10:58
@rui1234 rui1234 requested a review from lijingmu April 9, 2024 01:16
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
@rongzhus
Copy link

rongzhus commented Apr 9, 2024

For final result, we can separate to 4 parts, below is an example, it is more clear:

Please answer below questions for estimating the self-hosted PoP hardware size:

How many API Simple tests do you want to create? (0 if no) 100
What is the test frequency for your API Simple tests? (1-120) 1
How many API Script tests do you want to create? (0 if no) 10
What is the test frequency for your API Script tests? (1-120) 5
How many Browser tests (Webpage Action, Webpage Script and BrowserScript) do you want to create? (0 if no) 10
What is the test frequency for Browser tests? (1-120) 5
Do you want to install the Instana-agent to monitor your PoP? (Y/N) Y
How many worker nodes in your kubernetes cluster? 3

Your requirement is:
    API Simple: 1000    Frequency: 1min
    API Script: 50      Frequency: 5min
    Browser Test: 50    Frequency: 10min
    Install Agent: Yes

The estimated sizing is:
    CPU: 15700m
    Mem: 14242MiB
    Disk: 7240GB

Recommend Playback engine pods are:
    http        playback engines: 1 pod
    javascript  playback engines: 1 pod
    browser     playback engines: 2 pod

synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
@rongzhus
Copy link

When all test number is 0, there are still an estimated size of resources , is it default value? In such case, the command can exit and show a warning message.
image

synctl/cli.py Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
swethalohith2 and others added 5 commits April 10, 2024 12:23
Co-authored-by: rongzhus <[email protected]>
Co-authored-by: rongzhus <[email protected]>
Co-authored-by: rongzhus <[email protected]>
Co-authored-by: rongzhus <[email protected]>
Co-authored-by: rongzhus <[email protected]>
@swethalohith2
Copy link
Contributor Author

When all test number is 0, there are still an estimated size of resources , is it default value? In such case, the command can exit and show a warning message. image

This is because there is default pods for controller, Redis and k8ssensor.

synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
synctl/cli.py Outdated Show resolved Hide resolved
@rongzhus
Copy link

rongzhus commented Apr 11, 2024

When all test number is 0, there are still an estimated size of resources , is it default value? In such case, the command can exit and show a warning message. image

This is because there is default pods for controller, Redis and k8ssensor.

It does not make sense when no any test and no agent, it is OK to output 0 for both pod and mem/cpu/disk. for example:

Your requirement is:
    API Simple:  0
    API Script:  0 
    Browser Test: 0
    Install Agent: N

The estimated sizing is:
    CPU: 0m
    Mem: 0MiB
    Disk: 0GB

Recommend Playback engine pods are:
    http        playback engines: 0 pod
    javascript  playback engines: 0 pod
    browser     playback engines: 0 pod

Copy link

@rongzhus rongzhus left a comment

Choose a reason for hiding this comment

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

LGTM.

@swethalohith2 swethalohith2 merged commit 69cb0a3 into main Apr 16, 2024
@swethalohith2 swethalohith2 deleted the pop-sizing branch April 16, 2024 07:46
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.

3 participants