velero configure-other-s3
Configures snapshots to use an S3-compatible storage provider, such as Minio, as a storage destination.
Usage
kubectl kots velero configure-other-s3 [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
-h, --help | Help for the command. | |
-n, --namespace | string | The namespace of the Admin Console (required) |
--access-key-id | string | The AWS access key ID to use for accessing the bucket (required) |
--bucket | string | Name of the object storage bucket where backups should be stored (required) |
--endpoint | string | The S3 endpoint (for example, http://some-other-s3-endpoint) (required) |
--path | string | Path to a subdirectory in the object store bucket |
--region | string | The region where the bucket exists (required) |
--secret-access-key | string | The AWS secret access key to use for accessing the bucket (required) |
--cacert | string | File containing a certificate bundle to use when verifying TLS connections to the object store |
--skip-validation | bool | Skip the validation of the S3 bucket (default false ) |
--kotsadm-namespace | string | Set to override the registry namespace of KOTS Admin Console images. Used for air gap installations. For more information, see Air Gap Installation in Existing Clusters with KOTS. Note: Replicated recommends that you use |
--kotsadm-registry | string | Set to override the registry hostname and namespace of KOTS Admin Console images. Used for air gap installations. For more information, see Air Gap Installation in Existing Clusters with KOTS. |
--registry-password | string | Password to use to authenticate with the application registry. Used for air gap installations. |
--registry-username | string | Username to use to authenticate with the application registry. Used for air gap installations. |
Example
kubectl kots velero configure-other-s3 --namespace default --endpoint http://minio --region us-east-1 --bucket kots-snaps --access-key-id XXXXXXXJTJB7M2XZUV7D --secret-access-key mysecretkey