You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In step 2,
a) Verify that backup stage is Finished and State is Completed
b) Verify the resource list in status shows all the required resources
In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All resources in the namespace test-ns are backuped.
In step4, verify that
a) Only pods and deployments from the Backed up resources are up in new namespace
restore-ns Why this issue to fixed / feature is needed(give scenarios or use cases):
This is a testcase which is to automated to make sure deployment is properly backed up and
restored How to reproduce, in case of a bug: Other Notes / Environment Information: (Please give the env information, log link or any
useful information for this issue)
The text was updated successfully, but these errors were encountered:
Issue/Feature Description:
Test Case Precondition:
a. backup service
b. Meta service with nfs provider
c. nfs-server
Test Case steps:
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [test-ns]
metadataLocation: nfs
(use command kubectl exec -ti -n test-kahu /bin/sh)
apiVersion: kahu.io/v1
kind: Restore
metadata:
name: restore-Kahu-0001
Spec:
backupName: backup-Kahu-0001
includeResources:
kind: Pod
isRegex: true
kind: Deployment
isRegex: true
namespaceMapping:
test-ns : restore-ns
Expected Result:
a) Verify that backup stage is Finished and State is Completed
b) Verify the resource list in status shows all the required resources
a) tar file is created with name of backup
b) After untar file, All resources in the namespace test-ns are backuped.
a) Only pods and deployments from the Backed up resources are up in new namespace
restore-ns
Why this issue to fixed / feature is needed(give scenarios or use cases):
This is a testcase which is to automated to make sure deployment is properly backed up and
restored
How to reproduce, in case of a bug:
Other Notes / Environment Information: (Please give the env information, log link or any
useful information for this issue)
The text was updated successfully, but these errors were encountered: