Comments (13)
I will run the project again shortly. Maybe I broke something in the past 24 hours.
from service.
You don't need value. Use my in-memory keystore.
from service.
Vault is very complicated. You have to start Vault, but it won't work until it's unsealed and inititalized. We decided to have the Sales-Api service do this in the initContainer. So, until the initContainer runs, Vault is useless. I believe we are using cluster level persisted storage for what we need to do to init the system and I would have expected that to help in the situation you are experiencing.
Beyond this information, I'm not sure.
from service.
Thanks. Are you experiencing the same situation? I'm not sure if this is a known issue of the project, or if have I done something wrong with my code.
from service.
The code is working. I did push changes if you want to run the latest.
from service.
Hi @ardan-bkennedy,
I pulled your latest code and started the cluster, everything was ok. But after I restarted my Docker Desktop, the dev-status
command resulted as below:
from service.
Having sleeping on it I think the problem might be the order docker is restarting the containers. It's critical that vault is started before sales and there is time between the two. I made some changes to the apply to test things out. I just start the observability services without waiting first, then I start the vault, database, wait, sales.
I always bring down the cluster every night, but even when I just put my machine to sleep I don't have issues. I am curious why you are restarting docker?
from service.
Having slept on it I think the problem might be the order docker is restarting the containers. It's critical that vault is started before sales and there is time between the two. I made some changes to the apply to test things out. I just start the observability services without waiting first, then I start the vault, database, wait, sales.
I always bring down the cluster every night, but even when I just put my machine to sleep I don't have issues. I am curious why you are restarting docker?
from service.
Having sleeping on it I think the problem might be the order docker is restarting the containers. It's critical that vault is started before sales and there is time between the two. I made some changes to the apply to test things out. I just start the observability services without waiting first, then I start the vault, database, wait, sales.
I always bring down the cluster every night, but even when I just put my machine to sleep I don't have issues. I am curious why you are restarting docker?
from service.
I don't think putting the machine to sleep will cause the issue. I only ran into this situation when I shut down my computer and then started it again to continue my work. In other words, this issue happens as my Docker gets restarted.
I clone the repository and develop my own project. So I don't want to start and delete the cluster too often because it takes time and I don't want old data in the database being reset.
from service.
Look at the changes to apply, this has sped up the time it takes to bring up the cluster.
I NEVER shut my machine down. Have you tried just putting your machine to sleep instead of shutting it down all the time?
I have a solution for the DB. You can run the database outside the cluster and keep the volume around.
Read the dev-database-external.yaml file.
from service.
Yes, I think an external database will work. Just wonder if is there anything that we can do with Vault instead.
from service.
Yes,thanks
from service.
Related Issues (20)
- Question: Can i use multi storer interfaces? HOT 1
- Question: What is best practices for using an external API? HOT 1
- Question: why value semantics in worker mutex? HOT 2
- The slog wrapper logger error
- The Httptreemux mix Wildcards error HOT 3
- Postgres 15.3 not starting on WSL2 HOT 12
- Question: What if we need caching data with expiry time? HOT 1
- [question] what if worker needs to report error? HOT 9
- test handler HOT 1
- api HOT 3
- [Question] Metrics processing flow with Prometheus and Grafana HOT 3
- [Question] Advice on source code structure HOT 3
- [Questing] Asking about Token API HOT 2
- [Question] Where to put my custom logic HOT 2
- fix: Variable 'db' collides with imported package name HOT 1
- validation error is giving internal error instead HOT 2
- Type assertion on errors fails on wrapped error HOT 2
- OPA! HOT 1
- Database Transaction Handling HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from service.