Skip to content

503 when node is down

Cesar Celis Hernandez edited this page Mar 13, 2023 · 6 revisions

Objective:

To test MinIO when Node is down, we shouldn't get 503 in a put operation when node is down. So we are going to reproduce the failure in version RELEASE.2023-01-02T09-40-09Z

Links:

Steps:

  1. Deploy tenant:
createcluster
installoperator
installtenant
k apply -f ~/ubuntu.yaml -n tenant-lite
  1. Change image to RELEASE.2023-01-02T09-40-09Z in the tenant spec

  2. Make sure you are using RELEASE.2023-01-02T09-40-09Z by looking at the pod image. Normally I delete the statefulset to get new servers with proper image.

  3. In Ubuntu pod put mc and perform some puts, they should work:

apt update
apt install -y wget
apt install -y curl
apt install -y vim
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
sudo mv mc /usr/local/bin
mc alias set myminio/ http://MINIO-SERVER MYUSER MYPASSWORD
Clone this wiki locally