Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Cluster Backup Location : Document how to use Minio S3 Endpoints #1707

Open
toschneck opened this issue Jul 4, 2024 · 1 comment
Open
Assignees
Labels
kind/documentation Categorizes issue or PR as related to documentation.

Comments

@toschneck
Copy link
Member

Currently a Minio S3 endpoint doesn't work out-of the box, see kubermatic/dashboard#6732.

Right now it's possible to add additional parameters to the config for the Backup Storage Location (for AWS) Object via the ClusterBackupStorageLocation object (at the seed). This should be documented.

export KUBECONFIG=path-to-seed-kubeconfig
kubectl apply -f clusterbackuplocation.project.x.yaml
apiVersion: kubermatic.k8c.io/v1
kind: ClusterBackupStorageLocation
metadata:
  labels:
    csbl-display-name: seed-minio
    project-id: YOUR-PROJECT-ID
  name: seed-minio-YOUR-PROJECT-ID
  namespace: kubermatic
spec:
  backupSyncPeriod: 1m0s
  config:
    region: minio
    ####  NOTE: URL must be accisble from the user cluster network scope
    s3Url: https://minio.demo.kubermatic.io 
    # Whether to use path-style addressing instead of virtual hosted bucket addressing. Set to "true"
    # if using a local storage service like MinIO.
    #
    # Optional (defaults to "false").
    s3ForcePathStyle: "true"
    # If specified, use this instead of "s3Url" when generating download URLs (e.g., for logs). This
    # field is primarily for local storage services like MinIO.
    #
  credential:
    key: cloud-credentials
    name: credential-seed-minio-nczgr7n44g-h6qkj    #located in kubermatic namespace
  objectStorage:
    bucket: user-cluster-backup
  provider: aws
@toschneck toschneck changed the title User Cluster Backup Document how to use User Cluster Backup Location : Document how to use Minio S3 Endpoints Jul 4, 2024
@toschneck toschneck added the kind/documentation Categorizes issue or PR as related to documentation. label Jul 4, 2024
@toschneck
Copy link
Member Author

/assign @csengerszabo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants