You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I deploy dkron as single node mode, using docker-compose.
I used my local dir as data-dir
After docker-compose up -d, and docker-compose down, and then docker-compose up -d,
I met the no leader problem.
How can I recover? And how to close cluster check absolutely?
I thing the problem is that when the docker image restart, the IP is changed.
docker-compose up -d
docker-compose down
docker-compose up -d
The dkron is in no leade state
I think the problem is I volumed data-dir to a local dir.
So the last running Ip was saved to the raft snapshot.
When I restart the docker image, the container IP is changed.
So dkron start from raft snapshot was failed.
Expected behavior
I hope to simply running in single mode, and using docker-compose to start the service, and save the job info to local storage to prevent data lost. But I don't want to be troubled by the cluster problem.
So how can I config the args?
The text was updated successfully, but these errors were encountered:
Describe the bug
I deploy dkron as single node mode, using docker-compose.
I used my local dir as
data-dir
After
docker-compose up -d
, anddocker-compose down
, and thendocker-compose up -d
,I met the no leader problem.
How can I recover? And how to close cluster check absolutely?
I thing the problem is that when the docker image restart, the IP is changed.
To Reproduce
Steps to reproduce the behavior:
docker-compose.yml
I think the problem is I volumed
data-dir
to a local dir.So the last running Ip was saved to the raft snapshot.
When I restart the docker image, the container IP is changed.
So dkron start from raft snapshot was failed.
Expected behavior
I hope to simply running in single mode, and using docker-compose to start the service, and save the job info to local storage to prevent data lost. But I don't want to be troubled by the cluster problem.
So how can I config the args?
The text was updated successfully, but these errors were encountered: