ansible / ansible/eda-server-operator

Cannot set resources for the nginx container in event-stream

Open Beginner friendly
#306 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
45
Forks
41
Avg merge
2d
Merged PRs (30d)
1

Description

If OCP requires resource limits to be defined, or otherwise set below a maximum threshold, the event-stream pod will not be created even with `resource_requirements` defined as the settings does not get applied to the nginx container in the deployment.

https://github.com/ansible/eda-server-operator/blob/main/roles/eda/templates/eda-event-stream.deployment.yaml.j2#L245

Contributor guide

Open the contributing guide

Research direction

Start in roles/eda/templates/eda-event-stream.deployment.yaml.j2 around line 245 and trace how resource_requirements are applied to the event-stream containers. Confirm that the nginx container receives the configured resource limits in the rendered deployment and that the pod can satisfy OpenShift resource requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.