hosts:k8s:minio
MinIO
MinIO is an object storage server with an S3-compatible API.
We run it in single-node single-disk mode, although we're not actually at risk of losing data since that disk is RAIDed.
You can access the console at https://minio-console.on.tardis.ac, and the actual API at https://minio.on.tardis.ac
Users are only able to create and use buckets that start with <username>-
, ie jdoe-test
OAuth broken?
If MinIO can't contact the OAuth server when it boots up, it will silently disable that login option -_-
First, check the logs:
$ k logs -n minio deploy/minio MinIO Object Storage Server Copyright: 2015-2023 MinIO, Inc. License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html> Version: RELEASE.2023-11-01T01-57-10Z (go1.21.3 linux/amd64) Status: 1 Online, 0 Offline. S3-API: http://10.244.2.9:9000 http://127.0.0.1:9000 Console: https://minio-console.on.tardis.ac/oauth_callback Documentation: https://min.io/docs/minio/linux/index.html Warning: The standard parity is set to 0. This can lead to data loss. API: SYSTEM() Time: 15:40:16 UTC 11/01/2023 DeploymentID: 0bb4acc6-cd19-41b9-83c1-6b81c3072d88 Error: Unable to initialize OpenID: Get "https://id.tardisproject.uk/realms/master/.well-known/openid-configuration": dial tcp: lookup id.tardisproject.uk: i/o timeout (*fmt.wrapError) 5: internal/logger/logger.go:258:logger.LogIf() 4: cmd/iam.go:225:cmd.(*IAMSys).Init() 3: cmd/server-main.go:789:cmd.serverMain.func15.1() 2: cmd/server-main.go:434:cmd.bootstrapTrace() 1: cmd/server-main.go:788:cmd.serverMain.func15()
If this is the case, make sure keycloak is all good, and restart it:
$ k rollout restart -n minio deploy/minio deployment.apps/minio restarted
hosts/k8s/minio.txt · Last modified: 2023/12/11 15:51 by tcmal