_________________
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
Please open Telegram to view this post
VIEW IN TELEGRAM
Let's celebrate this blissful, cheerful, colourful New Year
May the New Year bring positivity, joy, and new opportunities into our professional lives
Please open Telegram to view this post
VIEW IN TELEGRAM
To secure this badge, simply enroll in the free course and score 80% or higher on the final assessment. It's a fantastic opportunity to demonstrate your cloud expertise without spending money.
There is not a single page that summarizes how to enroll to different AWS badges, so here you go (all up-to-date with links to the courses) including the latest 4 additions:
This path is created to build technical knowledge of Kubernetes and concepts and services with a focus on Amazon EKS.
This learning path helps you build knowledge to effectively use AWS Step Functions to model, build, and monitor a complex business process and to design event-driven architectures based in Amazon EventBridge in production systems.
This path is created to help build technical knowledge of AWS compute concepts and services with a focus on Amazon EC including how to balance cost and performance, available tools and components, how AWS Lambda works.
This path is created to help learn how to program quantum computers and explore their potential applications.
5. Migration Foundations: https://lnkd.in/g88Zsrn3
6. Networking Core: https://lnkd.in/gAeKA27u
7. Cloud Essentials: https://lnkd.in/gEMHQEtX
8. Architecting: https://lnkd.in/gYaAgXBM
9. AWS for Games: https://lnkd.in/g7a5Jjwi
10. Serverless: https://lnkd.in/gQavBp5K
11. Object Storage: https://lnkd.in/gAA_3q8U
12. Block Storage: https://lnkd.in/gEAApKty
13. File Storage: https://lnkd.in/gZHx6iUQ
Please open Telegram to view this post
VIEW IN TELEGRAM
kubectl get nodes --output=jsonpath='{range .items[*]}{.metadata.name}{"\t"}{range .status.conditions[*]}{.type}={.status}; {end}{"\n"}{end}'Imagine you're a detective with a magnifying glass, but instead of fingerprints, you're looking at the health of your Kubernetes nodes! This command is like your trusty magnifying glass, giving you the scoop on everything from Memory Pressure to the mysterious case of the Network Unavailable.
So, put on your detective hat, and let's keep those Kubernetes clusters as healthy as a fresh salad!
Please open Telegram to view this post
VIEW IN TELEGRAM
Jenkins is a popular automation server that can be used to automate the CI/CD pipeline. In this post we will learn how to use Jenkins to automate the following steps:
Jenkins can be used to automate the CI/CD pipeline for any type of application.
Here are some of the benefits of using Jenkins for CI/CD:
There are many different ways to create a CI/CD pipeline. One popular approach is to use a tool like Jenkins or CircleCI. These tools can help to automate the steps involved in building, testing, and deploying software applications.
Overall, Jenkins is a powerful tool that can help businesses to improve the speed, quality, and reliability of their software development process. By automating the build, test, and deployment process, Jenkins can help to free up developers to focus on more creative and strategic work.
Please open Telegram to view this post
VIEW IN TELEGRAM
End to End K8s notes .pdf
31.7 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
Kubernetes.pdf
8.3 MB
☸️ 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 (𝐊8𝐬) : 𝐌𝐚𝐬𝐭𝐞𝐫𝐢𝐧𝐠 𝐂𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫 𝐎𝐫𝐜𝐡𝐞𝐬𝐭𝐫𝐚𝐭𝐢𝐨𝐧 𝐟𝐨𝐫 𝐒𝐞𝐚𝐦𝐥𝐞𝐬𝐬 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭𝐬 🌐
Kubernetes, often referred to as K8s, is a game-changer in the world of containerized applications.
🔍 𝐊𝐞𝐲 𝐅𝐞𝐚𝐭𝐮𝐫𝐞𝐬 :
✅ 𝐎𝐫𝐜𝐡𝐞𝐬𝐭𝐫𝐚𝐭𝐢𝐨𝐧 : Seamlessly manage and scale containerized applications.
✅ 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐨𝐧 : Automate deployment, scaling, and operations for enhanced efficiency.
✅ 𝐅𝐥𝐞𝐱𝐢𝐛𝐢𝐥𝐢𝐭𝐲 : Run containers across various environments, be it on-premises, cloud, or hybrid.
✅ 𝐒𝐞𝐥𝐟-𝐡𝐞𝐚𝐥𝐢𝐧𝐠 : Auto-detect and replace failed containers, ensuring high availability.
✅ 𝐃𝐞𝐜𝐥𝐚𝐫𝐚𝐭𝐢𝐯𝐞 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 : Describe the desired state, and K8s takes care of the rest.
💡 𝐔𝐬𝐞 𝐂𝐚𝐬𝐞𝐬 :
🔢 𝐌𝐢𝐜𝐫𝐨𝐬𝐞𝐫𝐯𝐢𝐜𝐞𝐬 𝐀𝐫𝐜𝐡𝐢𝐭𝐞𝐜𝐭𝐮𝐫𝐞 : Perfect for deploying, managing, and scaling microservices.
🔢 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭 : Streamline and automate your CD pipeline for faster releases.
🔢 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞 𝐎𝐩𝐭𝐢𝐦𝐢𝐳𝐚𝐭𝐢𝐨𝐧 : Efficiently utilize resources, reducing infrastructure costs.
🔢 𝐒𝐜𝐚𝐥𝐚𝐛𝐢𝐥𝐢𝐭𝐲 : Seamlessly scale applications based on demand, ensuring optimal performance.
🔢 𝐌𝐮𝐥𝐭𝐢-𝐂𝐥𝐨𝐮𝐝 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭𝐬 : Run applications consistently across different cloud providers.
For an in-depth exploration of #kubernetes check out the document on the subject.
𝐃𝐢𝐬𝐜𝐥𝐚𝐢𝐦𝐞𝐫 : This document is intended solely for sharing tips and knowledge with fellow LinkedIn users. It is not intended for any copyright or commercial purposes. Let's learn and grow together! 💼🚀
🎄 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Kubernetes, often referred to as K8s, is a game-changer in the world of containerized applications.
For an in-depth exploration of #kubernetes check out the document on the subject.
𝐃𝐢𝐬𝐜𝐥𝐚𝐢𝐦𝐞𝐫 : This document is intended solely for sharing tips and knowledge with fellow LinkedIn users. It is not intended for any copyright or commercial purposes. Let's learn and grow together! 💼🚀
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps project.pdf
14.1 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
This
kubectl command provides a snapshot of the network policies affecting a particular podkubectl get networkpolicy --all-namespaces -o custom-columns='NAMESPACE:.metadata.namespace,NAME:.metadata.name,POD-SELECTOR:.spec.podSelector,INGRESS:.spec.ingress[*].from,EGRESS:.spec.egress[*].to'
This command lists all network policies across all namespaces in a custom column format. It’s useful for understanding how network traffic is controlled and which policies are applied to specific pods, aiding in both security audits and troubleshooting network issues.
Please open Telegram to view this post
VIEW IN TELEGRAM