You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "kevinjqliu (via GitHub)" <gi...@apache.org> on 2026/10/20 18:17:04 UTC
Re: [PR] Standardize RustFS setup across Iceberg repos [terraform-provider-iceberg]
kevinjqliu commented on code in PR #126:
URL: https://github.com/apache/terraform-provider-iceberg/pull/126#discussion_r4328577883
##########
dev/docker-compose.yml:
##########
@@ -33,26 +33,23 @@ services:
condition: service_completed_successfully
object-store:
- image: rustfs/rustfs:1.0.0
+ image: rustfs/rustfs:1.0.3
container_name: iceberg-terraform-object-store
networks:
iceberg_net:
aliases:
- warehouse.object-store
ports:
- - 9001:9001
- 9000:9000
environment:
- RUSTFS_ACCESS_KEY=admin
- RUSTFS_SECRET_KEY=password
- - RUSTFS_VOLUMES=/data
- - RUSTFS_ADDRESS=:9000
- - RUSTFS_CONSOLE_ENABLE=true
- - RUSTFS_CONSOLE_ADDRESS=:9001
+ - RUSTFS_OBS_LOG_STDOUT_ENABLED=true
+ - RUSTFS_CONSOLE_ENABLE=false
# Resolves virtual-hosted-style `warehouse.object-store` to the warehouse bucket.
- RUSTFS_SERVER_DOMAINS=object-store
healthcheck:
- test: ["CMD-SHELL", "curl --fail http://127.0.0.1:9000/health"]
+ test: ["CMD-SHELL", "curl --fail http://127.0.0.1:9000/health/ready"]
Review Comment:
The RustFS [Status Check docs](https://docs.rustfs.com/en/operations/status-check) define the two endpoints differently:
- `/health` is a liveness check. It returns 200 "as long as the process is up".
- `/health/ready` is a readiness check. It returns 200 "only when storage, IAM, and peer health are ready", and 503 otherwise.
##########
dev/docker-compose.yml:
##########
@@ -33,26 +33,23 @@ services:
condition: service_completed_successfully
object-store:
- image: rustfs/rustfs:1.0.0
+ image: rustfs/rustfs:1.0.3
container_name: iceberg-terraform-object-store
networks:
iceberg_net:
aliases:
- warehouse.object-store
ports:
- - 9001:9001
- 9000:9000
environment:
- RUSTFS_ACCESS_KEY=admin
- RUSTFS_SECRET_KEY=password
- - RUSTFS_VOLUMES=/data
- - RUSTFS_ADDRESS=:9000
- - RUSTFS_CONSOLE_ENABLE=true
- - RUSTFS_CONSOLE_ADDRESS=:9001
+ - RUSTFS_OBS_LOG_STDOUT_ENABLED=true
Review Comment:
show logs in CI
##########
dev/docker-compose.yml:
##########
@@ -33,26 +33,23 @@ services:
condition: service_completed_successfully
object-store:
- image: rustfs/rustfs:1.0.0
+ image: rustfs/rustfs:1.0.3
container_name: iceberg-terraform-object-store
networks:
iceberg_net:
aliases:
- warehouse.object-store
ports:
- - 9001:9001
- 9000:9000
environment:
- RUSTFS_ACCESS_KEY=admin
- RUSTFS_SECRET_KEY=password
- - RUSTFS_VOLUMES=/data
- - RUSTFS_ADDRESS=:9000
- - RUSTFS_CONSOLE_ENABLE=true
- - RUSTFS_CONSOLE_ADDRESS=:9001
Review Comment:
these are all defaults, can remove
##########
dev/docker-compose.yml:
##########
@@ -33,26 +33,23 @@ services:
condition: service_completed_successfully
object-store:
- image: rustfs/rustfs:1.0.0
+ image: rustfs/rustfs:1.0.3
container_name: iceberg-terraform-object-store
networks:
iceberg_net:
aliases:
- warehouse.object-store
ports:
- - 9001:9001
- 9000:9000
environment:
- RUSTFS_ACCESS_KEY=admin
- RUSTFS_SECRET_KEY=password
- - RUSTFS_VOLUMES=/data
- - RUSTFS_ADDRESS=:9000
- - RUSTFS_CONSOLE_ENABLE=true
- - RUSTFS_CONSOLE_ADDRESS=:9001
+ - RUSTFS_OBS_LOG_STDOUT_ENABLED=true
+ - RUSTFS_CONSOLE_ENABLE=false
Review Comment:
removes console port 9001, we dont need it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org