Value Statement
By specifying memory limits for containers, we prevent memory over-commitment, improve application stability, and ensure efficient resource utilization within the Kubernetes cluster.
Targeted Files:
- config/default/manager_auth_proxy_patch.yaml
- config/default/manager_config_patch.yaml
- config/default/manager_webhook_patch.yaml
- config/manager/manager.yaml
- pkg/.../cluster-backup/templates/clusterbackup-deployment.yaml
- pkg/.../toggle/console/templates/console-deployment.yaml
- pkg/.../toggle/grc/templates/grc-policy-addon-deployment.yaml
- pkg/.../toggle/grc/templates/grc-policy-propagator-deployment.yaml
- pkg/.../volsync-controller/templates/volsync-addon-controller-deployment.yaml
- pkg/.../toggle/insights/templates/insights-client-deployment.yaml
- pkg/.../toggle/insights/templates/policyreport-metrics-deployment.yaml
- pkg/.../templates/multiclusterhub/base/multicluster-applications-rbac-aggregate-admin.yaml
Definition of Done for Engineering Story Owner (Checklist)
- Memory limits are defined for containers in Kubernetes configuration files.
- Memory allocation aligns with application requirements and cluster capacity.
- Pods are successfully deployed and tested with memory limits enforced.
Noncompliant code example
apiVersion: v1 kind: Pod metadata: name: example spec: containers: - name: web # Noncompliant image: nginx
Compliant solution
apiVersion: v1 kind: Pod metadata: name: example spec: containers: - name: web image: nginx resources: limits: memory: 100Mi
Development Complete
- The code is complete.
- Functionality is working.
- Any required downstream Docker file changes are made.
Tests Automated
- [ ] Unit/function tests have been automated and incorporated into the
build. - [ ] 100% automated unit/function test coverage for new or changed APIs.
Secure Design
- [ ] Security has been assessed and incorporated into your threat model.
Multidisciplinary Teams Readiness
- [ ] Create an informative documentation issue using the [Customer
Portal_doc_issue template](
https://github.com/stolostron/backlog/issues/new?assignees=&labels=squad%3Adoc&template=doc_issue.md&title=),
and ensure doc acceptance criteria is met. Link the development issue to
the doc issue. - [ ] Provide input to the QE team, and ensure QE acceptance criteria
(established between story owner and QE focal) are met.
Support Readiness
- [ ] The must-gather script has been updated.
- is cloned by
-
ACM-9998 MCE: Specify memory limits for containers in YAML configuration files to optimize resource allocation and prevent memory overcommitment
- Closed