I have a question, if let’s say my service is running cron jobs. But the service replica is set to 2 in the Kubernetes, this will cause the cron job to run twice at each schedule. Is there any design recommendation to prevent this? Should we only have 1 replicas for a cron job running ..
If let’s say my service is running cron jobs. But the service replica is set to 2 in the Kubernetes, this will cause the cron job to run twice at each schedule. Is there any design recommendation to prevent this? Should we only have 1 replicas for a cron job running services or is there ..
I am trying to replicate between one timescaledb running as a docker container on Gcp and a timescaledb running as a docker container on the local server. The postgres version is 12 and the experiment is finished when the data is small. However, if there is a lot of data to be replicated, when the ..
I have 3 VMs on AWS, and I need to create replication between MongoDB databases using Docker. For this, I have already been able to create and install the database on each VM but I have not been able to connect them. The information that I have found on the web always speak to do ..
I have the following docker setup: Web –> traefik –> frontend/api –> backend I have a docker-compose.yml that configures frontend/api and backend. The frontend has a http connection to the backend, by calling it with its container name http://backend:8080/. Now I want to scale the frontend and backend in parallel (2 frontends and 2 backends). ..
Im using PostgreSQL 11 docker image, i need to make a master-master replication between 2 servers that has docker on them for clustering purposes.(its going to be 2 main cluster servers with 1 server for nginx to redirect between them in case of a shutdown maintenance) I couldn’t find a good guide for master-master on ..
I’m tinkering with streaming changes from MongoDB into Kafka using Debezium and encountering some sort of permission problem when Debezium attempts to access the MongoDB replica set. docker-compose.yml version: "3" services: mongodb: image: mongo container_name: mongodb hostname: mongodb restart: always ports: – 27017:27017 volumes: – ./mongodb/data/admin:/data/admin – ./mongodb/data/keyfile:/data/keyfile environment: MONGO_INITDB_ROOT_USERNAME: admin MONGO_INITDB_ROOT_PASSWORD: admin command: –bind_ip_all ..
I have a container service, which saves data. It does so on a volume I specified, and it works as intended. However, the data stored is critical, and I thought I would add a "raid-setup"/duplication of this volume, but I am not sure how. Ideally, I would tell docker-compose, that it should use a specific ..
I am trying to set up MySQL group replication. Only problem is, that when I try to start replication group, It starts with super_read_only. Here the configurations in my.cnf file [mysqld] max_binlog_size = 4096 default_authentication_plugin = mysql_native_password log_bin = mysql-bin-1.log enforce_gtid_consistency = ON gtid_mode = ON log_slave_updates = ON binlog_checksum = NONE plugin-load-add = group_replication.so ..
I want to create a MongoDB cluster with replication and authentication enabled. The goal is to have the oplog.rs accessible so the cluster can have only one node (the primary). At the same authentication must be enabled. So far I’ve managed to write a docker-compose.yml that implements authentication. docker-compose.yml: version: "3.4" services: mongodb_w_replica: image: mongo:4.0.8 ..