mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 05:59:03 +00:00
Document how to prevent naming conflict with restore resource
This commit is contained in:
@@ -48,9 +48,15 @@ A restore is performed by creating a Restore custom resource.
|
|||||||
2. Cluster-scoped resources
|
2. Cluster-scoped resources
|
||||||
3. Namespaced resources
|
3. Namespaced resources
|
||||||
|
|
||||||
|
### Logs
|
||||||
|
|
||||||
To check how the restore is progressing, you can check the logs of the operator. Follow these steps to get the logs:
|
To check how the restore is progressing, you can check the logs of the operator. Follow these steps to get the logs:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kubectl get pods -n cattle-resources-system
|
kubectl get pods -n cattle-resources-system
|
||||||
kubectl logs <pod name from above command> -n cattle-resources-system -f
|
kubectl logs <pod name from above command> -n cattle-resources-system -f
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Cleanup
|
||||||
|
|
||||||
|
If you created the restore resource with kubectl, remove the resource to prevent a naming conflict with future restores.
|
||||||
@@ -48,9 +48,15 @@ A restore is performed by creating a Restore custom resource.
|
|||||||
2. Cluster-scoped resources
|
2. Cluster-scoped resources
|
||||||
3. Namespaced resources
|
3. Namespaced resources
|
||||||
|
|
||||||
|
### Logs
|
||||||
|
|
||||||
To check how the restore is progressing, you can check the logs of the operator. Follow these steps to get the logs:
|
To check how the restore is progressing, you can check the logs of the operator. Follow these steps to get the logs:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kubectl get pods -n cattle-resources-system
|
kubectl get pods -n cattle-resources-system
|
||||||
kubectl logs <pod name from above command> -n cattle-resources-system -f
|
kubectl logs <pod name from above command> -n cattle-resources-system -f
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Cleanup
|
||||||
|
|
||||||
|
If you created the restore resource with kubectl, remove the resource to prevent a naming conflict with future restores.
|
||||||
Reference in New Issue
Block a user