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

Not updating deployment resources requests #39

Open
darkxeno opened this issue Feb 9, 2024 · 1 comment
Open

Not updating deployment resources requests #39

darkxeno opened this issue Feb 9, 2024 · 1 comment

Comments

@darkxeno
Copy link

darkxeno commented Feb 9, 2024

Even after having the following log lines:

1.7075074599651477e+09	INFO	controllers.Pod	Sample Size and Minimum Time have been reached	{"pod": "staging/hermes-decoder-8cc5f5c4f-5z284"}
1.707507459965185e+09	INFO	controllers.Pod	hermes-decoder Comparing CPU: 25m <> 50m	{"pod": "staging/hermes-decoder-8cc5f5c4f-5z284"}
1.7075074599651916e+09	INFO	controllers.Pod	hermes-decoder Comparing Memory: 50Mi <> 150Mi	{"pod": "staging/hermes-decoder-8cc5f5c4f-5z284"}
1.7075074609485767e+09	INFO	controllers.Pod	Pod Requests Will Change	{"pod": "staging/hermes-decoder-8cc5f5c4f-5z284"}
1.7075074365512218e+09	INFO	controllers.Pod	Sample Size and Minimum Time have been reached	{"pod": "dev/vulcan-domains-stark-856df9cb4c-bcl4t"}
1.7075074365513973e+09	INFO	controllers.Pod	vulcan-domains-stark Comparing CPU: 25m <> 70m	{"pod": "dev/vulcan-domains-stark-856df9cb4c-bcl4t"}
1.7075074365514233e+09	INFO	controllers.Pod	vulcan-domains-stark Comparing Memory: 50Mi <> 150Mi	{"pod": "dev/vulcan-domains-stark-856df9cb4c-bcl4t"}
1.7075074375490775e+09	INFO	controllers.Pod	Pod Requests Will Change	{"pod": "dev/vulcan-domains-stark-856df9cb4c-bcl4t"}

The related deployments are unchanged:

# hermes-decoder yaml redacted
        resources:
          limits:
            cpu: "1"
            memory: 2000Mi
          requests:
            cpu: 50m
            memory: 150Mi
# vulcan-domains-stark yaml redacted
        resources:
          limits:
            cpu: "2"
            memory: 600Mi
          requests:
            cpu: 70m
            memory: 150Mi

Any ideas why deployment resources are not updated?

@darkxeno darkxeno changed the title Not updating pod or deployment resources requests Not updating deployment resources requests Feb 9, 2024
@ElementTech
Copy link
Owner

I haven't looked into the code for a long time, but I think it changes individual pods and not the entire deployment. Can you look at manifests of individual pods?

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

No branches or pull requests

2 participants