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
Container consul-template was using 1004852Ki, which exceeds its request of 0. #1278
Comments
I don't actually see any memory requests in your init container resources? Something like:
|
Hey @imvishalvyas, thanks for the report. Assuming you are using the latest version available at the time... you might have hit the regression on non-renewable vault secrets. Update to the latest version (0.21.3) that I released today and it may fix the issue. Please let me know if this resolves it for you. Thanks. |
@eikenb I have tried with latest version of consul template. it worked for some time and after that my pods getting crashed and getting this error. After some time app automatic start and running and throwing this error.
@jboero I have also tried with resource limit which you suggest. but not working. |
@imvishalvyas .. That looks different from your original posted issue (the memory issue). Are you still getting the memory error? If not, maybe you could add the missing information (config, template, trace, etc) or file a new issue with it. It's hard to help you diagnose what is wrong with what has been provided. Thanks. |
@eikenb Thanks for the support. memory issue has gone, after update it to the latest version, you can close this for that issue, But after update latest version new issue come which is 403 permission denied. |
I have deployed vault on kubernetes for secret management for my deployments. Now my deployments are include vault init container, Consul-template container and third one is my app container. i am using multiple deployments in my cluster using consul-template. I am using it since last 2 months, But from last 2 days. My all the pods getting evicted and restarted due to consul template using high resource of memory.
I am getting below error when i search the pod logs.
I am using 4G ram and 4 core CPU on my kubernetes GCP.
Consul Template version
I am using docker image of consul-template 'hashicorp/consul-template:alpine'
Configuration
I have used consul container along with my app and init container of vault. below is my consul container specs.
My pods getting evicted and restarted 2 or 3 times in a day.
The text was updated successfully, but these errors were encountered: