mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
Point Velero and the NAS services at 192.168.1.10
The NAS moved from 192.168.1.99 to .10, so the backup storage location
has been Unavailable ("no route to host"). Every backup since at least
26 July failed, and 154 expired ones are stuck in Deleting because Velero
can't reach the bucket to remove them. MinIO answers on .10:9000 and DSM
on .10:5000.
This commit is contained in:
1 parent
400d46c462
commit
8c2bd89444
5 files changed
+6
-6
No files matched your search
@@ -72,7 +72,7 @@ This will:
|
||||
| `--s3-secret-key KEY` | S3/MinIO secret key | (required) |
|
||||
| `--s3-bucket BUCKET` | S3 bucket containing backups | `velero-backups` |
|
||||
| `--s3-region REGION` | S3 region | `minio` |
|
||||
| `--s3-url URL` | S3 endpoint URL | `http://192.168.1.99:9000` |
|
||||
| `--s3-url URL` | S3 endpoint URL | `http://192.168.1.10:9000` |
|
||||
| `--original-namespace NS` | Namespace in the original backup | (required) |
|
||||
| `--test-namespace NS` | Namespace for restoration | `default` |
|
||||
| `--original-domain DOMAIN` | Domain to replace in ingresses | `hensen.io` |
|
||||
|
||||
@@ -14,7 +14,7 @@ set -e
|
||||
BACKUP_NAME=""
|
||||
S3_BUCKET="velero-backups"
|
||||
S3_REGION="minio"
|
||||
S3_URL="http://192.168.1.99:9000"
|
||||
S3_URL="http://192.168.1.10:9000"
|
||||
S3_ACCESS_KEY=""
|
||||
S3_SECRET_KEY=""
|
||||
ORIGINAL_NAMESPACE=""
|
||||
@@ -91,7 +91,7 @@ while [[ $# -gt 0 ]]; do
|
||||
echo " --backup-name NAME Name of the Velero backup to restore"
|
||||
echo " --s3-bucket BUCKET S3 bucket containing backups (default: velero-backups)"
|
||||
echo " --s3-region REGION S3 region (default: minio)"
|
||||
echo " --s3-url URL S3 endpoint URL (default: http://192.168.1.99:9000)"
|
||||
echo " --s3-url URL S3 endpoint URL (default: http://192.168.1.10:9000)"
|
||||
echo " --s3-access-key KEY S3 access key"
|
||||
echo " --s3-secret-key KEY S3 secret key"
|
||||
echo " --original-namespace NS Namespace in the original backup"
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ metadata:
|
||||
name: nas-external
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: 192.168.1.99
|
||||
externalName: 192.168.1.10
|
||||
ports:
|
||||
- name: nas-5000
|
||||
protocol: TCP
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ metadata:
|
||||
name: nas-minio-external
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: 192.168.1.99
|
||||
externalName: 192.168.1.10
|
||||
ports:
|
||||
- port: 9000
|
||||
protocol: TCP
|
||||
@@ -25,7 +25,7 @@ spec:
|
||||
config:
|
||||
region: minio
|
||||
s3ForcePathStyle: true
|
||||
s3Url: http://192.168.1.99:9000
|
||||
s3Url: http://192.168.1.10:9000
|
||||
insecureSkipTLSVerify: "true"
|
||||
volumeSnapshotLocation:
|
||||
- name: default
|
||||
|
||||
Reference in new issue
Block a user