Skip to content

Instantly share code, notes, and snippets.

View guptaashwanee's full-sized avatar
🚀
Future Generation Explorer 🔮

Ashwanee Kumar Gupta guptaashwanee

🚀
Future Generation Explorer 🔮
View GitHub Profile
@guptaashwanee
guptaashwanee / Install MongoDB Kubernetes Operator.md
Created January 9, 2025 08:42
Install MongoDB Kubernetes Operator

MongoDB Kubernetes Operator Installation Using Helm

This guide walks you through the steps to install the MongoDB Kubernetes Operator in a specific namespace using Helm.


Prerequisites

  • Kubernetes Cluster: Ensure you have access to a running Kubernetes cluster.
  • Helm: Make sure Helm is installed. If not, you can install it following the Helm Installation Guide.
@guptaashwanee
guptaashwanee / mongoDump.md
Last active July 5, 2024 04:20
Creata a mongo dump from running docker instance and restore again

Mongo Dump

docker ps
docker exec <container_id_or_name> mongodump --username <username> --password <password> --authenticationDatabase <auth_db> --out /backup
docker cp :/backup ./backup
@guptaashwanee
guptaashwanee / installDocker.sh
Created July 3, 2023 05:07
Docker Installation Script
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg