Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
M347 Portfolio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattia Harlacher
M347 Portfolio
Commits
a2564fe9
Commit
a2564fe9
authored
2 weeks ago
by
Mattia Harlacher
Browse files
Options
Downloads
Patches
Plain Diff
Update file Tag 9.md
parent
c8fd64d3
Branches
main
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tag 9 KW 13/Tag 9.md
+20
-10
20 additions, 10 deletions
Tag 9 KW 13/Tag 9.md
with
20 additions
and
10 deletions
Tag 9 KW 13/Tag 9.md
+
20
−
10
View file @
a2564fe9
...
...
@@ -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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment