Slackbot
09/22/2022, 3:52 AMBo
09/22/2022, 3:53 AMJiang
09/22/2022, 4:06 AMkubectl -n yatai-system delete pod s3-client 2> /dev/null || true; \
kubectl run s3-client --rm --tty -i --restart='Never' \
--namespace yatai-system \
--env "AWS_ACCESS_KEY_ID=$S3_ACCESS_KEY" \
--env "AWS_SECRET_ACCESS_KEY=$S3_SECRET_KEY" \
--image <http://quay.io/bentoml/s3-client:0.0.1|quay.io/bentoml/s3-client:0.0.1> \
--command -- sh -c "s3-client -e http://$S3_ENDPOINT listbuckets && echo successfully"
kurniarahmatt
09/22/2022, 4:31 AMkurniarahmatt
09/22/2022, 4:32 AMXipeng Guan
09/22/2022, 4:34 AMS3_ENDPOINT
should not contain the http://
prefix