1.
ls: List directory contents2.
cd: Change directory3.
pwd: Print working directory4.
mkdir: Create a directory5.
touch: Create a file6.
cp: Copy files and directories7.
mv: Move or rename files and directories8.
rm: Remove files and directories9.
find: Search for files and directories10.
grep: Search for patterns in files11.
cat: Concatenate and display files12.
less: View file contents page by page13.
head: Display the first lines of a file14.
tail: Display the last lines of a file15.
vi/vim: Text editor16.
nano: Text editor17.
tar: Archive and compress files18.
gzip: Compress files19.
gunzip: Decompress files20.
wget: Download files from the web21.
curl: Transfer data to or from a server22.
ssh: Secure shell remote login23.
scp: Securely copy files between hosts24.
chmod: Change file permissions25.
chown: Change file ownership26.
chgrp: Change group ownership27.
ps: Display running processes28.
top: Monitor system resources and processes29.
kill: Terminate processes30.
df: Display disk space usage31.
du: Estimate file and directory space usage32.
free: Display memory usage33.
uname: Print system information34.
ifconfig: Configure network interfaces35.
ping: Test network connectivity36.
netstat: Network statistics37.
iptables: Firewall administration38.
systemctl: Manage system services39.
journalctl: Query the system journal40.
crontab: Schedule cron jobs41.
useradd: Create a user account42.
passwd: Change user password43.
su: Switch user44.
sudo: Execute a command as another user45.
usermod: Modify user account46.
groupadd: Create a group47.
groupmod: Modify a group48.
id: Print user and group information49.
ssh-keygen: Generate SSH key pairs50.
rsync: Synchronize files and directories51.
diff: Compare files line by line52.
patch: Apply a patch to files53.
tar: Extract files from an archive54.
curl: Perform HTTP requests55.
nc: Netcat - networking utility56.
wget: Download files from the web57.
whois: Lookup domain registration details58.
dig: DNS lookup utility59.
sed: Stream editor for text manipulation60.
awk: Pattern scanning and processing language61.
sort: Sort lines in a text file62.
cut: Extract sections from lines of files63.
wc: Word, line, character, and byte count64.
tee: Redirect output to multiple files or commands65.
history: Command history66.
source: Execute commands from a file in the current shell67.
alias: Create command aliases68.
ln: Create links between files69.
uname: Print system information70.
lsof: List open files and processes71.
mkfs: Create a file system72.
mount: Mount a file system73.
umount: Unmount a file system74.
ssh-agent: Manage SSH keys in memory75.
grep: Search for patterns in files76.
tr: Translate characters77.
cut: Select portions of lines from files78.
paste: Merge lines of files79.
uniq: Report or omit repeated linesPlease open Telegram to view this post
VIEW IN TELEGRAM
The diagram below shows 4 ways to expose a Service.
In Kubernetes, a Service is a method for exposing a network application in the cluster. We use a Service to make that set of Pods available on the network so that users can interact with it.
There are 4 types of Kubernetes services: ClusterIP, NodePort, LoadBalancer and ExternalName. The “type” property in the Service's specification determines how the service is exposed to the network.
Please open Telegram to view this post
VIEW IN TELEGRAM
kubectl get pods --all-namespaces --watch-only | grep -v 'Running'Ever needed to keep an eye on pods that need to be fixed?
Use this live-monitoring kubectl command to watch for real-time updates and immediately identify pods that may need your attention. It filters out the static noise of all the 'Running' pods, so you can focus on the ones that are transitioning states or experiencing issues.
This trick is a lifesaver for Kubernetes administrators who need to ensure high availability and swift issue resolution.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hello Everyone 👋 ,
For those considering a switch to DevOps, here are some basic tips to help you get started:
🔢 . Familiarize Yourself with DevOps Tools:
Understand the purpose of different DevOps tools such as Jenkins, Ansible, Docker, Kubernetes, Git, and more. Each tool serves a specific function in the DevOps pipeline.
🔢 . Grasp the DevOps Workflow:
Gain a solid understanding of the DevOps lifecycle, from development and testing to deployment and monitoring. Know the roles and responsibilities at each stage.
🔢 . Scripting Skills are Crucial:
Command at least one scripting language, like Bash or Python. While you don't need to be a hardcore developer, scripting is vital for automation tasks.
🔢 . Adaptability is Key:
DevOps is a dynamic field, and tasks can vary widely. Be ready to adapt to new challenges regularly. It's not uncommon to face different issues deploying the same code in different environments, so a problem-solving mindset is crucial.
🔢 . Basic Networking Knowledge:
Understand fundamental networking concepts. DevOps often involves working with various systems and networks, so a basic understanding will be beneficial.
🔢 . Proficiency in a Cloud Platform:
Be proficient in at least one cloud platform (e.g., AWS, Azure, GCP). Cloud services are integral to modern DevOps practices, and knowing your way around a cloud environment is essential.
🔢 . Focus on Proficiency with One Tool Initially:
DevOps encompasses a variety of tools that may serve similar purposes. Instead of trying to learn multiple tools for the same task right away, focus on mastering one tool first.Start by learning the basics and becoming proficient in one tool before exploring others.
🔢 . Stay curious:
explore new technologies, and engage with the DevOps community to enhance your skills.
Best of luck on your DevOps journey!🙂
✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
For those considering a switch to DevOps, here are some basic tips to help you get started:
Understand the purpose of different DevOps tools such as Jenkins, Ansible, Docker, Kubernetes, Git, and more. Each tool serves a specific function in the DevOps pipeline.
Gain a solid understanding of the DevOps lifecycle, from development and testing to deployment and monitoring. Know the roles and responsibilities at each stage.
Command at least one scripting language, like Bash or Python. While you don't need to be a hardcore developer, scripting is vital for automation tasks.
DevOps is a dynamic field, and tasks can vary widely. Be ready to adapt to new challenges regularly. It's not uncommon to face different issues deploying the same code in different environments, so a problem-solving mindset is crucial.
Understand fundamental networking concepts. DevOps often involves working with various systems and networks, so a basic understanding will be beneficial.
Be proficient in at least one cloud platform (e.g., AWS, Azure, GCP). Cloud services are integral to modern DevOps practices, and knowing your way around a cloud environment is essential.
DevOps encompasses a variety of tools that may serve similar purposes. Instead of trying to learn multiple tools for the same task right away, focus on mastering one tool first.Start by learning the basics and becoming proficient in one tool before exploring others.
explore new technologies, and engage with the DevOps community to enhance your skills.
Best of luck on your DevOps journey!
Please open Telegram to view this post
VIEW IN TELEGRAM
Want to elevate your dev game and collaborate like a pro? Mastering Git is key! Whether you're a coding newbie or a seasoned developer, these amazing FREE resources will help you unleash the power of version control.
Gamified learning and challenges make mastering Git commands addictive!
Get hands-on with interactive diagrams and conquer the branching/merging beast!
Official courses and tutorials straight from the Git masters!
The ultimate Git reference guide. Dive deep and become a Git guru!
Clear and concise explanations for Git newbies and veterans alike.
Comprehensive documentation and resources for all things Git and GitHub.
Entertaining video crash course for quick Git starters!
Fast and effective Codecademy tutorial. Get going in a flash!
Join the vibrant Git community for discussions, tips, and troubleshooting.
Please open Telegram to view this post
VIEW IN TELEGRAM
Discover how your Kubernetes nodes utilize resources and make sure they're not over-committed with our next command of the day.
kubectl describe nodes | grep -A2 -e "^\\s*CPU Requests" -e "^\\s*CPU Limits" -e "^\\s*Memory Requests" -e "^\\s*Memory Limits"
This command will:
- Use 'kubectl describe nodes' to get detailed information about each node.
- Pipe this information to grep.
- Use '-A2' to include the two lines following the match, giving context for the requests and limits.
- Search for patterns related to CPU and Memory requests and limits, which are crucial for understanding the resource allocation and utilization on each node
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Hello #devops People
𝟭. 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 & 𝗕𝗮𝗱𝗴𝗲𝘀 𝗦𝗵𝗼𝘄𝗰𝗮𝘀𝗲
Give your resume a visual boost with badges for certifications!
𝟮. 𝗧𝗼𝗼𝗹𝘀 & 𝗧𝗲𝗰𝗵𝗻𝗼𝗹𝗼𝗴𝗶𝗲𝘀 𝗩𝗶𝘀𝗶𝗯𝗶𝗹𝗶𝘁𝘆
Don't be shy about your tech stack!
𝟯. 𝗪𝗼𝗿𝗸 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲 𝗛𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁𝘀
In the Work Experience section, be crystal clear about your impact!
𝟰. 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗦𝗵𝗼𝘄𝗰𝗮𝘀𝗲
Bring your projects into the limelight!
Project: Automatic Deployments
Organization: XYZ Corp
Tools & Tech Used: Jenkins, Docker, Kubernetes
Role: DevOps Engineer
Responsibilities: Automated deployment processes, ensuring zero downtime
Tasks: Streamlined CI/CD pipelines, implemented containerization
𝟱. 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 & 𝗔𝘄𝗮𝗿𝗱𝘀 𝗦𝗲𝗰𝘁𝗶𝗼𝗻
Create a dedicated space for certifications and awards!
𝟲. 𝗤𝘂𝗮𝗹𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 𝗦𝗻𝗮𝗽𝘀𝗵𝗼𝘁
Summarize your qualifications for a quick overview!
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
_________________
docker run - run a container from an image
docker pull - pull an image from a registry
docker push - push an image to a registry
docker build - build an image from a Dockerfile
docker ps - list running containers
docker stop - stop a running container
docker start - start a stopped container
docker restart - restart a container
docker logs - show the logs of a container
docker exec - execute a command inside a running container
docker images - list available images
docker rm - remove a container
docker rmi - remove an image
docker inspect - show information about a container
docker network create - create a network for containers to communicate
docker network connect - connect a container to a network
docker network disconnect - disconnect a container from a network
docker port - show the mapped ports of a container
docker cp - copy files between a container and the host
docker commit - create a new image from a container's changes
docker login - log in to a registry
docker logout - log out of a registry
docker tag - tag an image with a new name
docker export - export the contents of a container as a tar archive
docker import - create a new image from a tar archive
docker save - save an image as a tar archive
docker load - load an image from a tar archive
docker top - show the processes running inside a container
docker stats - show resource usage statistics of containers
docker diff - show the changes made to a container's filesystem
docker events - show the events generated by Docker
docker history - show the history of an image
docker pause - pause a running container
docker unpause - unpause a paused container
docker kill - send a signal to a container to stop it abruptly
docker wait - wait for a container to exit and return its exit code
docker attach - attach to a running container's console
docker buildx - build and push multi-platform images
docker compose - manage multi-container applications with Docker Compose
docker swarm - create and manage a cluster of Docker nodes
docker volume create - create a named volume for persistent data storage
docker volume ls - list available volumes
docker volume rm - remove a named volume
docker system prune - remove all unused objects from Docker
docker system df - show the usage of Docker objects
docker system events - show the events generated by Docker on the system
docker system info - show the system-wide information about Docker
docker system inspect - show detailed information about Docker objects
docker system logs - show the system logs of Docker
docker system version - show the version of Docker installed on the system
Please open Telegram to view this post
VIEW IN TELEGRAM
Don't overwhelm to learn Git,🙄
Git is this much only👇 😊
1️⃣ . Core:
• git init
• git clone
• git add
• git commit
• git status
• git diff
• git checkout
• git reset
• git log
• git show
• git tag
• git push
• git pull
2️⃣ . Branching:
• git branch
• git checkout -b
• git merge
• git rebase
• git branch --set-upstream-to
• git branch --unset-upstream
• git cherry-pick
3️⃣ . Merging:
• git merge
• git rebase
4️⃣ . Stashing:
• git stash
• git stash pop
• git stash list
• git stash apply
• git stash drop
5️⃣ . Remotes:
• git remote
• git remote add
• git remote remove
• git fetch
• git pull
• git push
• git clone --mirror
6️⃣ . Configuration:
• git config
• git global config
• git reset config
7️⃣ . Plumbing:
• git cat-file
• git checkout-index
• git commit-tree
• git diff-tree
• git for-each-ref
• git hash-object
• git ls-files
• git ls-remote
• git merge-tree
• git read-tree
• git rev-parse
• git show-branch
• git show-ref
• git symbolic-ref
• git tag --list
• git update-ref
8️⃣ . Porcelain:
• git blame
• git bisect
• git checkout
• git commit
• git diff
• git fetch
• git grep
• git log
• git merge
• git push
• git rebase
• git reset
• git show
• git tag
9️⃣ . Alias:
• git config --global alias.<alias> <command>
1️⃣ 0️⃣ . Hook:
• git config --local core.hooksPath <path>
1️⃣ 1️⃣ .Experimental: (May not be fully Supported)
• git annex
• git am
• git cherry-pick --upstream
• git describe
• git format-patch
• git fsck
• git gc
• git help
• git log --merges
• git log --oneline
• git log --pretty=
• git log --short-commit
• git log --stat
• git log --topo-order
• git merge-ours
• git merge-recursive
• git merge-subtree
• git mergetool
• git mktag
• git mv
• git patch-id
• git p4
• git prune
• git pull --rebase
• git push --mirror
• git push --tags
• git reflog
• git replace
• git reset --hard
• git reset --mixed
• git revert
• git rm
• git show-branch
• git show-ref
• git show-ref --heads
• git show-ref --tags
• git stash save
• git subtree
• git tag --delete
• git tag --force
• git tag --sign
• git tag -f
• git tag -l
• git tag --verify
• git unpack-file
• git update-index
• git verify-pack
• git worktree
-------- 🔚 🔚 --------
♥️ Credits: @NotHarshhaa ✅
❤️ Follow for more: @prodevopsguy
Git is this much only
• git init
• git clone
• git add
• git commit
• git status
• git diff
• git checkout
• git reset
• git log
• git show
• git tag
• git push
• git pull
• git branch
• git checkout -b
• git merge
• git rebase
• git branch --set-upstream-to
• git branch --unset-upstream
• git cherry-pick
• git merge
• git rebase
• git stash
• git stash pop
• git stash list
• git stash apply
• git stash drop
• git remote
• git remote add
• git remote remove
• git fetch
• git pull
• git push
• git clone --mirror
• git config
• git global config
• git reset config
• git cat-file
• git checkout-index
• git commit-tree
• git diff-tree
• git for-each-ref
• git hash-object
• git ls-files
• git ls-remote
• git merge-tree
• git read-tree
• git rev-parse
• git show-branch
• git show-ref
• git symbolic-ref
• git tag --list
• git update-ref
• git blame
• git bisect
• git checkout
• git commit
• git diff
• git fetch
• git grep
• git log
• git merge
• git push
• git rebase
• git reset
• git show
• git tag
• git config --global alias.<alias> <command>
• git config --local core.hooksPath <path>
• git annex
• git am
• git cherry-pick --upstream
• git describe
• git format-patch
• git fsck
• git gc
• git help
• git log --merges
• git log --oneline
• git log --pretty=
• git log --short-commit
• git log --stat
• git log --topo-order
• git merge-ours
• git merge-recursive
• git merge-subtree
• git mergetool
• git mktag
• git mv
• git patch-id
• git p4
• git prune
• git pull --rebase
• git push --mirror
• git push --tags
• git reflog
• git replace
• git reset --hard
• git reset --mixed
• git revert
• git rm
• git show-branch
• git show-ref
• git show-ref --heads
• git show-ref --tags
• git stash save
• git subtree
• git tag --delete
• git tag --force
• git tag --sign
• git tag -f
• git tag -l
• git tag --verify
• git unpack-file
• git update-index
• git verify-pack
• git worktree
-------- 🔚 🔚 --------
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
kubectl command:kubectl top pods -n your-namespace --selector=app=your-app-label --sort-by=memoryQuickly identify which pods are consuming the most memory in your namespace and take action. Great for on-the-spot resource optimization and ensuring your applications are as lean as possible.
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps.pdf
1.2 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
kubectl describe pod <pod-name> -n <namespace> | grep -A5 "Events:"Struggling with a misbehaving pod? Zero in on the root cause with this handy command. It extracts the 'Events' section from the pod's description, providing a concise view of scheduling failures or container crashes.
Please open Telegram to view this post
VIEW IN TELEGRAM
K8 Documentation.pdf
360.3 KB
Hey #DevOps People, Here is a documentation covering the most important topics in kubernetes with examples.
• 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀
• 𝗞𝗲𝘆 𝗰𝗼𝗻𝗰𝗲𝗽𝘁𝘀
• 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝘁𝗰𝘂𝗿𝗲
• 𝗪𝗼𝗿𝗸𝗳𝗹𝗼𝘄
• 𝗕𝗲𝗻𝗲𝗳𝗶𝘁𝘀
• 𝗠𝗮𝘀𝘁𝗲𝗿 𝗻𝗼𝗱𝗲 𝗶𝗻 𝗱𝗲𝘁𝗮𝗶𝗹 𝘄𝗶𝘁𝗵 𝗽𝗿𝗼𝗰𝗰𝗲𝘀𝘀 𝗿𝘂𝗻𝗻𝗶𝗻𝗴 𝗼𝗻 𝗶𝘁
• 𝗪𝗼𝗿𝗸𝗲𝗿 𝗻𝗼𝗱𝗲 𝗶𝗻 𝗱𝗲𝘁𝗮𝗶𝗹 𝘄𝗶𝘁𝗵 𝗽𝗿𝗼𝗰𝗰𝗲𝘀𝘀 𝗿𝘂𝗻𝗻𝗶𝗻𝗴 𝗼𝗻 𝗶𝘁
• 𝗛𝗶𝗴𝗵-𝗟𝗲𝘃𝗲𝗹 𝗘𝘅𝗮𝗺𝗽𝗹𝗲 𝗪𝗼𝗿𝗸𝗳𝗹𝗼𝘄
• 𝗗𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁
• 𝗦𝗲𝗿𝘃𝗶𝗰𝗲
• 𝗦𝗲𝗰𝗿𝗲𝘁𝘀
• 𝗖𝗼𝗻𝗳𝗶𝗴𝗠𝗮𝗽
• 𝗜𝗻𝗴𝗿𝗲𝘀𝘀
• 𝗦𝗲𝗿𝘃𝗶𝗰𝗲 𝗧𝘆𝗽𝗲𝘀
• 𝗦𝗲𝘁𝘂𝗽 𝗞𝟴 𝗖𝗹𝘂𝘀𝘁𝗲𝗿
• 𝗦𝗲𝘁𝘁𝗶𝗻𝗴 𝗨𝗽 𝗮 𝗠𝘂𝗹𝘁𝗶-𝗡𝗼𝗱𝗲 𝗖𝗹𝘂𝘀𝘁𝗲𝗿 (𝗳𝗼𝗿 𝗣𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻)
• 𝗠𝗼𝘀𝘁 𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁 𝗞𝟴 𝗖𝗼𝗺𝗺𝗮𝗻𝗱𝘀 𝘄𝗶𝘁𝗵 𝗲𝘅𝗮𝗺𝗽𝗹𝗲𝘀
• 𝗘𝗿𝗿𝗼𝗿𝘀 𝗶𝗻 𝗞𝟴 & 𝗵𝗼𝘄 𝘁𝗼 𝘁𝗿𝗼𝘂𝗯𝗹𝗲𝘀𝗵𝗼𝗼𝘁 𝘁𝗵𝗲𝗺
Please open Telegram to view this post
VIEW IN TELEGRAM
Jira: Agile project management tool aiding project management, workflows, and bug tracking.
Git: Open-source version control system facilitating collaboration and nonlinear workflows. GitHub extends its collaborative features.
Jenkins: Java-based, open-source tool supporting CI and CD with customizable workflows, easy installation, and numerous plugins.
Selenium: Open-source automated testing framework supporting web app automation across multiple browsers and OS.
Bamboo: Server-based tool tightly integrated with Jira, excelling in complex build plans and parallel testing.
Docker (container management): Packages and executes distributed apps, encouraging collaboration via Docker Hub.
Ansible (configuration management): Automates configuration management and infrastructure orchestration.
Jira Service Management: Centralizes feedback from diverse sources for improved communication.
Parlor: Engages with users to collect real-time contextual insights, integrating with various business tools.
Prometheus: Open-source performance monitoring database enabling robust reporting and visualization.
Opsgenie: Manages incidents, predicts and resolves service disruptions, integrates with various monitoring and communication tools, ensuring appropriate notifications and automated escalations for critical issues.
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps is a rapidly growing field that combines software development and operations, enabling organizations to deliver high-quality software at a faster pace. So, let's explore the key skills you need to master on your journey to becoming a DevOps Engineer:
Cloud platforms like AWS, Azure, and GCP are revolutionizing the IT landscape.
Remember, becoming a DevOps Engineer is an ongoing journey. Stay curious, keep learning, and embrace new technologies and practices as they emerge. Engage in open-source projects, attend conferences, and connect with fellow professionals to expand your network and stay up-to-date.
Please open Telegram to view this post
VIEW IN TELEGRAM
https://harshhaa.hashnode.dev/devsecops-deploying-the-2048-game-on-docker-and-kubernetes-with-jenkins-cicd
Follow🍩 Like 👍 Share 👍 Comment Your thoughts 💬
🌟 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Follow
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps Roadmap with Resources!.pdf
13.8 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM