Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Missing quota configuration in patroni job #259

Open
Nainterceptor opened this issue Jan 13, 2021 · 0 comments · May be fixed by #573
Open

Missing quota configuration in patroni job #259

Nainterceptor opened this issue Jan 13, 2021 · 0 comments · May be fixed by #573
Labels
area/timescaledb-single bug Something isn't working

Comments

@Nainterceptor
Copy link
Contributor

When I upgrade a timescale-single chart, with quota defined, upgrade will fail because of missing quota to job job.batch/timescaledb-patroni-0u (generated name)

Message :

Events:
  Type     Reason        Age                From            Message
  ----     ------        ----               ----            -------
  Warning  FailedCreate  30m                job-controller  Error creating: pods "timescaledb-patroni-0u-kf7t9" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  29m                job-controller  Error creating: pods "timescaledb-patroni-0u-swzqt" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  29m                job-controller  Error creating: pods "timescaledb-patroni-0u-kbrm7" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  28m                job-controller  Error creating: pods "timescaledb-patroni-0u-klqt2" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  27m                job-controller  Error creating: pods "timescaledb-patroni-0u-jtmh6" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  25m                job-controller  Error creating: pods "timescaledb-patroni-0u-gb7vl" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  23m                job-controller  Error creating: pods "timescaledb-patroni-0u-99c5j" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  21m                job-controller  Error creating: pods "timescaledb-patroni-0u-5224z" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory
  Warning  FailedCreate  19m                job-controller  Error creating: pods "timescaledb-patroni-0u-5c5zf" is forbidden: failed quota: anais-quota: must specify limits.cpu,limits.memory

Maybe add a configurable pod quota in this job.

@paulfantom paulfantom added bug Something isn't working area/timescaledb-single labels Aug 18, 2022
@joschiwald joschiwald linked a pull request Feb 20, 2023 that will close this issue
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/timescaledb-single bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants