krateoplatformops / deployment-service Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Describe the bug
When deploying a template multiple times (more than 1), the deployment service keeps crushing.
I've enhanced the limit request to:
To Reproduce
Just deploy a template which uses the azuredevops-provider multiple times, and check the behaviour of the deployment-service pod in the krateo-system namespace.
Expected behavior
I'd like to avoid a crashloopbackoff situation and have a clear, concise description on how to set a proper request limit.
Screenshots
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Describe the bug
Hi, we are trying ot deploy a template from Krateo UI, however we keep getting timeout and the deployment doesn't start.
We checked the deployment service, which has the following error:
2023-06-05T09:34:27.172Z ←[32minfo←[39m: /82fb84b1-40df-4721-aba9-0d5b0b2cf2e8 - GET - ::ffff:10.158.124.173
2023-06-05T09:34:27.174Z ←[31merror←[39m: /84e250b4-aa4f-40fc-a1a6-fb51647f2351 - Cannot read properties of undefined (reading 'metadata')
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:399:5)
at ServerResponse.setHeader (node:_http_outgoing:649:11)
at ServerResponse.header (/usr/src/app/node_modules/express/lib/response.js:794:10)
at ServerResponse.send (/usr/src/app/node_modules/express/lib/response.js:174:12)
at ServerResponse.json (/usr/src/app/node_modules/express/lib/response.js:278:15)
at module.exports (/usr/src/app/service-library/middlewares/error-logger.middleware.js:6:37)
at Layer.handle_error (/usr/src/app/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:326:13)
at /usr/src/app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
This keeps happen on different attempts.
We temporarily resolve by restarting the service.
To Reproduce
Steps to reproduce the behavior:
Unclear.
Expected behavior
The service should accept deployment requests from the UI.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.