profile
viewpoint

juanpabloaj/calculator-api-challenge 6

Crear una API calculadora en diferentes lenguajes

cganterh/PyVV 2

"Python Valparaiso y Viña del Mar" busca poner en contacto a desarrolladores de Python de la quinta región. La idea es compartir conocimientos y experiencia. En este repositorio subiremos todo el material que utilicemos en las presentaciones.

jesusblanco/huerto_arduino 0

Control de huerto con Arduino

juanpabloaj/ack.vim 0

Vim plugin for the Perl module / CLI script 'ack'

juanpabloaj/alpine-kubectl 0

alpine with kubectl

issue openeddistribworks/dkron

fatal, dkron: failed to establish leadership

Hi, I am trying to create a cluster with this docker-compose

ersion: '2'
services:
  dkron:
    hostname: dkron
    image: dkron/dkron
    ports:
      - "8080:8080"
      - "8946"
      - "6868"
    environment:
      - GODEBUG=netdns=go
    command: agent --server --log-level=debug --bootstrap-expect=1
  dkron-server:
    hostname: dkron-server
    image: dkron/dkron
    ports:
      - "8081:8080"
      - "8946"
      - "6868"
    environment:
      - GODEBUG=netdns=go
    command: agent --server --retry-join=dkron:8946 --log-level=debug --bootstrap-expect=3
  dkron-server-2:
    hostname: dkron-server-2
    image: dkron/dkron
    ports:
      - "8082:8080"
      - "8946"
      - "6868"
    environment:
      - GODEBUG=netdns=go
    command: agent --server --retry-join=dkron:8946 --log-level=debug --bootstrap-expect=3

I started the containers with

docker-compose up -d

I tried to check the behavior of the cluster when I stop two nodes, so I stopped two containers

docker-compose stop dkron-server ; docker-compose stop dkron-server-2

ok, but when I started those containers again

docker-compose up -d dkron-server ; docker-compose up -d dkron-server-2

The other container stopped and I saw this message in the logs

dkron_1           | time="2021-11-11T14:02:12Z" level=fatal msg="dkron: failed to establish leadership" error="cron is already configured, can not start scheduler" node=dkron
dkron_cluster_dkron_1 exited with code 1

am I doing something wrong?

Any suggestion is welcome. Thanks.

created time in 21 days

push eventjuanpabloaj/juanpabloaj.github.com

JuanPablo

commit sha 9bab017469e6926eeba474e06f6e5cfd122127f7

ffmpeg, increase fps to 60

view details

push time in a month

push eventjuanpabloaj/juanpabloaj.github.com

JuanPablo

commit sha 6d7229a301fb8772c6a9574e9799e69644085a34

ffmpeg added

view details

push time in a month

startedhcyang22/PhysarumAlgorithm-Python

started time in 2 months

startedpmocz/nbody-python

started time in 3 months

push eventjuanpabloaj/juanpabloaj.github.com

JuanPablo

commit sha 19c6ea789ac028e18f31cfd682b890d4991129b6

added mosh

view details

push time in 3 months

more