Codes

This Category is the pool for all codes.

Codes, Kubernetes, Website-related

Master the Art of Observability with Kubernetes Monitoring

Introduction: Why Kubernetes Monitoring Matters Kubernetes has emerged as one of the most powerful and widely adopted tools for managing containerized applications at scale. Its ability to orchestrate complex workloads, automate deployments, and handle failovers has transformed how organizations build and run cloud-native applications. However, while Kubernetes offers immense flexibility and power, it also introduces […]

GitLab, GitLab Installation

Install GitLab

This page is the first step for GitLab Step 1: Install Git 1-For Linux (Ubuntu/Debian-based)sudo apt update && sudo apt install git -y 1-For macOSbrew install git # If you don’t have Homebrew, install it first: /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) 2-Once installed, check the version to confirm:git –version Step 2: Configure Gitgit config –global

Codes, Synchronization

DownSync the Folders

Check the directories(source-destination)Check the directories(target-destination) First, take a backup of the destionation files with. -zip -r files ‘folder name put date) ‘the folder’s name’ First, take a backup of the source files with.-zip -r files ‘folder name put date) ‘the folder’s name’ Rsync -avc  source path /. Space / target path/ Make sure to replace

Codes, Synchronization

Code Sync

Code sync if you want code sync Duplicate the target branch Go to repo settings Cancel the protection on the main repo Delete it Go to main branch Ducplicate the main branch as the target branch Bingo – successful code sync

Codes, GitLab

GitLab CLI Commands

In GITLAB CLI (From local terminal) • for create a new branch : – git checkout -b • for delete an existing branch in local : -git branch -d • for delete an existing branch in REMOTE : git push origin –delete “branch name” See Branches Create a Branch Delete a Branch Switch Branches Synchronize Branches

Scroll to Top