Skip to content

Commit 5c06b73

Browse files
authored
Update MONGO_DB_CLEAN.MD
Update port, and upload image in clean mongo db .MD
1 parent a34243b commit 5c06b73

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/MONGO_DB_CLEAN.MD

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
To clean up the database locally there are two options:
55
Remove the "database" folder contained in mongodb with the solution stopeed.
66

7-
![plot](./imgs/mongodb/folderdelete.PNG)
7+
![folderdelete](https://user-images.githubusercontent.com/101176997/221573975-4058ac7a-e5e5-4f31-8892-2c59dc705f93.PNG)
8+
89

910
Use the delete endpoint in swagger which deletes the alerts collection.
1011

@@ -44,6 +45,7 @@ Use the delete endpoint in swagger which deletes the alerts collection.
4445
4546
3. Create a tunnel with the alerts-api pod using kubectl command:
4647
47-
kubectl port-forward svc/alerts-api 8080:80 -n mec-accelerator
48+
kubectl port-forward svc/alerts-api 8080:8080 -n mec-accelerator
4849
49-
4. Clean the alerts collection using the delete endpoint.
50+
4. Clean the alerts collection using the delete endpoint.
51+
![image](https://user-images.githubusercontent.com/101176997/221573798-a8037d50-3e2c-49f9-8cce-e3b65c2321b1.png)

0 commit comments

Comments
 (0)