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

Improve CPU stressor tool #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Improve CPU stressor tool #8

wants to merge 1 commit into from

Conversation

narmidm
Copy link
Owner

@narmidm narmidm commented Oct 31, 2024

Add validation for cpu and duration parameters, error handling for signal.Notify, and replace fmt.Println with a logger in main.go.

Add detailed usage examples, step-by-step guide for building and running the Docker image, Kubernetes usage section, troubleshooting and common issues section, and advanced usage scenarios in README.md.

Add hpa.yaml for Horizontal Pod Autoscaler configuration.

Add monitoring-tools.md with instructions for using Prometheus and Grafana for resource usage metrics collection and visualization.

Add resource-quotas.yaml to enforce resource usage policies.

Update Dockerfile to use a specific version of the base image, implement a multi-stage build, and add labels for metadata.

Add validation for `cpu` and `duration` parameters, error handling for `signal.Notify`, and replace `fmt.Println` with a logger in `main.go`.

Add detailed usage examples, step-by-step guide for building and running the Docker image, Kubernetes usage section, troubleshooting and common issues section, and advanced usage scenarios in `README.md`.

Add `hpa.yaml` for Horizontal Pod Autoscaler configuration.

Add `monitoring-tools.md` with instructions for using Prometheus and Grafana for resource usage metrics collection and visualization.

Add `resource-quotas.yaml` to enforce resource usage policies.

Update `Dockerfile` to use a specific version of the base image, implement a multi-stage build, and add labels for metadata.
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.

1 participant