1_9CvhrnA6Fg1LTmMjr3n3Kg.gif
1.2 MB
If you’re into DevOps, Kubernetes, or CI/CD Pipelines, this is for you!
Check out the repo, explore the code, and feel free to reach out if you have any questions. Let's discuss and collaborate!🙌
📣 Note: Fork this Repository🧑💻 for upcoming future projects, Every week releases new Project.
Please open Telegram to view this post
VIEW IN TELEGRAM
Cloud computing is revolutionizing the tech industry, and if you’re an aspiring Cloud Engineer, mastering these key skills will help you stay ahead! Let’s break it down:
Please open Telegram to view this post
VIEW IN TELEGRAM
To demonstrate Blue-Green deployment, we’ll use AWS ECS to host our Swiggy-clone application. ECS is a highly scalable container orchestration service provided by AWS.
AWS CodePipeline is a fully managed continuous integration and continuous delivery (CI/CD) service that automates the build, test, and deployment phases of your release process. Let’s see how to set up a Blue-Green deployment pipeline using AWS CodePipeline:
📣 Note: Fork this Repository🧑💻 for upcoming future projects, Every week releases new Project.
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced
Cracking a DevOps interview can be challenging for both freshers and experienced engineers. This...
Struggling to prepare for your DevOps interview?
Check out my latest in-depth guide: "How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced"
- Essential DevOps skills & tools
- Common interview questions with expert tips
- Hands-on preparation strategies to land your dream job
Please open Telegram to view this post
VIEW IN TELEGRAM
13 𝐦𝐨𝐬𝐭 𝐜𝐨𝐦𝐦𝐨𝐧𝐥𝐲 𝐮𝐬𝐞𝐝 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐟𝐨𝐫 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 🎯
Here are 13 of the most commonly used kubectl commands for managing a real production Kubernetes environment, along with explanations and common use cases:
✅ 𝐂𝐨𝐫𝐞 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭
#1 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐠𝐞𝐭
→
→
→
→
#2 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐬𝐜𝐫𝐢𝐛𝐞
→
→
#3 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐜𝐫𝐞𝐚𝐭𝐞
→ kubectl create -f my-deployment.yaml
#4 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐚𝐩𝐩𝐥𝐲
→
#5 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐥𝐞𝐭𝐞
→
→
✅ Debugging and Troubleshooting
#6 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐥𝐨𝐠𝐬
→
→
#7 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐞𝐜
→
#8 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐩𝐨𝐫𝐭-𝐟𝐨𝐫𝐰𝐚𝐫𝐝
→
#9 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐭𝐨𝐩
→
→
#10 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐩𝐥𝐚𝐢𝐧
→
→
✅ Managing Workloads
#11 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐫𝐨𝐥𝐥𝐨𝐮𝐭
→
→
#12 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐬𝐜𝐚𝐥𝐞
→
#13 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐝𝐢𝐭
→
⚡️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Here are 13 of the most commonly used kubectl commands for managing a real production Kubernetes environment, along with explanations and common use cases:
#1 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐠𝐞𝐭
→
kubectl get pods (list pods)→
kubectl get deployments (list deployments)→
kubectl get services (list services)→
kubectl get all (list most resources in a namespace)#2 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐬𝐜𝐫𝐢𝐛𝐞
→
kubectl describe pod my-pod→
kubectl describe node my-node#3 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐜𝐫𝐞𝐚𝐭𝐞
→ kubectl create -f my-deployment.yaml
#4 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐚𝐩𝐩𝐥𝐲
→
kubectl apply -f my-deployment.yaml (apply a deployment definition)#5 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐥𝐞𝐭𝐞
→
kubectl delete pod my-pod→
kubectl delete service my-service#6 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐥𝐨𝐠𝐬
→
kubectl logs my-pod→
kubectl logs my-pod -c my-container (specify a container)#7 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐞𝐜
→
kubectl exec -it my-pod -- bash (interactive shell)#8 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐩𝐨𝐫𝐭-𝐟𝐨𝐫𝐰𝐚𝐫𝐝
→
kubectl port-forward my-pod 8080:80#9 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐭𝐨𝐩
→
kubectl top pod (pod resource usage) →
kubectl top node (node resource usage)#10 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐩𝐥𝐚𝐢𝐧
→
kubectl explain pod →
kubectl explain pod.spec (more specific)#11 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐫𝐨𝐥𝐥𝐨𝐮𝐭
→
kubectl rollout status deployment/my-deployment →
kubectl rollout undo deployment/my-deployment
#12 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐬𝐜𝐚𝐥𝐞
→
kubectl scale deployment/my-deployment --replicas=5#13 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐝𝐢𝐭
→
kubectl edit deployment my-deploymentPlease open Telegram to view this post
VIEW IN TELEGRAM
1712476913889.gif
171.8 KB
𝟏 . 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧.
----------------------------------------------------------------------------------
𝟐. 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭
----------------------------------------------------------------------------------
Please open Telegram to view this post
VIEW IN TELEGRAM
A Dockerfile is essentially a set of instructions that Docker follows to build a Docker image. These instructions specify what operating system to use, what software packages to install, what files to copy into the container, what environment variables to set, and what commands to run when the container starts.
Please open Telegram to view this post
VIEW IN TELEGRAM
The right tools make teams more productive, applications more resilient, and organizations more innovative.
Here are some of the most impactful DevOps tools I recommend learning in
I aim to provide actionable insights on leading tools so you can advance your skills efficiently.
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are the main Azure CLI command groups:
1. Account
-
-
-
-
-
2. AD
-
-
-
-
-
3. Advisor
-
-
4. Aks
-
-
-
-
-
-
-
-
-
5. Api
-
-
-
-
-
-
6. Appconfig
-
-
-
-
-
-
7. Appservice
-
-
-
-
-
-
8. Backup
-
-
-
-
-
-
-
-
9. Batch
-
-
-
-
-
-
-
10. Billing
-
-
-
-
-
-
-
...and many more! You can use
Some other commonly used Azure CLI commands include:
-
-
-
-
-
📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
1. Account
-
az account-
az account clear-
az account list-
az account show-
az account set2. AD
-
az ad-
az ad app-
az ad group-
az ad sp-
az ad user3. Advisor
-
az advisor-
az advisor recommendation4. Aks
-
az aks-
az aks browse-
az aks create-
az aks delete-
az aks get-credentials-
az aks list-
az aks scale-
az aks show-
az aks update5. Api
-
az api-
az api create-
az api delete-
az api list-
az api show-
az api update6. Appconfig
-
az appconfig-
az appconfig create-
az appconfig delete-
az appconfig list-
az appconfig show-
az appconfig update7. Appservice
-
az appservice-
az appservice create-
az appservice delete-
az appservice list-
az appservice show-
az appservice update8. Backup
-
az backup-
az backup container-
az backup item-
az backup job-
az backup policy-
az backup protected-item-
az backup recovery-point-
az backup vault9. Batch
-
az batch-
az batch account-
az batch application-
az batch certificate-
az batch job-
az batch node-
az batch pool10. Billing
-
az billing-
az billing account-
az billing enrollment-account-
az billing invoice-
az billing period-
az billing profile-
az billing subscription...and many more! You can use
az --help to explore more command groups and commands.Some other commonly used Azure CLI commands include:
-
az group: Manage resource groups-
az resource: Manage resources-
az storage: Manage storage accounts-
az vm: Manage virtual machines-
az network: Manage network resourcesRemember to use az --help to get more information about each command and its usagePlease open Telegram to view this post
VIEW IN TELEGRAM
- All Kubernetes Content
- Kubernetes Realtime scenarios
- All Kubernetes Exercises with solutions
- No More AWS PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Kubernetes Tricks & Techniques for DevOps guy
- Added Certified Kubernetes Administrator (CKA) Notes
- All Kubernetes Realtime examples included
Please open Telegram to view this post
VIEW IN TELEGRAM
Docker 🐬 & Containers All End-to-End Content 2024 ❤️
⚡️ This Includes:
- All Docker-Containers Content
- Docker Realtime scenarios
- All Docker Exercises with solutions
- No More Docker PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Docker file examples for DevOps Engineer
📱 Link : https://github.com/NotHarshhaa/into-the-devops/tree/master/topics/containers
📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
- All Docker-Containers Content
- Docker Realtime scenarios
- All Docker Exercises with solutions
- No More Docker PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Docker file examples for DevOps Engineer
Please open Telegram to view this post
VIEW IN TELEGRAM
- All Git/GitHub Content with use cases
- Git Realtime scenarios
- All Git/GitHub Exercises with solutions
- No More Git PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Git/GitHub Branching Strategies for DevOps guy
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
In this article, we will explain how to create and manage the public and private subnets using terraform and create instance in the desired subnet.
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
Mastering GitHub Actions for DevOps Engineers: A Complete Guide from Beginner to Advanced
GitHub Actions has revolutionized how developers and DevOps engineers automate workflows, enabling...
Are you ready to level up your DevOps skills with GitHub Actions? Whether you're a beginner or an experienced engineer, this comprehensive guide has everything you need to know about automating CI/CD pipelines, integrating with popular DevOps tools, and optimizing workflows.
👨💻 This guide is packed with practical tips and examples to help you master GitHub Actions!
Please open Telegram to view this post
VIEW IN TELEGRAM
ReplicaSet and Deployment are both Kubernetes resources used for managing and scaling application instances, but they serve different purposes and have distinct features:
It is a lower-level controller in Kubernetes.
It does not support declarative updates or rollback strategies.
It is often used directly only in advanced scenarios where finer control over scaling and updates is required.
It is a higher-level abstraction built on top of ReplicaSets.
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are some commonly used Splunk commands:
1.
search: The primary command for searching data in Splunk. Use it to retrieve events based on specific criteria.2.
index: Specifies the index from which to retrieve data. You can filter data by index using this command.3.
source: Filters events based on the source of the data (e.g., log files, network streams).4.
sourcetype: Filters events based on the type of data source (e.g., Apache logs, Windows Event Logs).5.
eval: Creates calculated fields or modifies existing fields. Useful for creating custom fields or transforming data.6.
stats: Aggregates and summarizes data. You can use it to calculate counts, averages, and other statistics.7.
timechart: Generates time-based charts and visualizations. Useful for trend analysis and identifying patterns over time.8.
rex: Extracts fields using regular expressions. Helpful when dealing with unstructured data.9.
dedup: Removes duplicate events based on specified fields.10.
transaction: Groups related events into transactions. Useful for analyzing multi-step processes.11.
top: Identifies the top values for a specific field (e.g., top IP addresses, top error codes).12.
lookup: Enriches events by joining them with external lookup tables (e.g., mapping IP addresses to geolocation data).Remember that these commands are just a starting point. Depending on your use case, you might need to explore additional commands and features. Happy Splunking!🚀 🔍
For more detailed information, check out the Splunk Cheat Sheet and the Splunk Quick Reference Guide[1][2].
Please open Telegram to view this post
VIEW IN TELEGRAM
1.
top / htop : Monitor real-time system resource usage (CPU, memory, etc.).2.
ps aux : Display currently running processes.3.
free -h : Check memory usage.4.
df -h : View disk space usage.5.
du -sh /path/to/directory : Check the size of a specific directory.6.
uptime : See how long the system has been running and load average.7.
iostat : Monitor system input/output device loading.8.
sar : Collect, report, or save system activity information.1.
ifconfig / ip a : Display network interfaces and IP addresses.2.
ping <host> : Check connectivity to a remote host.3.
traceroute <host> : Trace the path packets take to a network host.4.
netstat -tuln / ss -tuln : List open ports and services.5.
nslookup <domain> / dig <domain> : Query DNS records.6.
wget <url> : Download files from the web.1.
journalctl : View system logs (Linux).2.
syslog-ng : Configure system logging.3.
tcpdump : Capture network traffic.4.
strace : Debug system calls.5.
lsof : List open files and network connections.1. Identify symptoms.
2. Gather logs and system info.
3. Analyze data.
4. Isolate issues.
5. Apply fixes.
1. Regularly monitor system performance.
2. Implement logging and alerting.
3. Document troubleshooting processes.
4. Continuously learn new tools and techniques.
Please open Telegram to view this post
VIEW IN TELEGRAM
Dive into the world of AWS DevOps and transform your cloud infrastructure with cutting-edge tools and practices. Here's what you need to know:
1. AWS CodePipeline: Automate your release pipelines with ease.
2. AWS CodeBuild: Scalable build service to compile your source code, run tests, and produce software packages.
3. AWS CodeDeploy: Automate code deployments to any instance, be it EC2 or on-premises.
4. AWS CodeCommit: Secure and scalable source control service to host Git repositories.
- Amazon CloudWatch: Monitor and log your AWS resources and applications.
- AWS X-Ray: Trace and debug applications built using a microservices architecture.
- AWS Identity and Access Management (IAM): Fine-grained access control for users and services.
- AWS Key Management Service (KMS): Create and manage cryptographic keys securely.
- Integrate with Jenkins, GitHub Actions, or GitLab CI for streamlined CI/CD workflows.
- AWS Elastic Beanstalk: Quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure.
- AWS Auto Scaling: Ensure your application scales automatically to meet demand.
- AWS CloudFormation: Model and set up your AWS resources using code.
- Utilize AWS Global Infrastructure for deploying your applications across multiple regions.
Stay tuned for more insights and tips on leveraging AWS DevOps to boost your cloud efficiency and productivity. Happy DevOps-ing!🤖 💻
Please open Telegram to view this post
VIEW IN TELEGRAM
1728623046131.gif
833.8 KB
- 𝑷𝒖𝒔𝒉: Send your local commits to the remote repo.
- 𝑷𝒖𝒍𝒍: Grab the latest changes from remote. It's actually fetch + merge in one go.
- 𝑭𝒆𝒕𝒄𝒉: Download changes, but don't apply them yet.
- 𝑴𝒆𝒓𝒈𝒆: Combine those fetched changes with your work.
Please open Telegram to view this post
VIEW IN TELEGRAM