Kong database Cassandra crash


#1
docker network create kong-net

docker run -d --name kong-database \
  --network=kong-net \
  -p 9042:9042 \
  -v /data/cassandra-data:/var/lib/cassandra \
  cassandra:latest

docker run --rm \
    --network=kong-net \
    -e "KONG_DATABASE=cassandra" \
    -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
    -e "KONG_DB_UPDATE_PROPAGATION=1" \
    kong:latest kong migrations up

docker run -d --name kong \
    --network=kong-net \
    -e "KONG_DATABASE=cassandra" \
    -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
    -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
    -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
    -e "KONG_PROXY_ERROR_LOG=/dev/stderr" \
    -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \
    -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" \
    -p 8000:8000 \
    -p 8443:8443 \
    -p 8001:8001 \
    -p 8444:8444 \
    kong:latest

I’m using kong 0.14.1 by docker, but the kong-database usually crash, I’m not good at cassandra. I don’t know what happened. The cassandra logs: