ABCDEFGQRSTUVWXYZ
1
Created10/02/2024
2
Updated10/02/2024
3
Total Tests19Automated
4
E2E190
5
FT00
6
IT00
7
UT00
8
9
TestCase TypeFeature ScenarioTestcase TitleTestcaseIdTestcase PreconditionTestcase stepsExpected ResultTestReportIssue identified
10
E2ECreate BackupCreate Backup with services in default namespaceKahu_00031. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
n1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All service of default namespace is backuped.
c) All dependent resources of a service is also backuped
PASS
11
E2ECreate BackupCreate Backup with configmap in default namespaceKahu_00041. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: ConfigMap
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All configmap of default namespace is backuped.
c) All dependent resources of a configmap are also backuped
PASS
12
E2ECreate BackupCreate Backup with deployment in default namespaceKahu_00051. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: Deployment
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All deployment of default namespace is backuped
c) All dependent resources of a deployment are also backuped
PASS
13
E2ECreate BackupCreate Backup with daemonset in default namespaceKahu_00061. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: DaemonSet
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All daemonset of default namespace is backuped.
c) All dependent resources of a daemonset are also backuped
PASS
14
E2ECreate BackupCreate Backup with statefulset in default namespaceKahu_00071. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: StatefulSet
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All statefulset of default namespace is backuped. but point to note, the statefulset which has ownerreference will not be backuped
c) All dependent resources of a statefultset are also backuped
PASS
15
E2ECreate BackupCreate Backup with pods in default namespaceKahu_00081. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: Pod
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All pods of default namespace is backuped. but point to note, the pod which has ownerreference will not be backuped
c) All dependent resources of a pod are also backuped
PASS
16
E2ECreate BackupCreate Backup with pods with volumes in default namespaceKahu_00081. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
d. volume service with volume provider
3. Metadata location is created already
4. pod contains some pvc and some data written on volume
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: Pod
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All pods of default namespace is backuped. but point to note, the pod which has ownerreference will not be backuped
c) All dependent resources of a pod are also backuped
d) volumebackup content is created for this backup
(
kubectl get vbc)
NOT TESTED
17
E2ECreate BackupCreate Backup with replicaset in default namespaceKahu_00091. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: ReplicaSet
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All replicaset of default namespace is backuped. but point to note, the replicaset which has ownerreference will not be backuped
c) All dependent resources of a replicaset are also backuped
PASS
18
E2ECreate BackupCreate Backup with PVC in default namespaceKahu_00101. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: PersistentVolumeClaim
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All PVC of default namespace is backuped
c) All dependent resources of a pvc are also backuped
NOT TESTED
19
E2ECreate BackupCreate Backup with Storage Class in clusterKahu_00111. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
metadataLocation: nfs
includeResources:
- name:
kind: StorageClass
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All storaceclass of default namespace is backuped.
PASS
20
E2ECreate BackupCreate Backup with deployment but only name contains kahu, keywordKahu_00121. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name: kahu
kind: Deployment
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All deployment has "kahu" keywork of default namespace is backuped.
For example:
1. kahu-123
2. 123-kahu
3. 123-kahu-456
etc.
PASS
21
E2ECreate BackupCreate Backup with deployment but only name contains "kahu", keyword but exclude the name "kahu-restore-deployment"Kahu_00131. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name: kahu
kind: Deployment
isRegex: true
excludeResources:
- name: kahu-restore-deployment
kind: Deployment
isRegex: false
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All deployment has "kahu" keywork of default namespace is backuped.
For example:
1. kahu-123
2. 123-kahu
3. 123-kahu-456

but it should not contain "kahu-restore-deployment" name
PASS
22
E2ECreate BackupCreate Backup with deployment but only name contains "kahu", keyword but exclude the name "restore"Kahu_00141. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name: kahu
kind: Deployment
isRegex: true
excludeResources:
- name: restore
kind: Deployment
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All deployment has "kahu" keywork of default namespace is backuped.
For example:
1. kahu-123
2. 123-kahu
3. 123-kahu-456

but it should not contain

1. restore-*
2. *-restore
3. *-restore-*
PASS
23
E2ECreate BackupCreate Backup with deployment and podKahu_00151. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name:
kind: Deployment
isRegex: true
includeResources:
- name:
kind: Pod
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All deployments and pods are backuped. but point to note, the pod which has ownerreference will not be backuped
PASS
24
E2ECreate BackupCreate Backup with all resources excepts deployment and podKahu_00161. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
excludeResources:
- name:
kind: Deployment
isRegex: true
excludeResources:
- name:
kind: Pod
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All resources excepts deployments and pods are backuped. but point to note, the resource which has ownerreference will not be backuped
PASS
25
E2ECreate BackupCreate Backup with all resources from two namespaces, default and test-nsKahu_00171. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default, test-ns]
metadataLocation: nfs
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All resources of default and test-ns namespaces, like deployments, pods, daemonset, statefulset, replicaset, service, configmap, serviceaccount, role/clusterrole etc. should be backuped. but point to note, the resource which has ownerreference will not be backuped
PASS
26
E2ECreate BackupCreate Backup with all Pod, which has labels, app = nginxKahu_00181. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
label:
matchLabels:
app: nginx
includeResources:
- name:
kind: Pod
isRegex: true
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, All pod which has labels app=nginx are backuped
PASS
27
E2ECreate BackupCreate Backup with specific name of PodKahu_00191. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
1. Create below backup CR using kubectl command
(use kubectl create -f <backup.yaml>)
apiVersion: kahu.io/v1
kind: Backup
metadata:
name: backup-Kahu-0001
spec:
includeNamespaces: [default]
metadataLocation: nfs
includeResources:
- name: <specific-name>
kind: Pod
isRegex: false
2. Use kubectl describe backup <backup-name> -n test-kahu
3. Get inside nfs server pod and check for the content inside mount path given
(use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh)
1. 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
2. In step 3, verify that
a) tar file is created with name of backup
b) After untar file, the <specific-name> pod is backuped and it's dependent resource
PASS
28
E2ECreate BackupCreate Backup with Pod from One namespace and deployment from different namespaceKahu_00201. Kahu project installed in given name-space (test-kahu)
2. All below pods should be up and running:
a. backup service
b. Meta service with nfs provider
c. nfs-server
3. Metadata location is created already
4. Namespace
new-ns is created and contains
some of the kubernetes resources
NO SUPPORTNANOT TESTED
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100