Posts

How to push local files/folder on remote github repository using gitbash

 # Go to your project folder cd /path/to/project # Initialize Git git init # Add remote GitHub repository git remote add origin https://github.com/username/repository.git # Add all files to staging git add . # Commit the files git commit -m "Initial commit" # Set branch name to main git branch -M main # Push to GitHub git push -u origin main

kubectl minikube deploying ubuntu using docker

 # to install kubernet based on docker  https://minikube.sigs.k8s.io/docs/drivers/docker/ | Step | Command                        | Purpose                         | | ---- | ------------------------------ | ------------------------------- | | 1    | `sudo systemctl status docker` | Check Docker service            | | 2    | `sudo systemctl enable docker` | Enable Docker at boot           | | 3    | `sudo systemctl start docker`  | Start immediately               | | 4    | `sudo reboot`                  | Test if it starts automatically | $ pgrep -a docker  $ minikube stop; $ minikube start --driver=docker --memory=2000mb $ kubectl create deployment ubuntu-fun -...