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

Allow configurable resource requests and limits through command arguments. #65

Merged
merged 27 commits into from
Aug 9, 2024

Conversation

musa-asad
Copy link
Collaborator

@musa-asad musa-asad commented Jul 17, 2024

Description of changes:
Allow configurable resource requests and limits through command arguments so operator can take these values and use them for init containers.

Testing:
See aws/amazon-cloudwatch-agent-operator#196.

  1. With these local helm chart changes, I ran helm upgrade --install amazon-cloudwatch-observability helm-charts/charts/amazon-cloudwatch-observability --values helm-charts/charts/amazon-cloudwatch-observability/values.yaml --set clusterName=<cluster-name> --set region=us-west-2.
  2. Then, ran kubectl get pods.
  3. Then, ran kubectl describe pod amazon-cloudwatch-observability-controller-manager-####.

As we can see, it has the new operator image and command argument.
Screenshot 2024-08-09 at 3 53 26 PM

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@musa-asad musa-asad self-assigned this Jul 17, 2024
@musa-asad musa-asad marked this pull request as draft July 18, 2024 14:11
@musa-asad musa-asad marked this pull request as ready for review July 23, 2024 18:09
@musa-asad musa-asad marked this pull request as draft July 23, 2024 19:07
@musa-asad musa-asad changed the title Allow configurable resource limits through command arguments. Allow configurable resource requests and limits through command arguments. Jul 24, 2024
This reverts commit c3601aa.
@musa-asad musa-asad marked this pull request as ready for review July 26, 2024 19:09
@musa-asad musa-asad merged commit 6f17156 into main Aug 9, 2024
3 checks passed
@musa-asad musa-asad deleted the init-resource branch August 9, 2024 20:34
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