-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sufficient deadlines and countermeasures to handle hung node scen…
…ario Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io> Signed-off-by: Harshavardhana <harsha@minio.io>
- Loading branch information
1 parent
fc4561c
commit 08e342f
Showing
16 changed files
with
212 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
version: '3.7' | ||
|
||
# Settings and configurations that are common for all containers | ||
x-minio-common: &minio-common | ||
image: quay.io/minio/minio:${JOB_NAME} | ||
command: server --console-address ":9001" http://minio{1...4}/rdata{1...2} | ||
expose: | ||
- "9000" | ||
- "9001" | ||
environment: | ||
MINIO_CI_CD: "on" | ||
MINIO_ROOT_USER: "minio" | ||
MINIO_ROOT_PASSWORD: "minio123" | ||
MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=" | ||
MINIO_DRIVE_MAX_TIMEOUT: "5s" | ||
healthcheck: | ||
test: ["CMD", "mc", "ready", "local"] | ||
interval: 5s | ||
timeout: 5s | ||
retries: 5 | ||
|
||
# starts 4 docker containers running minio server instances. | ||
# using nginx reverse proxy, load balancing, you can access | ||
# it through port 9000. | ||
services: | ||
minio1: | ||
<<: *minio-common | ||
hostname: minio1 | ||
volumes: | ||
- rdata1-1:/rdata1 | ||
- rdata1-2:/rdata2 | ||
|
||
minio2: | ||
<<: *minio-common | ||
hostname: minio2 | ||
volumes: | ||
- rdata2-1:/rdata1 | ||
- rdata2-2:/rdata2 | ||
|
||
minio3: | ||
<<: *minio-common | ||
hostname: minio3 | ||
volumes: | ||
- rdata3-1:/rdata1 | ||
- rdata3-2:/rdata2 | ||
|
||
minio4: | ||
<<: *minio-common | ||
hostname: minio4 | ||
volumes: | ||
- rdata4-1:/rdata1 | ||
- rdata4-2:/rdata2 | ||
|
||
nginx: | ||
image: nginx:1.19.2-alpine | ||
hostname: nginx | ||
volumes: | ||
- ./nginx-4-node.conf:/etc/nginx/nginx.conf:ro | ||
ports: | ||
- "9000:9000" | ||
- "9001:9001" | ||
depends_on: | ||
- minio1 | ||
- minio2 | ||
- minio3 | ||
- minio4 | ||
|
||
## By default this config uses default local driver, | ||
## For custom volumes replace with volume driver configuration. | ||
volumes: | ||
rdata1-1: | ||
rdata1-2: | ||
rdata2-1: | ||
rdata2-2: | ||
rdata3-1: | ||
rdata3-2: | ||
rdata4-1: | ||
rdata4-2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.