Skip to content
Snippets Groups Projects
Commit a2564fe9 authored by Mattia Harlacher's avatar Mattia Harlacher
Browse files

Update file Tag 9.md

parent c8fd64d3
Branches main
No related tags found
No related merge requests found
......@@ -106,15 +106,24 @@ kubectl get deployments
kubectl get pods
```
Prüfe den Status des Services:
```bash
kubectl get svc mongo-service
```
Das zeigt dir die NodePort-Nummer, über die MongoDB von außerhalb des Clusters erreichbar ist.
# MongoDB Compass - Verbindung zu MongoDB herstellen
## Kompass Download
Den Kompass kann man ganz leicht wie jedes andere Programm Herunterladen.
Die Rescouren bekommt man von der Offiziellen MongoDB seite:
Windows:
https://downloads.mongodb.com/compass/mongodb-compass-1.45.4-win32-x64.exe
Mac:
https://downloads.mongodb.com/compass/mongodb-compass-1.45.4-darwin-arm64.dmg
Linux:
https://downloads.mongodb.com/compass/mongodb-compass_1.45.4_amd64.deb
Falls man das selbst anschauen möchte oder andere Systeme hat kann man diese hier holen:
https://www.mongodb.com/try/download/compass
## MongoDB Verbindung aufbauen
Um mit MongoDB Compass eine Verbindung zu deiner MongoDB-Instanz auf Kubernetes herzustellen, benötigst du folgende Informationen:
......@@ -144,7 +153,8 @@ mongodb://localhost:<NodePort>
## Verbindung in MongoDB Compass herstellen
1. Öffne MongoDB Compass.
2. Gib unter Hostname `localhost` ein.
3. Gib unter Port den NodePort ein (z.B. `30007`).
4. Falls Authentifizierung aktiviert ist, gib Benutzername und Passwort ein.
5. Klicke auf **Connect**, um die Verbindung herzustellen.
2. Erstelle eine neue Verbindung
3. Gib unter Hostname `localhost` ein.
4. Gib unter Port den NodePort ein (z.B. `30007`).
5. Falls Authentifizierung aktiviert ist, gib Benutzername und Passwort ein.
6. Klicke auf **Connect**, um die Verbindung herzustellen.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment